Merge pull request #11970 from owncloud/bower-handlebars

bower handlebars
This commit is contained in:
Thomas Müller 2014-11-05 16:50:58 +01:00
commit bf0ad7f219
4 changed files with 6 additions and 1 deletions

View File

@ -13,6 +13,7 @@
"tests"
],
"dependencies": {
"handlebars": "1.3.0",
"jquery": "~1.10.0",
"moment": "~2.8.3"
}

View File

@ -14,3 +14,7 @@ moment/*.md
jquery/**
!jquery/jquery*
!jquery/MIT-LICENSE.txt
# handlebars
handlebars/**
!handlebars/handlebars.js

View File

@ -25,7 +25,7 @@ OC_Util::checkAdminUser();
\OC::$server->getSession()->close();
// Load the files we need
\OCP\Util::addScript('handlebars-v1.3.0');
\OC_Util::addVendorScript('handlebars/handlebars');
\OCP\Util::addScript("settings", "settings");
\OCP\Util::addStyle("settings", "settings");
\OCP\Util::addScript('core', 'select2/select2');