diff --git a/static/js/pandora/UI.js b/static/js/pandora/UI.js index f820a0cac..8f309a8f6 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 135a7f9e3..0d16b8709 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 3cb5fd7f5..b6681c7e7 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 1aaed7efd..dc5c138a8 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 e6e0094bc..bfd9f6f51 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',