JGonera has uploaded a new change for review.
https://gerrit.wikimedia.org/r/72753
Change subject: Fix JS errors reported by jshint 2.1.4
......................................................................
Fix JS errors reported by jshint 2.1.4
Change-Id: Ice92f6102e285d3f92d13d839589aa6a1924e666
---
M javascripts/modules/nearby/NearbyApi.js
M javascripts/widgets/carousel.js
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/53/72753/1
diff --git a/javascripts/modules/nearby/NearbyApi.js
b/javascripts/modules/nearby/NearbyApi.js
index 905c37e..2f49c10 100644
--- a/javascripts/modules/nearby/NearbyApi.js
+++ b/javascripts/modules/nearby/NearbyApi.js
@@ -103,7 +103,7 @@
page.anchor = 'item_' + i;
page.url = M.history.getArticleUrl(
page.title );
if ( page.coordinates ) { // FIXME:
protect against bug 47133 (remove when resolved)
- coords = page.coordinates[0],
+ coords = page.coordinates[0];
lngLat = { latitude:
coords.lat, longitude: coords.lon };
page.dist = calculateDistance(
location, lngLat );
page.latitude = coords.lat;
diff --git a/javascripts/widgets/carousel.js b/javascripts/widgets/carousel.js
index 240be95..00a21ea 100644
--- a/javascripts/widgets/carousel.js
+++ b/javascripts/widgets/carousel.js
@@ -49,7 +49,7 @@
}
this.showCurrentPage();
}
- } ),
+ } );
M.define( 'widgets/carousel', Carousel );
--
To view, visit https://gerrit.wikimedia.org/r/72753
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice92f6102e285d3f92d13d839589aa6a1924e666
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: JGonera <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits