isolated script scope
This commit is contained in:
parent
76576ef297
commit
bf1bbfd141
@ -1,3 +1,4 @@
|
|||||||
|
(function(window, document, undefined) {
|
||||||
$.urlParam = function(name) {
|
$.urlParam = function(name) {
|
||||||
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
|
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
|
||||||
if (results === null) {
|
if (results === null) {
|
||||||
@ -300,3 +301,4 @@ function changeZoom(zoomLevel) {
|
|||||||
function toggleHelp(zoomLevel) {
|
function toggleHelp(zoomLevel) {
|
||||||
$help.toggleClass('active');
|
$help.toggleClass('active');
|
||||||
}
|
}
|
||||||
|
})(window, document);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user