forked from 0x2620/pandora
add use strict to all js files
This commit is contained in:
parent
23d4afd9c0
commit
2ba561a03f
5 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
'use strict';
|
||||
|
||||
pandora.UI = (function() {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
'use strict';
|
||||
|
||||
pandora.ui.annotationDialog = function(layer) {
|
||||
var $dialog = Ox.Dialog({
|
||||
|
@ -40,4 +41,4 @@ pandora.ui.annotationDialog = function(layer) {
|
|||
title: Ox.toTitleCase(layer)
|
||||
});
|
||||
return $dialog;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
'use strict';
|
||||
|
||||
pandora.ui.item = function() {
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
'use strict';
|
||||
|
||||
pandora.ui.list = function() {
|
||||
var that,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
'use strict';
|
||||
pandora.ui.mainMenu = function() {
|
||||
|
||||
var isAdmin = pandora.user.level == 'admin',
|
||||
|
|
Loading…
Reference in a new issue