Skip to content

Commit ff9d183

Browse files
Anand ThakkerLucas Wojciechowski
Anand Thakker
authored and
Lucas Wojciechowski
committed
Use more descriptive parameter name, mapId
1 parent d44854c commit ff9d183

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/style/style.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ Style.prototype = util.inherit(Evented, {
732732

733733
// Callbacks from web workers
734734

735-
'get sprite json': function(_, params, callback) {
735+
'get sprite json': function(mapId, params, callback) {
736736
var sprite = this.sprite;
737737
if (sprite.loaded()) {
738738
callback(null, { sprite: sprite.data, retina: sprite.retina });
@@ -743,7 +743,7 @@ Style.prototype = util.inherit(Evented, {
743743
}
744744
},
745745

746-
'get icons': function(_, params, callback) {
746+
'get icons': function(mapId, params, callback) {
747747
var sprite = this.sprite;
748748
var spriteAtlas = this.spriteAtlas;
749749
if (sprite.loaded()) {
@@ -757,7 +757,7 @@ Style.prototype = util.inherit(Evented, {
757757
}
758758
},
759759

760-
'get glyphs': function(_, params, callback) {
760+
'get glyphs': function(mapId, params, callback) {
761761
var stacks = params.stacks,
762762
remaining = Object.keys(stacks).length,
763763
allGlyphs = {};

0 commit comments

Comments
 (0)