Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 458d0a4

Browse files
committed
Fixing whitespaces
1 parent 280277a commit 458d0a4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.jshintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"curly": true,
1111
"eqeqeq": true,
1212
"immed": true,
13-
"latedef": true,
13+
"latedef": false,
1414
"maxdepth": 3,
1515
"maxlen": 120,
1616
"newcap": true,

extensions/wikia/WikiaInteractiveMaps/js/intMapPoiCategories.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ define('wikia.intMap.poiCategories',
66
'wikia.intMap.utils',
77
'wikia.intMap.poiCategories.model'
88
],
9-
function($, qs, w, utils, poiCategoriesModel) {
9+
function ($, qs, w, utils, poiCategoriesModel) {
1010
'use strict';
1111

1212
// reference to modal component
@@ -92,7 +92,7 @@ define('wikia.intMap.poiCategories',
9292
triggerMarkerUpload
9393
],
9494
beforeClose: [
95-
function (){
95+
function () {
9696
utils.onBeforeCloseModal(!changesSaved);
9797
}
9898
]
@@ -299,7 +299,7 @@ define('wikia.intMap.poiCategories',
299299

300300
/**
301301
* @desc adds POI category id to hidden field
302-
* @param poiCategoryId
302+
* @param {number} poiCategoryId
303303
*/
304304
function markPoiCategoryAsDeleted(poiCategoryId) {
305305
// add POI category id to hidden field
@@ -332,7 +332,7 @@ define('wikia.intMap.poiCategories',
332332
function saveMarkerImage(data, $inputElementWrapper) {
333333
$inputElementWrapper
334334
.find('.poi-category-marker-image-url')
335-
.val(data['fileThumbUrl']);
335+
.val(data.fileThumbUrl);
336336
}
337337

338338
/**
@@ -345,7 +345,7 @@ define('wikia.intMap.poiCategories',
345345
$inputElement.val('');
346346
$inputElementWrapper
347347
.find('.poi-category-marker-image')
348-
.attr('src', data['fileThumbUrl'])
348+
.attr('src', data.fileThumbUrl)
349349
.removeClass('hidden')
350350
.siblings('span')
351351
.addClass('hidden');

0 commit comments

Comments
 (0)