diff --git a/static/js/pandora/UI.js b/static/js/pandora/UI.js index f820a0ca..8f309a8f 100644 --- a/static/js/pandora/UI.js +++ b/static/js/pandora/UI.js @@ -1,4 +1,5 @@ // vim: et:ts=4:sw=4:sts=4:ft=javascript +'use strict'; pandora.UI = (function() { diff --git a/static/js/pandora/annotationDialog.js b/static/js/pandora/annotationDialog.js index 135a7f9e..0d16b870 100644 --- a/static/js/pandora/annotationDialog.js +++ b/static/js/pandora/annotationDialog.js @@ -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; -}; \ No newline at end of file +}; diff --git a/static/js/pandora/item.js b/static/js/pandora/item.js index 3cb5fd7f..b6681c7e 100644 --- a/static/js/pandora/item.js +++ b/static/js/pandora/item.js @@ -1,4 +1,5 @@ // vim: et:ts=4:sw=4:sts=4:ft=javascript +'use strict'; pandora.ui.item = function() { diff --git a/static/js/pandora/list.js b/static/js/pandora/list.js index 1aaed7ef..dc5c138a 100644 --- a/static/js/pandora/list.js +++ b/static/js/pandora/list.js @@ -1,4 +1,5 @@ // vim: et:ts=4:sw=4:sts=4:ft=javascript +'use strict'; pandora.ui.list = function() { var that, diff --git a/static/js/pandora/menu.js b/static/js/pandora/menu.js index e6e0094b..bfd9f6f5 100644 --- a/static/js/pandora/menu.js +++ b/static/js/pandora/menu.js @@ -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',