Index: trunk/phase3/resources/mediawiki/mediawiki.js |
— | — | @@ -648,7 +648,7 @@ |
649 | 649 | dependencies = resolve( dependencies ); |
650 | 650 | // If all dependencies are met, execute ready immediately |
651 | 651 | if ( filter( ['ready'], dependencies ).compare( dependencies ) ) { |
652 | | - if ( typeof ready !== 'function' ) { |
| 652 | + if ( typeof ready === 'function' ) { |
653 | 653 | ready(); |
654 | 654 | } |
655 | 655 | } |