From 473570c7010dccc59341013ef110a4fb4c79eb8c Mon Sep 17 00:00:00 2001 From: Thomas Hervey Date: Thu, 21 Jun 2018 10:14:18 -0400 Subject: [PATCH] updated: fixed services/notes function declarations --- modules/services/notes.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/services/notes.js b/modules/services/notes.js index beea5068f..1cec4c21e 100644 --- a/modules/services/notes.js +++ b/modules/services/notes.js @@ -247,7 +247,7 @@ export default { return oauth.authenticated(); }, - loadFromAPI(path, callback, options) { + loadFromAPI: function(path, callback, options) { options = _extend({ cache: true }, options); function done(err, xml) { @@ -273,7 +273,7 @@ export default { } }, - loadTile(which, currZoom, url, tile) { + loadTile: function(which, currZoom, url, tile) { var cache = _notesCache[which]; var bbox = tile.extent.toParam(); var fullUrl = url + bbox; @@ -304,7 +304,7 @@ export default { ); }, - loadTiles(which, url, projection) { + loadTiles: function(which, url, projection) { var that = this; var s = projection.scale() * 2 * Math.PI, currZoom = Math.floor(Math.max(Math.log(s) / Math.log(2) - 8, 0));