mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
Fix some warnings from new uglify
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ exports.uglify = function (code) {
|
||||
};
|
||||
|
||||
exports.combineFiles = function (files) {
|
||||
var content = '(function (window, undefined) {\n\n',
|
||||
var content = '(function () {\n\n',
|
||||
i,
|
||||
len;
|
||||
for (i = 0, len = files.length; i < len; i += 1) {
|
||||
|
||||
@@ -355,8 +355,8 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
|
||||
|
||||
//Overrides FeatureGroup.onRemove
|
||||
onRemove: function (map) {
|
||||
this._map.off('zoomend', this._zoomEnd, this);
|
||||
this._map.off('moveend', this._moveEnd, this);
|
||||
map.off('zoomend', this._zoomEnd, this);
|
||||
map.off('moveend', this._moveEnd, this);
|
||||
|
||||
this._unbindEvents();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user