diff options
author | Andrew Dolgov <[email protected]> | 2018-03-08 16:47:50 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-03-08 16:47:50 +0300 |
commit | cfc197038ff9709cca3708e71f5d291ae7d54b0a (patch) | |
tree | 676962dd0c1bf642f97bb0ba11b21094815ad1fb /js/common.js | |
parent | 59ddd75559d9a31b9870fcda06fbb8d1abe4627b (diff) |
js: enable strict mode
Diffstat (limited to 'js/common.js')
-rw-r--r-- | js/common.js | 2 |
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); |