oribella-framework
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -0,3 +1,13 @@ | ||
<a name="0.4.3"></a> | ||
## 0.4.3 (2016-03-07) | ||
### Bug Fixes | ||
* **flow:** pass correct parameters to `cancelCallback` ([831b321](https://github.com/oribella/framework/commit/831b321)) | ||
<a name="0.4.2"></a> | ||
## 0.4.2 (2016-03-04) | ||
## [0.4.2](https://github.com/oribella/framework/compare/de679a9...v0.4.2) (2016-03-04) | ||
@@ -4,0 +14,0 @@ |
@@ -117,3 +117,3 @@ define(["exports"], function (exports) { | ||
value: function update(event) { | ||
this.normalizePoints(event, this.Point, this.pointers); | ||
this.normalizePoints(event, this.Point); | ||
this.updateCallback(this, event, this.allPointers, this.currentPointers); | ||
@@ -124,3 +124,3 @@ } | ||
value: function end(event) { | ||
this.normalizePoints(event, this.Point, this.pointers); | ||
this.normalizePoints(event, this.Point); | ||
this.endCallback(this, event, this.allPointers, this.currentPointers); | ||
@@ -134,3 +134,3 @@ if (Object.keys(this.allPointers).length === 0) { | ||
value: function cancel(event) { | ||
this.cancelCallback(this, event, this.pointers, this.pointers); | ||
this.cancelCallback(this, event, this.allPointers, this.currentPointers); | ||
this.stop(); | ||
@@ -137,0 +137,0 @@ } |
@@ -116,3 +116,3 @@ /*eslint no-cond-assign: 0*/ | ||
value: function update(event) { | ||
this.normalizePoints(event, this.Point, this.pointers); | ||
this.normalizePoints(event, this.Point); | ||
this.updateCallback(this, event, this.allPointers, this.currentPointers); | ||
@@ -123,3 +123,3 @@ } | ||
value: function end(event) { | ||
this.normalizePoints(event, this.Point, this.pointers); | ||
this.normalizePoints(event, this.Point); | ||
this.endCallback(this, event, this.allPointers, this.currentPointers); | ||
@@ -133,3 +133,3 @@ if (Object.keys(this.allPointers).length === 0) { | ||
value: function cancel(event) { | ||
this.cancelCallback(this, event, this.pointers, this.pointers); | ||
this.cancelCallback(this, event, this.allPointers, this.currentPointers); | ||
this.stop(); | ||
@@ -136,0 +136,0 @@ } |
@@ -118,3 +118,3 @@ System.register([], function (_export) { | ||
value: function update(event) { | ||
this.normalizePoints(event, this.Point, this.pointers); | ||
this.normalizePoints(event, this.Point); | ||
this.updateCallback(this, event, this.allPointers, this.currentPointers); | ||
@@ -125,3 +125,3 @@ } | ||
value: function end(event) { | ||
this.normalizePoints(event, this.Point, this.pointers); | ||
this.normalizePoints(event, this.Point); | ||
this.endCallback(this, event, this.allPointers, this.currentPointers); | ||
@@ -135,3 +135,3 @@ if (Object.keys(this.allPointers).length === 0) { | ||
value: function cancel(event) { | ||
this.cancelCallback(this, event, this.pointers, this.pointers); | ||
this.cancelCallback(this, event, this.allPointers, this.currentPointers); | ||
this.stop(); | ||
@@ -138,0 +138,0 @@ } |
{ | ||
"name": "oribella-framework", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "Normalizes event flows into an understandable consistent api", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -85,9 +85,9 @@ /*eslint no-cond-assign: 0*/ | ||
update(event) { | ||
this.normalizePoints(event, this.Point, this.pointers); | ||
this.normalizePoints(event, this.Point); | ||
this.updateCallback(this, event, this.allPointers, this.currentPointers); | ||
} | ||
end(event) { | ||
this.normalizePoints(event, this.Point, this.pointers); | ||
this.normalizePoints(event, this.Point); | ||
this.endCallback(this, event, this.allPointers, this.currentPointers); | ||
if(Object.keys(this.allPointers).length === 0) { | ||
if (Object.keys(this.allPointers).length === 0) { | ||
this.stop(); | ||
@@ -97,3 +97,3 @@ } | ||
cancel(event) { | ||
this.cancelCallback(this, event, this.pointers, this.pointers); | ||
this.cancelCallback(this, event, this.allPointers, this.currentPointers); | ||
this.stop(); | ||
@@ -100,0 +100,0 @@ } |
161206