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 // vim: et:ts=4:sw=4:sts=4:ft=javascript
'use strict';
pandora.UI = (function() { pandora.UI = (function() {

View file

@ -1,4 +1,5 @@
// vim: et:ts=4:sw=4:sts=4:ft=javascript // vim: et:ts=4:sw=4:sts=4:ft=javascript
'use strict';
pandora.ui.annotationDialog = function(layer) { pandora.ui.annotationDialog = function(layer) {
var $dialog = Ox.Dialog({ var $dialog = Ox.Dialog({

View file

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

View file

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

View file

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