Merge branch 'master' into gh-pages-master

This commit is contained in:
mourner 2012-07-28 14:03:13 +03:00
commit 61bbb8bae7
3 changed files with 9 additions and 3 deletions

5
dist/leaflet-src.js vendored
View File

@ -146,7 +146,10 @@ L.Util = {
var cancelFn = window.cancelAnimationFrame ||
getPrefixed('CancelAnimationFrame') ||
getPrefixed('CancelRequestAnimationFrame') || window.clearTimeout;
getPrefixed('CancelRequestAnimationFrame') ||
function (id) {
window.clearTimeout(id);
};
L.Util.requestAnimFrame = function (fn, context, immediate, element) {

2
dist/leaflet.js vendored

File diff suppressed because one or more lines are too long

View File

@ -120,7 +120,10 @@ L.Util = {
var cancelFn = window.cancelAnimationFrame ||
getPrefixed('CancelAnimationFrame') ||
getPrefixed('CancelRequestAnimationFrame') || window.clearTimeout;
getPrefixed('CancelRequestAnimationFrame') ||
function (id) {
window.clearTimeout(id);
};
L.Util.requestAnimFrame = function (fn, context, immediate, element) {