Index: trunk/phase3/includes/resourceloader/ResourceLoaderFileModule.php |
— | — | @@ -142,10 +142,10 @@ |
143 | 143 | * @return {string} JavaScript code to be added to startup module |
144 | 144 | */ |
145 | 145 | public function getLoaderScript() { |
146 | | - if ( count( $this->loaders ) == 0 ) { |
| 146 | + if ( count( $this->loaderScripts ) == 0 ) { |
147 | 147 | return false; |
148 | 148 | } |
149 | | - return self::readScriptFiles( $this->loaders ); |
| 149 | + return self::readScriptFiles( $this->loaderScripts ); |
150 | 150 | } |
151 | 151 | |
152 | 152 | /** |