Create object mw.page in watch.js
[lhc/web/wiklou.git] / resources / src / mediawiki / page / watch.js
index 7d35cb7..6f52cbf 100644 (file)
        }
 
        // Expose public methods
-       mw.page.watch = {
-               updateWatchLink: updateWatchLink
+       mw.page = {
+               watch: {
+                       updateWatchLink: updateWatchLink
+               }
        };
 
        $( function () {