Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
green3g committed Feb 1, 2017
1 parent 50cc823 commit 9043663
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions viewer/js/config/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
'viewer/_ConfigMixin', // manage the Configuration
'viewer/_LayoutMixin', // build and manage the Page Layout and User Interface
'viewer/_MapMixin', // build and manage the Map
'viewer/_WidgetsMixin', // build and manage the Widgets
'viewer/_WidgetsMixin' // build and manage the Widgets

'viewer/_WebMapMixin' // for WebMaps
// 'viewer/_WebMapMixin' // for WebMaps
//'config/_customMixin'

], function (
Expand All @@ -43,9 +43,9 @@
_ConfigMixin,
_LayoutMixin,
_MapMixin,
_WidgetsMixin,
_WidgetsMixin

_WebMapMixin
// _WebMapMixin
//_MyCustomMixin

) {
Expand Down
3 changes: 1 addition & 2 deletions viewer/js/viewer/_MapMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ define([
}

// otherwise we can create the map
var returnWarnings = [];
var mapDeferred = new Deferred(),
container = dom.byId(this.config.layout.map) || 'mapCenter';

Expand All @@ -64,7 +63,7 @@ define([
// let some other mixins modify or add map items async
var wait = this.inherited(arguments);
if (wait) {
wait.then(function (warnings) {
wait.then(function () {
// are warnings passed?
// returnWarnings.push(warnings);
mapDeferred.resolve(returnWarnings);
Expand Down

0 comments on commit 9043663

Please sign in to comment.