summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-01-12 18:57:53 +0100
committerVincent Petry <pvince81@owncloud.com>2014-01-16 17:12:29 +0100
commit350214c6093bbd300102a364f20caa91d23d5fb9 (patch)
tree90ebee0447a2bd667f2afe18bc6f234e831db726 /lib
parent85e00ad35a63d2d728140f3ece685d79d7a6140c (diff)
downloadnextcloud-server-350214c6093bbd300102a364f20caa91d23d5fb9.tar.gz
nextcloud-server-350214c6093bbd300102a364f20caa91d23d5fb9.zip
Added Javascript unit tests
- added karma utility to run jasmine unit tests - added Sinon library (for stubs/mocks/fakeserver) - added a few unit tests for core and files - added autotest-js.sh script
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index f30575c7b12..89f72bd8970 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -293,6 +293,7 @@ class OC {
public static function initTemplateEngine() {
// Add the stuff we need always
+ // TODO: read from core/js/core.json
OC_Util::addScript("jquery-1.10.0.min");
OC_Util::addScript("jquery-migrate-1.2.1.min");
OC_Util::addScript("jquery-ui-1.10.0.custom");