Skip to content

Commit

Permalink
new build
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Morgan committed Jun 30, 2015
1 parent e703af0 commit 1175f41
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
4 changes: 2 additions & 2 deletions dist/platypus.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* PlatypusTS v0.13.10 (https://platypi.io)
* PlatypusTS v0.13.11 (https://platypi.io)
* Copyright 2015 Platypi, LLC. All rights reserved.
*
* PlatypusTS is licensed under the MIT license found at
Expand Down Expand Up @@ -5728,7 +5728,7 @@ declare module plat {
*/
protected _androidVersion: number;
/**
* Whether or not we're on Android 4.4.x
* Whether or not we're on Android 4.4.x or below.
*/
protected _android44orBelow: boolean;
/**
Expand Down
14 changes: 10 additions & 4 deletions dist/platypus.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var __extends = this.__extends || function (d, b) {
};
/* tslint:disable */
/**
* PlatypusTS v0.13.10 (https://platypi.io)
* PlatypusTS v0.13.11 (https://platypi.io)
* Copyright 2015 Platypi, LLC. All rights reserved.
*
* PlatypusTS is licensed under the MIT license found at
Expand Down Expand Up @@ -8782,9 +8782,9 @@ var plat;
*/
this._androidVersion = isUndefined(this._compat.ANDROID) ? -1 : this._compat.ANDROID;
/**
* Whether or not we're on Android 4.4.x
* Whether or not we're on Android 4.4.x or below.
*/
this._android44orBelow = Math.floor(this._androidVersion / 10) <= 44;
this._android44orBelow = this._androidVersion > -1 && Math.floor(this._androidVersion / 10) <= 44;
/**
* Whether or not the user is using mouse when touch events are present.
*/
Expand Down Expand Up @@ -8844,6 +8844,10 @@ var plat;
* A regular expressino for determining a pointer end event.
*/
this.__pointerEndRegex = /up|cancel/i;
/**
* Whether or not there are any swipe subscribers for the current target during touch move events.
*/
this.__haveSwipeSubscribers = false;
/**
* A hash map for mapping custom events to standard events.
*/
Expand Down Expand Up @@ -9011,7 +9015,9 @@ var plat;
xTarget: target,
yTarget: target
};
this.__haveSwipeSubscribers = this.__findFirstSubscribers(target, [gestures.$swipe, gestures.$swipedown, gestures.$swipeleft, gestures.$swiperight, gestures.$swipeup]).length > 0;
if (this._android44orBelow) {
this.__haveSwipeSubscribers = this.__findFirstSubscribers(target, [gestures.$swipe, gestures.$swipedown, gestures.$swipeleft, gestures.$swiperight, gestures.$swipeup]).length > 0;
}
var gestureCount = this._gestureCount, noHolds = gestureCount.$hold <= 0, noRelease = gestureCount.$release <= 0;
// if any moving events registered, register move
if (eventType === 'touchstart' || gestureCount.$track > 0 ||
Expand Down
10 changes: 5 additions & 5 deletions dist/platypus.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bundle": "typings/tsd.d.ts",
"installed": {
"jasmine/jasmine.d.ts": {
"commit": "448c3509f1ae76930ebd2d79df23e288172f5a0a"
"commit": "6f04d25ad38982d372cc3cda62fa4c0eef9e24d7"
}
}
}

0 comments on commit 1175f41

Please sign in to comment.