[Pkg-javascript-commits] [dojo] 17/88: Fixes #15892 !strict, using lang.delegate to change evt.target. also back ported to 1.8.x branch

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:39:32 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.8.5
in repository dojo.

commit 5393ee0403b2b4fac2ab90a371e8234ea6dbffb0
Author: Evan Huang <evanhuangwei at gmail.com>
Date:   Tue Sep 11 14:50:39 2012 +0000

    Fixes #15892 !strict, using lang.delegate to change evt.target. also back ported to 1.8.x branch
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.8/dojo@29638 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 touch.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/touch.js b/touch.js
index fcbe132..053cf38 100644
--- a/touch.js
+++ b/touch.js
@@ -71,7 +71,7 @@ function(dojo, lang, aspect, dom, on, has, mouse, ready, win){
 		touchmove = function(node, listener){
 			return on(win.doc, "touchmove", function(evt){
 				if(node === win.doc || dom.isDescendant(hoveredNode, node)){
-					listener.call(this, lang.mixin({}, evt, {
+					listener.call(this, lang.delegate(evt, {
 						target: hoveredNode
 					}));
 				}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git



More information about the Pkg-javascript-commits mailing list