isolated script scope

This commit is contained in:
e7d 2016-11-11 10:01:18 +01:00
parent 76576ef297
commit bf1bbfd141

View File

@ -1,3 +1,4 @@
(function(window, document, undefined) {
$.urlParam = function(name) {
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
if (results === null) {
@ -300,3 +301,4 @@ function changeZoom(zoomLevel) {
function toggleHelp(zoomLevel) {
$help.toggleClass('active');
}
})(window, document);