Skip to content

Commit

Permalink
fix(map): fix minor syntax and build
Browse files Browse the repository at this point in the history
  • Loading branch information
cynngah committed May 11, 2015
1 parent 00280aa commit f6d24de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/js/RAMP/Modules/eventManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ define([],
* @event RampMap.ADD_LAYER_READY
* @for RampMap
*/
ADD_LAYER_READY: 'map/add-layer-ready'
ADD_LAYER_READY: 'map/add-layer-ready',

/**
* Fires when map container is resized in any way
Expand Down
2 changes: 0 additions & 2 deletions src/js/RAMP/Modules/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,6 @@ define([
* @param {Object} map A ESRI map object
*/
function _initEventHandlers(map) {
map.on("load", _initScale);

map.on("extent-change", function (event) {
_updateScale(event);

Expand Down

0 comments on commit f6d24de

Please sign in to comment.