From 534fb39e8971ec8880aadfce80c0f7eaf1811a3d Mon Sep 17 00:00:00 2001 From: Steve Heffernan Date: Thu, 12 Jan 2012 15:41:30 -0800 Subject: [PATCH 1/3] Removed event.layerX and layerY which weren't used and were throwing deprecation warnings. --- src/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events.js b/src/events.js index b85b0eace..247c529e5 100644 --- a/src/events.js +++ b/src/events.js @@ -288,7 +288,7 @@ _V_.Event.prototype = { isPropagationStopped: returnFalse, isImmediatePropagationStopped: returnFalse }; -_V_.Event.props = "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "); +_V_.Event.props = "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "); function returnTrue(){ return true; } function returnFalse(){ return false; } From a9c9722647737d2cca1a1834e5c2799723adedc4 Mon Sep 17 00:00:00 2001 From: Steve Heffernan Date: Thu, 12 Jan 2012 15:44:34 -0800 Subject: [PATCH 2/3] Bumping version to 3.0.5. --- VERSION.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION.yml b/VERSION.yml index a81052b08..9baa1ce65 100644 --- a/VERSION.yml +++ b/VERSION.yml @@ -1,4 +1,4 @@ --- major: 3 -patch: 4 +patch: 5 minor: 0 From d1824d7c28f6533ff01910ee617d381e3c3b4659 Mon Sep 17 00:00:00 2001 From: Steve Heffernan Date: Thu, 12 Jan 2012 15:44:51 -0800 Subject: [PATCH 3/3] Adding line to CHANGELOG: Removed deprecated event.layerX and layerY --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c64a1aa7f..3773533b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,3 +10,6 @@ CHANGELOG ---- 3.0.4 / 2012-01-12 / undefined-source-fix --------------------------------- * Fixing an undefined source when no sources exist on load + +---- 3.0.5 / 2012-01-12 / event-layer-x-deprecation-fix ------------------------ +* Removed deprecated event.layerX and layerY