mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-30 19:19:20 +01:00
15 lines
319 B
JavaScript
15 lines
319 B
JavaScript
window.bootstrap = function() {
|
|
angular.bootstrap(document, ['mean']);
|
|
};
|
|
|
|
window.init = function() {
|
|
window.bootstrap();
|
|
};
|
|
|
|
$(document).ready(function() {
|
|
//Fixing facebook bug with redirect
|
|
if (window.location.hash == "#_=_") window.location.hash = "";
|
|
|
|
//Then init the app
|
|
window.init();
|
|
}); |