Remove jQuery dependency. Default to bootstrap components written in pure AngularJS.

This commit is contained in:
Jason Weaver
2013-10-16 14:21:17 -05:00
parent 2510ab53e7
commit c11b2b5f1c
3 changed files with 2 additions and 8 deletions

View File

@@ -1,8 +1,3 @@
script(type='text/javascript', src='/lib/jquery/jquery.js')
//Bootstrap
script(type='text/javascript', src='/lib/bootstrap-assets/js/bootstrap.js')
//AngularJS
script(type='text/javascript', src='/lib/angular/angular.js')
script(type='text/javascript', src='/lib/angular-cookies/angular-cookies.js')

View File

@@ -8,7 +8,6 @@
"angular-cookies": "~1.0.6",
"angular-bootstrap": "~0.4.0",
"angular-ui-utils": "0.0.4",
"json3": "~3.2.4",
"jquery": "~1.9.1"
"json3": "~3.2.4"
}
}

View File

@@ -6,7 +6,7 @@ window.init = function() {
window.bootstrap();
};
$(document).ready(function() {
angular.element(document).ready(function() {
//Fixing facebook bug with redirect
if (window.location.hash == "#_=_") window.location.hash = "";