Commit Graph

2187 Commits

Author SHA1 Message Date
iirvine
84ad7db070 clearEventListeners -> clearAllListeners 2013-04-15 14:09:32 -07:00
iirvine
2d5bf783fe initial commit of #clearEventListeners 2013-04-15 14:09:32 -07:00
Vladimir Agafonkin
f25c983cbb Merge pull request #1594 from danzel/zoom-fixes
Fix touch zooming while zoom animation is playing. Fixes #1591 #1571
2013-04-15 13:27:01 -07:00
danzel
989d9b9763 Fix up brace position 2013-04-16 08:25:22 +12:00
Vladimir Agafonkin
49091c0257 Merge pull request #1598 from bpavot/webview-click-fix
Android webview fix : Use originalEvent when needed to find timestamp
2013-04-15 10:25:20 -07:00
bpavot
fd080abffc Android webview fix : Use originalEvent when needed to find timestamp 2013-04-15 11:53:29 +02:00
danzel
b0c70f96ad Update TouchZoomEmu with more crazy tests. Useful when debugging touch zoom behaviour 2013-04-15 11:54:43 +12:00
danzel
b36d973d14 Better fixes for touchzoom while zooming. If we got a touchmove and touchend in series before the animation frame for the touchmove fired then we'd get into a broken state. 2013-04-15 11:53:31 +12:00
danzel
633ae89b8e Fix touch zooming while zoom animation is playing. Fixes #1591 #1571 2013-04-15 09:57:47 +12:00
John Firebaugh
5925a43c2b Add .npmignore
Without a .npmignore, the default is to ignore what's in
.gitignore, which includes dist/*.js, which should not
be npm-ignored.
2013-04-14 13:22:58 -07:00
Vladimir Agafonkin
54b2887667 update build 2013-04-11 13:29:41 +03:00
Vladimir Agafonkin
b0fe4e5990 cleaner jshint config 2013-04-11 13:29:19 +03:00
Vladimir Agafonkin
c4dc595490 more strict jshinting, enforce single quotes and camelCase for consistency 2013-04-11 12:45:52 +03:00
Vladimir Agafonkin
c6cdd66e2d add map setZoomAround, merge #1582, close #1157 2013-04-11 12:07:07 +03:00
Ansis Brammanis
6c53aa6867 dblclicking now zooms around mouse, not centre 2013-04-10 17:09:31 -04:00
Vladimir Agafonkin
dea408ad59 Merge pull request #1581 from jfirebaugh/getLayerId
Permit layer stamping to be overridden
2013-04-10 09:59:41 -07:00
John Firebaugh
786faddc84 Permit layer stamping to be overridden 2013-04-10 12:28:27 -04:00
Vladimir Agafonkin
4b2495abbf Merge pull request #1579 from AndreyChizh/patch-1
MapAnimationZoom -> AnimationZoom
2013-04-09 05:15:42 -07:00
Andrey Chizh
6fc5da68f0 Update deps.js
In module TouchZoom in deps specified old module name "MapAnimationZoom". Should be "AnimationZoom".
2013-04-09 13:51:44 +03:00
Vladimir Agafonkin
3231f92c24 Merge pull request #1573 from jfirebaugh/prepublish
Add prepublish script to package.json
2013-04-08 13:48:00 -07:00
Vladimir Agafonkin
386bf68386 Merge pull request #1574 from tmcw/map-initialization-exception
Throw an exception if a map div is not found and test for initialization exceptions
2013-04-08 13:46:53 -07:00
Vladimir Agafonkin
ce96bd3d43 Merge pull request #1575 from cschwarz/patch-1
Fixed zoom out on Windows 8 with Firefox
2013-04-08 13:46:23 -07:00
Christian Schwarz
48bec16f49 Fixed zoom out on Windows 8 with Firefox
Firefox receives wheel delta of 0.33 on zoom in and -0.33 on zoom out, which turns into Math.ceil(0.33) == 1 and Math.round(-0.33) == 0. After this fix it returns correctly -1 for zooming out.
Worked fine before and after this fix in Chrome and Internet Explorer.
2013-04-08 23:33:53 +03:00
Tom MacWright
22810aacf7 Throw an exception if a map div is not found
and test for initialization exceptions
2013-04-08 12:28:27 -04:00
John Firebaugh
618bb4aa77 Add prepublish script to package.json
Also, npm scripts are run in an environment with node_module
binaries in the path, so just "jake test" and "jake" are sufficient.

https://npmjs.org/doc/scripts.html
2013-04-08 11:25:32 -04:00
Vladimir Agafonkin
892ed86fb3 Merge pull request #1572 from jfirebaugh/browserify
Compatibility with browserify
2013-04-08 08:02:30 -07:00
John Firebaugh
e6998948b1 Compatibility with browserify
In a browserify package, `this` will refer to a node-style
exports object, not window. So just reference `window`
directly.
2013-04-08 10:49:39 -04:00
Vladimir Agafonkin
60a906a239 switch to Node 0.10 for Travis 2013-04-05 12:51:40 +03:00
Vladimir Agafonkin
6009d4ae87 move phantomjs check for touch into Leaflet
to allow standalone mocha-phantomjs usage on the browser reporter
2013-04-05 12:32:19 +03:00
Vladimir Agafonkin
bde0692236 always show master branch image for Travis status 2013-04-05 12:08:25 +03:00
Vladimir Agafonkin
6c7316dfec fix coverage reporting in Karma #1479, close karma-runner/karma#461 2013-04-04 12:18:17 +03:00
Vladimir Agafonkin
8b9eb1bea1 Merge pull request #1479 from Leaflet/mocha
Mocha
2013-04-04 01:36:36 -07:00
John Firebaugh
81f21125d4 Update specs for mocha 2013-04-03 15:22:45 -07:00
John Firebaugh
a950e6873e Manage mocha dependency with npm; update to 1.9.0 2013-04-03 15:20:15 -07:00
John Firebaugh
a8ca5a2dbf Update mocha.js 2013-04-03 14:50:10 -07:00
Vladimir Agafonkin
80ba8d9054 remove testacular master hack (as 0.6 is now stable) 2013-04-03 14:50:10 -07:00
Tom MacWright
8691889d49 Proper default for delta 2013-04-03 14:50:10 -07:00
Tom MacWright
bf99fdb70e Tighter tolerance for point-near check 2013-04-03 14:50:10 -07:00
Tom MacWright
a3ab4b1095 Fix mercator tests, these are broken in Leaflet master. 2013-04-03 14:50:10 -07:00
Tom MacWright
a2f7d7e834 Use mocha 2013-04-03 14:50:09 -07:00
Vladimir Agafonkin
b84be89095 Merge pull request #1568 from jfirebaugh/karma
testacular -> karma
2013-04-03 14:38:15 -07:00
John Firebaugh
28daa9e9b1 testacular -> karma 2013-04-03 14:12:51 -07:00
Vladimir Agafonkin
c0d01ceffe remove testacular master hack (as 0.6 is now stable) 2013-04-03 14:12:13 -07:00
Vladimir Agafonkin
b51239a4b4 Merge pull request #1562 from AndreyChizh/patch-1
Module AnimationPan is defined as dependent on itself
2013-04-01 02:11:52 -07:00
Andrey Chizh
eafede40d4 Update deps.js
The description refers to the module dependency on itself
2013-04-01 12:01:16 +03:00
Vladimir Agafonkin
c247dfdb2c Merge pull request #1537 from dotCypress/master
Popup close button fix
2013-03-28 13:35:11 -07:00
Vladimir Agafonkin
0aed98f7d2 Merge pull request #1554 from olegsmith/master
Support functions in L.Util.template
2013-03-28 04:24:40 -07:00
Oleg Smith
ea926000f8 Strage behavior of inplace github editor 2013-03-28 15:23:03 +04:00
olegsmith
683642d7e4 Remove trailing whitespace in fix 2013-03-28 15:01:15 +04:00
Vladimir Agafonkin
28d047da74 update build again 2013-03-28 11:11:46 +02:00