add use strict to all js files

This commit is contained in:
j 2012-02-03 09:15:38 +00:00
parent 23d4afd9c0
commit 2ba561a03f
5 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,5 @@
// vim: et:ts=4:sw=4:sts=4:ft=javascript
'use strict';
pandora.UI = (function() {

View File

@ -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;
};
};

View File

@ -1,4 +1,5 @@
// vim: et:ts=4:sw=4:sts=4:ft=javascript
'use strict';
pandora.ui.item = function() {

View File

@ -1,4 +1,5 @@
// vim: et:ts=4:sw=4:sts=4:ft=javascript
'use strict';
pandora.ui.list = function() {
var that,

View File

@ -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',