Add scripts to create myops-getqueryview:
[myops.git] / web / query / vendor / couchapp / _attachments / loader.js
diff --git a/web/query/vendor/couchapp/_attachments/loader.js b/web/query/vendor/couchapp/_attachments/loader.js
new file mode 100644 (file)
index 0000000..86b2ed7
--- /dev/null
@@ -0,0 +1,17 @@
+
+function couchapp_load(scripts) {
+  for (var i=0; i < scripts.length; i++) {
+    document.write('<script src="'+scripts[i]+'"><\/script>')
+  };
+};
+
+couchapp_load([
+  "/_utils/script/sha1.js",
+  "/_utils/script/json2.js",
+  "/_utils/script/jquery.js",
+  "/_utils/script/jquery.couch.js",
+  "vendor/couchapp/jquery.couch.app.js",
+  "vendor/couchapp/jquery.couch.app.util.js",
+  "vendor/couchapp/jquery.mustache.js",
+  "vendor/couchapp/jquery.evently.js"
+]);