mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Update AdminLTE
- from 2.4.5 to 2.4.18 (cannot detect any issues) - set default scancycle for Apple Devices to 1
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* jVectorMap version 2.0.4
|
||||
* jVectorMap version 1.2.2
|
||||
*
|
||||
* Copyright 2011-2014, Kirill Lebedev
|
||||
* Copyright 2011-2013, Kirill Lebedev
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
*/
|
||||
|
||||
(function( $ ){
|
||||
var apiParams = {
|
||||
set: {
|
||||
@@ -26,17 +26,18 @@
|
||||
$.fn.vectorMap = function(options) {
|
||||
var map,
|
||||
methodName,
|
||||
event,
|
||||
map = this.children('.jvectormap-container').data('mapObject');
|
||||
|
||||
if (options === 'addMap') {
|
||||
jvm.Map.maps[arguments[1]] = arguments[2];
|
||||
jvm.WorldMap.maps[arguments[1]] = arguments[2];
|
||||
} else if ((options === 'set' || options === 'get') && apiParams[options][arguments[1]]) {
|
||||
methodName = arguments[1].charAt(0).toUpperCase()+arguments[1].substr(1);
|
||||
return map[options+methodName].apply(map, Array.prototype.slice.call(arguments, 2));
|
||||
} else {
|
||||
options = options || {};
|
||||
options.container = this;
|
||||
map = new jvm.Map(options);
|
||||
map = new jvm.WorldMap(options);
|
||||
}
|
||||
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user