Fixed jquery
This commit is contained in:
parent
214adefd94
commit
114ebce52f
2 changed files with 3 additions and 1 deletions
|
@ -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..."
|
||||
|
|
|
@ -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'));
|
Reference in a new issue