Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #500 from AnalyticalGraphicsInc/buildWidget

Produce a built version of CesiumViewerWidget.
  • Loading branch information...
commit aafd3a2a2b7942b59e0e759fc22c278aa0f2837f 2 parents 3ea1907 + 415df7b
@pjcozzi pjcozzi authored
View
4 Apps/CesiumViewer/CesiumViewer.js
@@ -1,7 +1,6 @@
/*global define*/
define([
'dojo/_base/window',
- 'dojo/dom',
'dojo/dom-class',
'dojo/io-query',
'dojo/parser',
@@ -10,7 +9,6 @@ define([
'Widgets/Dojo/CesiumViewerWidget'
], function(
win,
- dom,
domClass,
ioQuery,
parser,
@@ -34,7 +32,7 @@ define([
endUserOptions : endUserOptions,
enableDragDrop : true
});
- widget.placeAt(dom.byId('cesiumContainer'));
+ widget.placeAt('cesiumContainer');
widget.startup();
domClass.remove(win.body(), 'loading');
View
4 Apps/CesiumViewer/CesiumViewer.profile.js
@@ -18,6 +18,10 @@ var profile = {
'CesiumViewer/CesiumViewerStartup' : {
include : ['CesiumViewer/CesiumViewer', 'CesiumViewer/CesiumViewerStartup'],
copyright : 'Source/copyrightHeader.js'
+ },
+ 'Widgets/Dojo/CesiumViewerWidget' : {
+ include : ['Widgets/Dojo/CesiumViewerWidget'],
+ copyright : 'Source/copyrightHeader.js'
}
},
View
1  build.xml
@@ -327,6 +327,7 @@
<exclude name="*.html" />
<exclude name="*.ico" />
<exclude name="dojo/dojo.js" />
+ <exclude name="Widgets/Dojo/CesiumViewerWidget.js" />
<exclude name="${app.name}.js" />
<exclude name="${appStartupScript}" />
Please sign in to comment.
Something went wrong with that request. Please try again.