MediaWiki:Common.js: Difference between revisions

From SkyCorp Global
Jump to navigation Jump to search
(asdfsdf)
(asdf)
Line 7: Line 7:
   })
   })
   .fail(function( jqxhr, settings, exception ) {
   .fail(function( jqxhr, settings, exception ) {
     console.log( "Triggered ajaxError handler." );
     console.log( "Triggered ajaxError handler:" + exception );
});
});
});
});

Revision as of 08:57, 8 February 2016

/* Any JavaScript here will be loaded for all users on every page load. */

$(document).ready(function() {
   $.getScript("/ageVerify/ageVerify.js")
  .done(function( script, textStatus ) {
    console.log( textStatus );
  })
  .fail(function( jqxhr, settings, exception ) {
    console.log( "Triggered ajaxError handler:" + exception );
});
});