Permalink
Browse files

Update changelog and build

  • Loading branch information...
1 parent f36c278 commit 9707a4894e6333b48d2bcc41661b6a00f2ec54f6 @mourner mourner committed Feb 13, 2012
Showing with 18 additions and 13 deletions.
  1. +6 −1 CHANGELOG.md
  2. +10 −10 Jakefile.js
  3. +1 −1 dist/leaflet-src.js
  4. +1 −1 dist/leaflet.js
View
@@ -3,7 +3,11 @@ Leaflet Changelog
(all changes without author notice are by [@mourner](https://github.com/mourner))
-## 0.3 (master)
+## 0.4 (master)
+
+No changes from 0.3 so far.
+
+## 0.3 (13.02.2012)
### Major features
@@ -20,6 +24,7 @@ Leaflet Changelog
* Limited maximum zoom change on a single mouse wheel movement (so you won't zoom across the whole zoom range in one scroll). [#149](https://github.com/CloudMade/Leaflet/issues/149)
* Significantly improved line simplification performance (noticeable when rendering polylines/polygons with tens of thousands of points)
* Improved circles performance by not drawing them if they're off the clip region.
+ * Improved stability of zoom animation (less flickering of tiles).
#### API improvements
View
@@ -2,18 +2,18 @@ var build = require('./build/build.js'),
lint = require('./build/hint.js');
var crlf = '\r\n',
- COPYRIGHT = '/*' + crlf + ' Copyright (c) 2010-2011, CloudMade, Vladimir Agafonkin' + crlf +
+ COPYRIGHT = '/*' + crlf + ' Copyright (c) 2010-2012, CloudMade, Vladimir Agafonkin' + crlf +
' Leaflet is a modern open-source JavaScript library for interactive maps.' + crlf +
' http://leaflet.cloudmade.com' + crlf + '*/' + crlf;
desc('Check Leaflet source for errors with JSHint');
task('lint', function () {
var files = build.getFiles();
-
+
console.log('Checking for JS errors...');
-
+
var errorsFound = lint.jshint(files);
-
+
if (errorsFound > 0) {
console.log(errorsFound + ' error(s) found.\n');
fail();
@@ -32,26 +32,26 @@ task('build', ['lint'], function (compsBase32, buildName) {
console.log('Concatenating ' + files.length + ' files...');
var content = build.combineFiles(files);
-
+
var oldSrc = build.load(srcPath),
newSrc = COPYRIGHT + content,
srcDelta = build.getSizeDelta(newSrc, oldSrc);
-
+
console.log('\tUncompressed size: ' + newSrc.length + ' bytes (' + srcDelta + ')');
-
+
if (newSrc === oldSrc) {
console.log('\tNo changes');
} else {
build.save(srcPath, newSrc);
console.log('\tSaved to ' + srcPath);
}
-
+
console.log('Compressing...');
var oldCompressed = build.load(path),
newCompressed = COPYRIGHT + build.uglify(content),
delta = build.getSizeDelta(newCompressed, oldCompressed);
-
+
console.log('\tCompressed size: ' + newCompressed.length + ' bytes (' + delta + ')');
if (newCompressed === oldCompressed) {
@@ -62,4 +62,4 @@ task('build', ['lint'], function (compsBase32, buildName) {
}
});
-task('default', ['build']);
+task('default', ['build']);
View
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2010-2011, CloudMade, Vladimir Agafonkin
+ Copyright (c) 2010-2012, CloudMade, Vladimir Agafonkin
Leaflet is a modern open-source JavaScript library for interactive maps.
http://leaflet.cloudmade.com
*/
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 9707a48

Please sign in to comment.