Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Remove jQuery dependency. Default to bootstrap components written in …
Browse files Browse the repository at this point in the history
…pure AngularJS.
  • Loading branch information
mrjasonweaver committed Oct 16, 2013
1 parent 2510ab5 commit c11b2b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
5 changes: 0 additions & 5 deletions app/views/includes/foot.jade
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
3 changes: 1 addition & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion public/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";

Expand Down

0 comments on commit c11b2b5

Please sign in to comment.