Skip to content

Commit

Permalink
Merge pull request #507 from openworm/development
Browse files Browse the repository at this point in the history
More fixes for production
  • Loading branch information
tarelli authored Oct 27, 2016
2 parents e5d918f + 5fd79cc commit 6a97b57
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 16 deletions.
5 changes: 3 additions & 2 deletions src/main/webapp/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
preserveLicenseComments: false,
paths: {
jquery :'vendor/jquery-1.9.1.min',
three: 'vendor/threeWrapper',
three: 'vendor/three.min',
d3 : 'vendor/d3.min',
codemirror :"vendor/codemirror.min",
underscore : 'vendor/underscore.min',
Expand Down Expand Up @@ -62,6 +62,7 @@
exports: 'Bloodhound'
}
},
wrapShim: true,
name : "main",
waitSeconds : 200,
})
})
4 changes: 2 additions & 2 deletions src/main/webapp/extensions/extensions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require(['json!../extensions/extensionsConfiguration.json', 'geppetto'], function(extensionConfiguration, GEPPETTO) {
require(['json!../extensions/extensionsConfiguration.json', 'geppetto','components/ComponentFactory'], function(extensionConfiguration, GEPPETTO) {

//Require your extension in extensionConfiguration.json
for (var extension in extensionConfiguration){
Expand All @@ -8,4 +8,4 @@ require(['json!../extensions/extensionsConfiguration.json', 'geppetto'], functio
});
}
}
});
});
2 changes: 1 addition & 1 deletion src/main/webapp/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ require.config({
*/
paths: {
jquery: "vendor/jquery-1.9.1.min",
three: 'vendor/threeWrapper',
three: 'vendor/three.min',
d3: 'vendor/d3.min',
codemirror: "vendor/codemirror.min",
handlebars: "vendor/handlebars",
Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/js/vendor/Detector.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ var Detector = {
}

};

window.Detector=Detector;
2 changes: 1 addition & 1 deletion src/main/webapp/js/vendor/THREEx.KeyboardState.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

/** @namespace */
var THREEx = THREEx || {};

window.THREEx=THREEx;
/**
* - NOTE: it would be quite easy to push event-driven too
* - microevent.js for events handling
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/js/vendor/three.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 10 additions & 9 deletions src/main/webapp/templates/geppetto.vm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<div id="modal-region"></div>
<div id="load-spinner"></div>

<div id="controls">
<div id="controls class="noSelection"">

<div id="SaveButton" class="row"></div>
<div id="HomeButton" class="row"></div>
Expand All @@ -79,23 +79,25 @@
</div>

<div id="mainContainer">
<div id="geppettologo" ></div>
<div id="spotlight" ></div>
<div id="controlpanel" ></div>
<div id="querybuilder" ></div>
<div id="sim"></div>
<div id="geppettologo" class="noSelection" ></div>
<div id="spotlight" class="hiddenStart" ></div>
<div id="controlpanel" class="hiddenStart" ></div>
<div id="querybuilder" class="hiddenStart" ></div>
<div id="sim" class="noSelection"></div>

<div id="footer">
<div id="footerHeader">
<div id="consoleButtonContainer">
<ul class="btn nav nav-tabs" role="tablist" id="tabButton">
<li role="presentation" class="active" id="consoleButton"><a href="#console" aria-controls="console" role="tab" data-toggle="tab"><i class="fa fa-terminal"></i> Console</a></li>
<li role="presentation" id="experimentsButton"><a href="#experiments" aria-controls="experiments" role="tab" data-toggle="tab"><i class="fa fa-flask"></i> Experiments</a></li>
<li role="presentation" id="experimentsButton" style="display:none"><a href="#experiments" aria-controls="experiments" role="tab" data-toggle="tab"><i class="fa fa-flask"></i> Experiments</a></li>
<li role="presentation" id="pythonConsoleButton" style="display:none"><a href="#pythonConsole" aria-controls="pythonConsole" role="tab" data-toggle="tab"><i class="fa fa-terminal"></i> Python</a></li>
</ul>

<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="console">Console Loading...</div>
<div role="tabpanel" id="experiments" class="tab-pane panel panel-default"></div>
<div role="tabpanel" id="pythonConsole" class="tab-pane panel panel-default"></div>
</div>
</div>

Expand Down Expand Up @@ -151,7 +153,6 @@
ga('send', 'pageview');
</script>

<noscript><a href="https://www.olark.com/site/3330-945-10-6280/contact" title="Contact us" id="contact" target="_blank">Questions? Feedback?</a> powered by <a href="http://www.olark.com?welcome" title="Olark live chat software">Olark live chat software</a></noscript>
<!-- end olark code -->

</body>
</html>

0 comments on commit 6a97b57

Please sign in to comment.