Whitespace, typo, jshint fixes

Change-Id: Ib22d9c4a75d1f9ce77a7db2a820dc6de9c680b09
This commit is contained in:
Santhosh Thottingal
2012-08-21 14:01:21 +05:30
committed by Amir E. Aharoni
parent 77515dd664
commit 5c6567adbc
2 changed files with 7 additions and 7 deletions

View File

@@ -32,7 +32,7 @@
ULSPreferences.prototype = { ULSPreferences.prototype = {
/** /**
* Initalize * Initialize
*/ */
init: function () { init: function () {
if ( this.isAnon ) { if ( this.isAnon ) {
@@ -88,8 +88,8 @@
api.post( { api.post( {
action: 'tokens', action: 'tokens',
type: 'options' type: 'options'
} ).done( function ( result ) { } ).done( function ( tokenresult ) {
var token = result.tokens.optionstoken; var token = tokenresult.tokens.optionstoken;
api.post( { api.post( {
action: 'options', action: 'options',
change: 'hideminor=1', change: 'hideminor=1',

View File

@@ -16,7 +16,7 @@
* @licence GNU General Public Licence 2.0 or later * @licence GNU General Public Licence 2.0 or later
* @licence MIT License * @licence MIT License
*/ */
( function ( $, mw ) { ( function ( $, mw, document, undefined ) {
"use strict"; "use strict";
$( document ).ready( function() { $( document ).ready( function() {
@@ -39,4 +39,4 @@
} }
} ); } );
} ); } );
} )( jQuery, mediaWiki ); } )( jQuery, mediaWiki, document );