Skip to content

Commit

Permalink
fix(startup): fix never ending map load
Browse files Browse the repository at this point in the history
fix map and data not loading in at startup
  • Loading branch information
Spencer Wahl authored and alyec committed May 12, 2015
1 parent ea8259b commit 79fdf66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/js/RAMP/Modules/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,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
4 changes: 2 additions & 2 deletions src/js/RAMP/bootstrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ require([

function (
/* Dojo */
parser, topic, requestScript, xhr,
esriConfig, esriUrlUtils, number, dom, domConstruct, query,
parser, topic, requestScript, xhr, number, dom, domConstruct, query,
esriConfig, esriUrlUtils,

/* RAMP */
RampMap, BasemapSelector, Maptips, Datagrid, NavWidget, FilterManager, ImageExport,
Expand Down

0 comments on commit 79fdf66

Please sign in to comment.