summaryrefslogtreecommitdiff
path: root/js/common.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-03-08 16:47:50 +0300
committerAndrew Dolgov <[email protected]>2018-03-08 16:47:50 +0300
commitcfc197038ff9709cca3708e71f5d291ae7d54b0a (patch)
tree676962dd0c1bf642f97bb0ba11b21094815ad1fb /js/common.js
parent59ddd75559d9a31b9870fcda06fbb8d1abe4627b (diff)
js: enable strict mode
Diffstat (limited to 'js/common.js')
-rw-r--r--js/common.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/common.js b/js/common.js
index 9843c59..8367034 100644
--- a/js/common.js
+++ b/js/common.js
@@ -1,3 +1,5 @@
+'use strict';
+
$.urlParam = function(name){
try {
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);