Bug 729428 - B2G cancel click events r=cjones
authorVivien Nicolas <21@vingtetun.org>
Fri, 24 Feb 2012 01:40:49 +0100
changeset 87593 0842fd76ec796c5894fd709ac927fcbdb891214f
parent 87592 005a409098752b8feaeaf8edc16411aa4cf29c51
child 87594 16283b69a10ac9f11647e75c18dc790a9bc4b969
push id22133
push usermak77@bonardo.net
push dateFri, 24 Feb 2012 10:23:30 +0000
treeherdermozilla-central@fbcdc2c87df8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones
bugs729428
milestone13.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 729428 - B2G cancel click events r=cjones
b2g/chrome/content/webapi.js
--- a/b2g/chrome/content/webapi.js
+++ b/b2g/chrome/content/webapi.js
@@ -308,17 +308,17 @@ const KineticPanning = {
   _position: new Point(0, 0),
   _velocity: new Point(0, 0),
   _acceleration: new Point(0, 0),
 
   get active() {
     return this.target !== null;
   },
 
-  _target: null,
+  target: null,
   start: function kp_start(target) {
     this.target = target;
 
     // Calculate the initial velocity of the movement based on user input
     let momentums = this.momentums.slice(-kSamples);
 
     let distance = new Point(0, 0);
     momentums.forEach(function(momentum) {