Difference between revisions of "User:Abel/experimental.js"

From Wikibase Personal data
Jump to navigation Jump to search
m
m
Line 3: Line 3:
 
console.log("'⌣'");
 
console.log("'⌣'");
  
mw.loader.load( '//wiki.personaldata.io/w/index.php?title=User:Abel/wbprocessor.js&action=raw&ctype=text/javascript' );
+
mw.loader.using( '//wiki.personaldata.io/w/index.php?title=User:Abel/wbprocessor.js&action=raw&ctype=text/javascript' ).then( function () {
mw.loader.load( '//wiki.personaldata.io/w/index.php?title=User:Abel/personaldata.js&action=raw&ctype=text/javascript' );
 
mw.loader.load( '//wiki.personaldata.io/w/index.php?title=User:Abel/pdooui.js&action=raw&ctype=text/javascript' );
 
  
console.log("''");
+
  console.log('Wbprocessor active');
 +
 
 +
} );
 +
mw.loader.using( '//wiki.personaldata.io/w/index.php?title=User:Abel/personaldata.js&action=raw&ctype=text/javascript'  ).then( function () {
 +
 
 +
  console.log('Indexeddb active');
 +
 
 +
} );
 +
mw.loader.using( '//wiki.personaldata.io/w/index.php?title=User:Abel/pdooui.js&action=raw&ctype=text/javascript' ).then( function () {
 +
 
 +
  console.log('Indexeddb active');
 +
 
 +
} );

Revision as of 00:32, 14 May 2019

// License: GPL
// Experimental Main
console.log("'⌣'");

mw.loader.using( '//wiki.personaldata.io/w/index.php?title=User:Abel/wbprocessor.js&action=raw&ctype=text/javascript' ).then( function () {

  console.log('Wbprocessor active');

} );
mw.loader.using( '//wiki.personaldata.io/w/index.php?title=User:Abel/personaldata.js&action=raw&ctype=text/javascript'  ).then( function () {

  console.log('Indexeddb active');

} );
mw.loader.using( '//wiki.personaldata.io/w/index.php?title=User:Abel/pdooui.js&action=raw&ctype=text/javascript' ).then( function () {

  console.log('Indexeddb active');

} );