Use spaces inside of brackets in JavaScript

* For consistency
* For MediaWiki coding conventions

Change-Id: I625a8ce0119b1490073f048e1b8ad4e90762d6e2
This commit is contained in:
Fomafix
2016-02-15 13:31:45 +00:00
committed by [[mw:User:Fomafix]]
parent 63bc85649a
commit c329f1473d
7 changed files with 31 additions and 31 deletions

View File

@@ -61,7 +61,7 @@
if ( !data ) {
// Try to restore the old preferences, if any, if possible.
try {
data = JSON.parse( localStorage.getItem( 'jStorage' ) )['uls-preferences'];
data = JSON.parse( localStorage.getItem( 'jStorage' ) )[ 'uls-preferences' ];
// And try to remove it.
localStorage.removeItem( 'jStorage' );
} catch ( e ) {
@@ -122,7 +122,7 @@
* @param value
*/
set: function ( key, value ) {
this.preferences[key] = value;
this.preferences[ key ] = value;
},
/**
@@ -131,7 +131,7 @@
* @param key
*/
get: function ( key ) {
return this.preferences[key];
return this.preferences[ key ];
},
/**