Add 'var' before some global js vars

This commit is contained in:
Bart Visscher 2012-09-05 22:22:04 +02:00
parent 9329af921d
commit a8de0af273
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
/** /**
* this class to ease the usage of jquery dialogs * this class to ease the usage of jquery dialogs
*/ */
OCdialogs = { var OCdialogs = {
/** /**
* displays alert dialog * displays alert dialog
* @param text content of dialog * @param text content of dialog

View File

@ -1,4 +1,4 @@
OCCategories={ var OCCategories={
edit:function(){ edit:function(){
if(OCCategories.app == undefined) { if(OCCategories.app == undefined) {
OC.dialogs.alert('OCCategories.app is not set!'); OC.dialogs.alert('OCCategories.app is not set!');

View File

@ -4,7 +4,7 @@
* See the COPYING-README file. * See the COPYING-README file.
*/ */
UserList={ var UserList={
useUndo:true, useUndo:true,
/** /**