User:Zabshk/common.js: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 40: | Line 40: | ||
}; |
}; |
||
jQuery.getJSON( mw.util.wikiScript( 'api' ), globalrequest, function( |
jQuery.getJSON( mw.util.wikiScript( 'api' ), globalrequest, function(global) { |
||
jQuery(document).ready(function() { |
jQuery(document).ready(function() { |
||
if ( |
if (global) { |
||
⚫ | |||
var global = result; |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
}); |
}); |
||
}); |
}); |
||
⚫ | |||
jQuery(document).ready(function() { |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}); |
|||
}, |
}, |
||
showResults: function(data, gdata) { |
showResults: function(data, gdata) { |