update build

This commit is contained in:
Vladimir Agafonkin 2012-06-02 10:55:59 +03:00
parent 02c3e9b9f3
commit 53afad9041
3 changed files with 5 additions and 4 deletions

View File

@ -43,8 +43,8 @@ exports.uglify = function (code) {
var pro = uglifyjs.uglify;
var ast = uglifyjs.parser.parse(code);
ast = pro.ast_mangle(ast);
ast = pro.ast_squeeze(ast, {keep_comps: false});
ast = pro.ast_mangle(ast, {mangle: true});
ast = pro.ast_squeeze(ast);
ast = pro.ast_squeeze_more(ast);
return pro.gen_code(ast) + ';';
@ -53,7 +53,7 @@ exports.uglify = function (code) {
exports.combineFiles = function (files) {
var content = '(function () {\n\n';
for (var i = 0, len = files.length; i < len; i++) {
content += fs.readFileSync(files[i], 'utf8') + '\r\n\r\n';
content += fs.readFileSync(files[i], 'utf8') + '\n\n';
}
return content + '\n\n}());';
};

1
dist/leaflet-src.js vendored
View File

@ -5351,6 +5351,7 @@ L.Handler.PolyEdit = L.Handler.extend({
if (marker._middleRight) {
this._markerGroup.removeLayer(marker._middleRight);
}
this._markers.splice(i, 1);
this._poly.spliceLatLngs(i, 1);
this._updateIndexes(i, -1);
this._poly.fire('edit');

2
dist/leaflet.js vendored

File diff suppressed because one or more lines are too long