Hygiene: Dont quote object property keys

Change-Id: I93d669a26f85b4eb5c5e0e06e314b89894f12385
This commit is contained in:
Erik Bernhardson 2014-09-12 16:00:07 -07:00
parent 4ff74ddd50
commit 8ee843fab5

View file

@ -63,12 +63,12 @@
notifications, data, container, $li, that = this, unread = [], apiData;
apiData = {
'action' : 'query',
'meta' : 'notifications',
'notformat' : 'html',
'notprop' : 'index|list',
'notcontinue': this.notcontinue,
'notlimit': mw.config.get( 'wgEchoDisplayNum' ),
action : 'query',
meta : 'notifications',
notformat : 'html',
notprop : 'index|list',
notcontinue: this.notcontinue,
notlimit: mw.config.get( 'wgEchoDisplayNum' ),
uselang: useLang
};
@ -128,9 +128,9 @@
api = new mw.Api(), that = this;
api.post( {
'action' : 'echomarkread',
'list' : unread.join( '|' ),
'token': mw.user.tokens.get( 'editToken' ),
action : 'echomarkread',
list : unread.join( '|' ),
token: mw.user.tokens.get( 'editToken' ),
uselang: useLang
} ).done( function ( result ) {
// update the badge if the link is enabled