Index: branches/resourceloader/phase3/resources/mw/mw.js |
— | — | @@ -2,14 +2,14 @@ |
3 | 3 | * Core MediaWiki JavaScript Library |
4 | 4 | */ |
5 | 5 | |
6 | | -window.mw = new ( function() { |
| 6 | +window.mw = { |
7 | 7 | |
8 | 8 | /* Public Members */ |
9 | 9 | |
10 | 10 | /** |
11 | 11 | * Localization system |
12 | 12 | */ |
13 | | - this.msg = new ( function() { |
| 13 | + 'msg': new ( function() { |
14 | 14 | |
15 | 15 | /* Private Members */ |
16 | 16 | |
— | — | @@ -34,11 +34,11 @@ |
35 | 35 | return messages[key]; |
36 | 36 | } |
37 | 37 | }; |
38 | | - } )(); |
| 38 | + } )(), |
39 | 39 | /** |
40 | 40 | * Loader system |
41 | 41 | */ |
42 | | - this.loader = new ( function() { |
| 42 | + 'loader': new ( function() { |
43 | 43 | |
44 | 44 | /* Private Members */ |
45 | 45 | |
— | — | @@ -250,5 +250,5 @@ |
251 | 251 | work(); |
252 | 252 | } |
253 | 253 | }; |
254 | | - } )(); |
255 | | -} )(); |
| 254 | + } )() |
| 255 | +}; |