Fix some warnings from new uglify

This commit is contained in:
danzel
2013-04-15 10:11:49 +12:00
parent 7565031727
commit 6276021bd9
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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) {
+2 -2
View File
@@ -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();