mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-08-05 01:50:47 +02:00
Remove jQuery dependency. Default to bootstrap components written in pure AngularJS.
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 = "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user