~bjornt/lazr-js/prefetch-yui-3.5

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/event-gestures/event-move.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-01-14 23:32:29 UTC
  • mfrom: (197.1.7 yui-3.3.0)
  • Revision ID: launchpad@pqm.canonical.com-20110114233229-r6i4cazdiiw18o7p
Upgrade to YUI 3.3.0 [r=mars]

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
3
Code licensed under the BSD License:
4
4
http://developer.yahoo.com/yui/license.html
5
 
version: 3.2.0
6
 
build: 2676
 
5
version: 3.3.0
 
6
build: 3167
7
7
*/
8
8
YUI.add('event-move', function(Y) {
9
9
 
78
78
        touchFacade.screenY = touch.screenY;
79
79
        touchFacade.clientX = touch.clientX;
80
80
        touchFacade.clientY = touch.clientY;
81
 
        touchFacade[TARGET] = touch[TARGET] || touchFacade[TARGET];
82
 
        touchFacade[CURRENT_TARGET] = touch[CURRENT_TARGET] || touchFacade[CURRENT_TARGET];
 
81
        touchFacade[TARGET] = touchFacade[TARGET] || touch[TARGET];
 
82
        touchFacade[CURRENT_TARGET] = touchFacade[CURRENT_TARGET] || touch[CURRENT_TARGET];
83
83
 
84
84
        touchFacade[BUTTON] = (params && params[BUTTON]) || 1; // default to left (left as per vendors, not W3C which is 0)
85
85
    },
511
511
});
512
512
 
513
513
 
514
 
}, '3.2.0' ,{requires:['node-base','event-touch','event-synthetic']});
 
514
}, '3.3.0' ,{requires:['node-base','event-touch','event-synthetic']});