summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-09-04 21:27:04 +0200
committerBart Visscher <bartv@thisnet.nl>2012-09-04 21:27:37 +0200
commitf188f6cc2fed10bdc78a34df95b898a770bcf506 (patch)
tree421f3bc1c68aef6a8a60ba2287a1a8c1fb1f7762 /core/js
parent41f135daeeff8ddb6914be786ebf4b90272b15b6 (diff)
downloadnextcloud-server-f188f6cc2fed10bdc78a34df95b898a770bcf506.tar.gz
nextcloud-server-f188f6cc2fed10bdc78a34df95b898a770bcf506.zip
Fix some jslint warnings
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 7ce349a2147..8b9ecd38dc2 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -4,6 +4,8 @@
* @param text the string to translate
* @return string
*/
+var OC;
+
function t(app,text){
if( !( app in t.cache )){
$.ajax(OC.filePath('core','ajax','translations.php'),{