summaryrefslogtreecommitdiff
path: root/javascript/bootstrap.js
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/bootstrap.js')
-rw-r--r--javascript/bootstrap.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/javascript/bootstrap.js b/javascript/bootstrap.js
deleted file mode 100644
index bb85a0d..0000000
--- a/javascript/bootstrap.js
+++ /dev/null
@@ -1,22 +0,0 @@
-function loadScript(url, callback){
-
- var script = document.createElement("script")
- script.type = "text/javascript";
-
- if (script.readyState){ //IE
- script.onreadystatechange = function(){
- if (script.readyState == "loaded" ||
- script.readyState == "complete"){
- script.onreadystatechange = null;
- callback();
- }
- };
- } else { //Others
- script.onload = function(){
- callback();
- };
- }
-
- script.src = url;
- document.getElementsByTagName("head")[0].appendChild(script);
-}