1
Fork 0

Fixed jquery

This commit is contained in:
Jake Howard 2015-11-03 18:40:12 +00:00
parent 214adefd94
commit 114ebce52f
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
set -e
echo ">> Building Libraries..."
# uglifyjs node_modules/jquery/dist/jquery.js --compress --screw-ie8 --define --stats --keep-fnames -o build/lib/jquery.js
uglifyjs node_modules/jquery/dist/jquery.js --compress --screw-ie8 --define --stats --keep-fnames -o build/lib/jquery.js
uglifyjs node_modules/bootstrap/dist/js/bootstrap.js --compress --screw-ie8 --define --stats --keep-fnames -o build/lib/bootstrap.js
echo ">> Building Application JS..."

View File

@ -2,5 +2,7 @@ var React = require('react');
var Home = require('./components/home');
var NavBar = require('./components/navbar');
window.$ = window.jQuery = window.require('./lib/jquery.js');
React.render(<NavBar />, document.getElementById('NavBarContainer'));
React.render(<Home />, document.getElementById('AppContainer'));