Index: trunk/extensions/Maps/Maps.hooks.php |
— | — | @@ -76,8 +76,9 @@ |
77 | 77 | |
78 | 78 | foreach ( $modules as $name => $resources ) { |
79 | 79 | $resourceLoader->register( $name, new ResourceLoaderFileModule( |
80 | | - array_merge_recursive( $resources, array( 'group' => 'ext.maps' ) ) |
81 | | - ), dirname( __FILE__ ), "$wgExtensionAssetsPath/Maps" ); |
| 80 | + array_merge_recursive( $resources, array( 'group' => 'ext.maps' ) ), |
| 81 | + dirname( __FILE__ ), "$wgExtensionAssetsPath/Maps" |
| 82 | + ) ); |
82 | 83 | } |
83 | 84 | |
84 | 85 | return true; |
Index: trunk/extensions/ClickTracking/ClickTracking.hooks.php |
— | — | @@ -86,7 +86,7 @@ |
87 | 87 | global $wgExtensionAssetsPath; |
88 | 88 | $localpath = dirname( __FILE__ ) . '/modules'; |
89 | 89 | $remotepath = "$wgExtensionAssetsPath/extensions/ClickTracking/modules"; |
90 | | - $resourceLoader->register( array( |
| 90 | + $resourceLoader->register( new ResourceLoaderFileModule( array( |
91 | 91 | 'jquery.clickTracking' => new ResourceLoaderFileModule( array( |
92 | 92 | 'scripts' => 'jquery.clickTracking.js', |
93 | 93 | 'dependencies' => 'jquery.cookie', |
— | — | @@ -100,7 +100,7 @@ |
101 | 101 | 'styles' => 'ext.clickTracking.special.css', |
102 | 102 | 'dependencies' => array( 'jquery.ui.datepicker', 'jquery.ui.dialog' ), |
103 | 103 | ) ), |
104 | | - ), $localpath, $remotepath ); |
| 104 | + ), $localpath, $remotepath ) ); |
105 | 105 | return true; |
106 | 106 | } |
107 | 107 | |