Comparing version 0.1.0 to 0.2.0
@@ -14,2 +14,2 @@ import { Oribella, Options, Data, Gesture, Listener, DefaultListener } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerDoubletap(oribella: Oribella): void; |
@@ -59,7 +59,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
exports.Doubletap = Doubletap; | ||
function register(oribella) { | ||
function registerDoubletap(oribella) { | ||
oribella.registerGesture(Doubletap, DoubletapOptions); | ||
} | ||
exports.register = register; | ||
exports.registerDoubletap = registerDoubletap; | ||
}); | ||
//# sourceMappingURL=doubletap.js.map |
import { Oribella } from 'oribella-framework'; | ||
export declare const oribella: Oribella; | ||
export * from './tap'; | ||
export * from './doubletap'; | ||
export * from './longtap'; | ||
export * from './swipe'; | ||
export * from './longtap-swipe'; | ||
export * from './rotate'; | ||
export * from './pinch'; |
@@ -1,13 +0,23 @@ | ||
define(["require", "exports", "oribella-framework", "./tap", "./doubletap", "./longtap", "./swipe", "./longtap-swipe", "./rotate", "./pinch"], function (require, exports, oribella_framework_1, tap_1, doubletap_1, longtap_1, swipe_1, longtap_swipe_1, rotate_1, pinch_1) { | ||
define(["require", "exports", "oribella-framework", "./tap", "./doubletap", "./longtap", "./swipe", "./longtap-swipe", "./rotate", "./pinch", "./tap", "./doubletap", "./longtap", "./swipe", "./longtap-swipe", "./rotate", "./pinch"], function (require, exports, oribella_framework_1, tap_1, doubletap_1, longtap_1, swipe_1, longtap_swipe_1, rotate_1, pinch_1, tap_2, doubletap_2, longtap_2, swipe_2, longtap_swipe_2, rotate_2, pinch_2) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
exports.oribella = new oribella_framework_1.Oribella(); | ||
__export(tap_2); | ||
__export(doubletap_2); | ||
__export(longtap_2); | ||
__export(swipe_2); | ||
__export(longtap_swipe_2); | ||
__export(rotate_2); | ||
__export(pinch_2); | ||
exports.oribella.registerDefaultFlowStrategy(); | ||
tap_1.register(exports.oribella); | ||
doubletap_1.register(exports.oribella); | ||
longtap_1.register(exports.oribella); | ||
swipe_1.register(exports.oribella); | ||
longtap_swipe_1.register(exports.oribella); | ||
rotate_1.register(exports.oribella); | ||
pinch_1.register(exports.oribella); | ||
tap_1.registerTap(exports.oribella); | ||
doubletap_1.registerDoubletap(exports.oribella); | ||
longtap_1.registerLongtap(exports.oribella); | ||
swipe_1.registerSwipe(exports.oribella); | ||
longtap_swipe_1.registerLongtapSwipe(exports.oribella); | ||
rotate_1.registerRotate(exports.oribella); | ||
pinch_1.registerPinch(exports.oribella); | ||
}); | ||
//# sourceMappingURL=index.js.map |
@@ -19,2 +19,2 @@ import { Oribella, Options, Data, Gesture, Listener, DefaultListener } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerLongtapSwipe(oribella: Oribella): void; |
@@ -74,7 +74,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
exports.LongtapSwipe = LongtapSwipe; | ||
function register(oribella) { | ||
function registerLongtapSwipe(oribella) { | ||
oribella.registerGesture(LongtapSwipe, LongtapSwipeOptions); | ||
} | ||
exports.register = register; | ||
exports.registerLongtapSwipe = registerLongtapSwipe; | ||
}); | ||
//# sourceMappingURL=longtap-swipe.js.map |
@@ -21,2 +21,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerLongtap(oribella: Oribella): void; |
@@ -71,7 +71,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
exports.Longtap = Longtap; | ||
function register(oribella) { | ||
function registerLongtap(oribella) { | ||
oribella.registerGesture(Longtap, LongtapOptions, LongtapListener); | ||
} | ||
exports.register = register; | ||
exports.registerLongtap = registerLongtap; | ||
}); | ||
//# sourceMappingURL=longtap.js.map |
@@ -27,2 +27,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerPinch(oribella: Oribella): void; |
@@ -84,7 +84,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
exports.Pinch = Pinch; | ||
function register(oribella) { | ||
function registerPinch(oribella) { | ||
oribella.registerGesture(Pinch, PinchOptions, undefined, PinchData); | ||
} | ||
exports.register = register; | ||
exports.registerPinch = registerPinch; | ||
}); | ||
//# sourceMappingURL=pinch.js.map |
@@ -21,2 +21,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerRotate(oribella: Oribella): void; |
@@ -68,7 +68,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
exports.Rotate = Rotate; | ||
function register(oribella) { | ||
function registerRotate(oribella) { | ||
oribella.registerGesture(Rotate, RotateOptions, undefined, RotateData); | ||
} | ||
exports.register = register; | ||
exports.registerRotate = registerRotate; | ||
}); | ||
//# sourceMappingURL=rotate.js.map |
@@ -23,2 +23,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerSwipe(oribella: Oribella): void; |
@@ -76,7 +76,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
exports.Swipe = Swipe; | ||
function register(oribella) { | ||
function registerSwipe(oribella) { | ||
oribella.registerGesture(Swipe, SwipeOptions, undefined, SwipeData); | ||
} | ||
exports.register = register; | ||
exports.registerSwipe = registerSwipe; | ||
}); | ||
//# sourceMappingURL=swipe.js.map |
@@ -12,2 +12,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerTap(oribella: Oribella): void; |
@@ -43,7 +43,7 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
exports.Tap = Tap; | ||
function register(oribella) { | ||
function registerTap(oribella) { | ||
oribella.registerGesture(Tap, TapOptions); | ||
} | ||
exports.register = register; | ||
exports.registerTap = registerTap; | ||
}); | ||
//# sourceMappingURL=tap.js.map |
@@ -14,2 +14,2 @@ import { Oribella, Options, Data, Gesture, Listener, DefaultListener } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerDoubletap(oribella: Oribella): void; |
@@ -60,6 +60,6 @@ "use strict"; | ||
exports.Doubletap = Doubletap; | ||
function register(oribella) { | ||
function registerDoubletap(oribella) { | ||
oribella.registerGesture(Doubletap, DoubletapOptions); | ||
} | ||
exports.register = register; | ||
exports.registerDoubletap = registerDoubletap; | ||
//# sourceMappingURL=doubletap.js.map |
import { Oribella } from 'oribella-framework'; | ||
export declare const oribella: Oribella; | ||
export * from './tap'; | ||
export * from './doubletap'; | ||
export * from './longtap'; | ||
export * from './swipe'; | ||
export * from './longtap-swipe'; | ||
export * from './rotate'; | ||
export * from './pinch'; |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var oribella_framework_1 = require("oribella-framework"); | ||
@@ -11,10 +14,17 @@ var tap_1 = require("./tap"); | ||
exports.oribella = new oribella_framework_1.Oribella(); | ||
__export(require("./tap")); | ||
__export(require("./doubletap")); | ||
__export(require("./longtap")); | ||
__export(require("./swipe")); | ||
__export(require("./longtap-swipe")); | ||
__export(require("./rotate")); | ||
__export(require("./pinch")); | ||
exports.oribella.registerDefaultFlowStrategy(); | ||
tap_1.register(exports.oribella); | ||
doubletap_1.register(exports.oribella); | ||
longtap_1.register(exports.oribella); | ||
swipe_1.register(exports.oribella); | ||
longtap_swipe_1.register(exports.oribella); | ||
rotate_1.register(exports.oribella); | ||
pinch_1.register(exports.oribella); | ||
tap_1.registerTap(exports.oribella); | ||
doubletap_1.registerDoubletap(exports.oribella); | ||
longtap_1.registerLongtap(exports.oribella); | ||
swipe_1.registerSwipe(exports.oribella); | ||
longtap_swipe_1.registerLongtapSwipe(exports.oribella); | ||
rotate_1.registerRotate(exports.oribella); | ||
pinch_1.registerPinch(exports.oribella); | ||
//# sourceMappingURL=index.js.map |
@@ -19,2 +19,2 @@ import { Oribella, Options, Data, Gesture, Listener, DefaultListener } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerLongtapSwipe(oribella: Oribella): void; |
@@ -76,6 +76,6 @@ "use strict"; | ||
exports.LongtapSwipe = LongtapSwipe; | ||
function register(oribella) { | ||
function registerLongtapSwipe(oribella) { | ||
oribella.registerGesture(LongtapSwipe, LongtapSwipeOptions); | ||
} | ||
exports.register = register; | ||
exports.registerLongtapSwipe = registerLongtapSwipe; | ||
//# sourceMappingURL=longtap-swipe.js.map |
@@ -21,2 +21,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerLongtap(oribella: Oribella): void; |
@@ -71,6 +71,6 @@ "use strict"; | ||
exports.Longtap = Longtap; | ||
function register(oribella) { | ||
function registerLongtap(oribella) { | ||
oribella.registerGesture(Longtap, LongtapOptions, LongtapListener); | ||
} | ||
exports.register = register; | ||
exports.registerLongtap = registerLongtap; | ||
//# sourceMappingURL=longtap.js.map |
@@ -27,2 +27,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerPinch(oribella: Oribella): void; |
@@ -84,6 +84,6 @@ "use strict"; | ||
exports.Pinch = Pinch; | ||
function register(oribella) { | ||
function registerPinch(oribella) { | ||
oribella.registerGesture(Pinch, PinchOptions, undefined, PinchData); | ||
} | ||
exports.register = register; | ||
exports.registerPinch = registerPinch; | ||
//# sourceMappingURL=pinch.js.map |
@@ -21,2 +21,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerRotate(oribella: Oribella): void; |
@@ -68,6 +68,6 @@ "use strict"; | ||
exports.Rotate = Rotate; | ||
function register(oribella) { | ||
function registerRotate(oribella) { | ||
oribella.registerGesture(Rotate, RotateOptions, undefined, RotateData); | ||
} | ||
exports.register = register; | ||
exports.registerRotate = registerRotate; | ||
//# sourceMappingURL=rotate.js.map |
@@ -23,2 +23,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerSwipe(oribella: Oribella): void; |
@@ -76,6 +76,6 @@ "use strict"; | ||
exports.Swipe = Swipe; | ||
function register(oribella) { | ||
function registerSwipe(oribella) { | ||
oribella.registerGesture(Swipe, SwipeOptions, undefined, SwipeData); | ||
} | ||
exports.register = register; | ||
exports.registerSwipe = registerSwipe; | ||
//# sourceMappingURL=swipe.js.map |
@@ -12,2 +12,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerTap(oribella: Oribella): void; |
@@ -43,6 +43,6 @@ "use strict"; | ||
exports.Tap = Tap; | ||
function register(oribella) { | ||
function registerTap(oribella) { | ||
oribella.registerGesture(Tap, TapOptions); | ||
} | ||
exports.register = register; | ||
exports.registerTap = registerTap; | ||
//# sourceMappingURL=tap.js.map |
@@ -14,2 +14,2 @@ import { Oribella, Options, Data, Gesture, Listener, DefaultListener } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerDoubletap(oribella: Oribella): void; |
@@ -45,5 +45,5 @@ import { Options, RETURN_FLAG, Gesture } from 'oribella-framework'; | ||
} | ||
export function register(oribella) { | ||
export function registerDoubletap(oribella) { | ||
oribella.registerGesture(Doubletap, DoubletapOptions); | ||
} | ||
//# sourceMappingURL=doubletap.js.map |
import { Oribella } from 'oribella-framework'; | ||
export declare const oribella: Oribella; | ||
export * from './tap'; | ||
export * from './doubletap'; | ||
export * from './longtap'; | ||
export * from './swipe'; | ||
export * from './longtap-swipe'; | ||
export * from './rotate'; | ||
export * from './pinch'; |
import { Oribella } from 'oribella-framework'; | ||
import { register as registerTap } from './tap'; | ||
import { register as registerDoubletap } from './doubletap'; | ||
import { register as registerLongtap } from './longtap'; | ||
import { register as registerSwipe } from './swipe'; | ||
import { register as registerLongtapSwipe } from './longtap-swipe'; | ||
import { register as registerRotate } from './rotate'; | ||
import { register as registerPinch } from './pinch'; | ||
import { registerTap } from './tap'; | ||
import { registerDoubletap } from './doubletap'; | ||
import { registerLongtap } from './longtap'; | ||
import { registerSwipe } from './swipe'; | ||
import { registerLongtapSwipe } from './longtap-swipe'; | ||
import { registerRotate } from './rotate'; | ||
import { registerPinch } from './pinch'; | ||
export const oribella = new Oribella(); | ||
export * from './tap'; | ||
export * from './doubletap'; | ||
export * from './longtap'; | ||
export * from './swipe'; | ||
export * from './longtap-swipe'; | ||
export * from './rotate'; | ||
export * from './pinch'; | ||
oribella.registerDefaultFlowStrategy(); | ||
@@ -11,0 +18,0 @@ registerTap(oribella); |
@@ -19,2 +19,2 @@ import { Oribella, Options, Data, Gesture, Listener, DefaultListener } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerLongtapSwipe(oribella: Oribella): void; |
@@ -61,5 +61,5 @@ import { Options, RETURN_FLAG, Gesture } from 'oribella-framework'; | ||
} | ||
export function register(oribella) { | ||
export function registerLongtapSwipe(oribella) { | ||
oribella.registerGesture(LongtapSwipe, LongtapSwipeOptions); | ||
} | ||
//# sourceMappingURL=longtap-swipe.js.map |
@@ -21,2 +21,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerLongtap(oribella: Oribella): void; |
@@ -52,5 +52,5 @@ import { Options, RETURN_FLAG, Gesture, Listener } from 'oribella-framework'; | ||
} | ||
export function register(oribella) { | ||
export function registerLongtap(oribella) { | ||
oribella.registerGesture(Longtap, LongtapOptions, LongtapListener); | ||
} | ||
//# sourceMappingURL=longtap.js.map |
@@ -27,2 +27,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerPinch(oribella: Oribella): void; |
@@ -66,5 +66,5 @@ import { Options, Data, RETURN_FLAG, Gesture, Point } from 'oribella-framework'; | ||
} | ||
export function register(oribella) { | ||
export function registerPinch(oribella) { | ||
oribella.registerGesture(Pinch, PinchOptions, undefined, PinchData); | ||
} | ||
//# sourceMappingURL=pinch.js.map |
@@ -21,2 +21,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerRotate(oribella: Oribella): void; |
@@ -48,5 +48,5 @@ import { Options, Data, RETURN_FLAG, Gesture } from 'oribella-framework'; | ||
} | ||
export function register(oribella) { | ||
export function registerRotate(oribella) { | ||
oribella.registerGesture(Rotate, RotateOptions, undefined, RotateData); | ||
} | ||
//# sourceMappingURL=rotate.js.map |
@@ -23,2 +23,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerSwipe(oribella: Oribella): void; |
@@ -53,5 +53,5 @@ import { Options, Data, RETURN_FLAG, Gesture } from 'oribella-framework'; | ||
} | ||
export function register(oribella) { | ||
export function registerSwipe(oribella) { | ||
oribella.registerGesture(Swipe, SwipeOptions, undefined, SwipeData); | ||
} | ||
//# sourceMappingURL=swipe.js.map |
@@ -12,2 +12,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerTap(oribella: Oribella): void; |
@@ -27,5 +27,5 @@ import { Options, RETURN_FLAG, Gesture } from 'oribella-framework'; | ||
} | ||
export function register(oribella) { | ||
export function registerTap(oribella) { | ||
oribella.registerGesture(Tap, TapOptions); | ||
} | ||
//# sourceMappingURL=tap.js.map |
@@ -13,3 +13,3 @@ declare module "tap" { | ||
} | ||
export function register(oribella: Oribella): void; | ||
export function registerTap(oribella: Oribella): void; | ||
} | ||
@@ -30,3 +30,3 @@ declare module "doubletap" { | ||
} | ||
export function register(oribella: Oribella): void; | ||
export function registerDoubletap(oribella: Oribella): void; | ||
} | ||
@@ -54,3 +54,3 @@ declare module "longtap" { | ||
} | ||
export function register(oribella: Oribella): void; | ||
export function registerLongtap(oribella: Oribella): void; | ||
} | ||
@@ -80,3 +80,3 @@ declare module "swipe" { | ||
} | ||
export function register(oribella: Oribella): void; | ||
export function registerSwipe(oribella: Oribella): void; | ||
} | ||
@@ -102,3 +102,3 @@ declare module "longtap-swipe" { | ||
} | ||
export function register(oribella: Oribella): void; | ||
export function registerLongtapSwipe(oribella: Oribella): void; | ||
} | ||
@@ -126,3 +126,3 @@ declare module "rotate" { | ||
} | ||
export function register(oribella: Oribella): void; | ||
export function registerRotate(oribella: Oribella): void; | ||
} | ||
@@ -156,3 +156,3 @@ declare module "pinch" { | ||
} | ||
export function register(oribella: Oribella): void; | ||
export function registerPinch(oribella: Oribella): void; | ||
} | ||
@@ -162,2 +162,9 @@ declare module "index" { | ||
export const oribella: Oribella; | ||
export * from "tap"; | ||
export * from "doubletap"; | ||
export * from "longtap"; | ||
export * from "swipe"; | ||
export * from "longtap-swipe"; | ||
export * from "rotate"; | ||
export * from "pinch"; | ||
} |
@@ -43,6 +43,6 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
exports.Tap = Tap; | ||
function register(oribella) { | ||
function registerTap(oribella) { | ||
oribella.registerGesture(Tap, TapOptions); | ||
} | ||
exports.register = register; | ||
exports.registerTap = registerTap; | ||
}); | ||
@@ -102,6 +102,6 @@ define("doubletap", ["require", "exports", "oribella-framework", "tap"], function (require, exports, oribella_framework_2, tap_1) { | ||
exports.Doubletap = Doubletap; | ||
function register(oribella) { | ||
function registerDoubletap(oribella) { | ||
oribella.registerGesture(Doubletap, DoubletapOptions); | ||
} | ||
exports.register = register; | ||
exports.registerDoubletap = registerDoubletap; | ||
}); | ||
@@ -173,6 +173,6 @@ define("longtap", ["require", "exports", "oribella-framework"], function (require, exports, oribella_framework_3) { | ||
exports.Longtap = Longtap; | ||
function register(oribella) { | ||
function registerLongtap(oribella) { | ||
oribella.registerGesture(Longtap, LongtapOptions, LongtapListener); | ||
} | ||
exports.register = register; | ||
exports.registerLongtap = registerLongtap; | ||
}); | ||
@@ -249,6 +249,6 @@ define("swipe", ["require", "exports", "oribella-framework"], function (require, exports, oribella_framework_4) { | ||
exports.Swipe = Swipe; | ||
function register(oribella) { | ||
function registerSwipe(oribella) { | ||
oribella.registerGesture(Swipe, SwipeOptions, undefined, SwipeData); | ||
} | ||
exports.register = register; | ||
exports.registerSwipe = registerSwipe; | ||
}); | ||
@@ -323,6 +323,6 @@ define("longtap-swipe", ["require", "exports", "oribella-framework", "longtap", "swipe"], function (require, exports, oribella_framework_5, longtap_1, swipe_1) { | ||
exports.LongtapSwipe = LongtapSwipe; | ||
function register(oribella) { | ||
function registerLongtapSwipe(oribella) { | ||
oribella.registerGesture(LongtapSwipe, LongtapSwipeOptions); | ||
} | ||
exports.register = register; | ||
exports.registerLongtapSwipe = registerLongtapSwipe; | ||
}); | ||
@@ -391,6 +391,6 @@ define("rotate", ["require", "exports", "oribella-framework"], function (require, exports, oribella_framework_6) { | ||
exports.Rotate = Rotate; | ||
function register(oribella) { | ||
function registerRotate(oribella) { | ||
oribella.registerGesture(Rotate, RotateOptions, undefined, RotateData); | ||
} | ||
exports.register = register; | ||
exports.registerRotate = registerRotate; | ||
}); | ||
@@ -475,19 +475,29 @@ define("pinch", ["require", "exports", "oribella-framework"], function (require, exports, oribella_framework_7) { | ||
exports.Pinch = Pinch; | ||
function register(oribella) { | ||
function registerPinch(oribella) { | ||
oribella.registerGesture(Pinch, PinchOptions, undefined, PinchData); | ||
} | ||
exports.register = register; | ||
exports.registerPinch = registerPinch; | ||
}); | ||
define("index", ["require", "exports", "oribella-framework", "tap", "doubletap", "longtap", "swipe", "longtap-swipe", "rotate", "pinch"], function (require, exports, oribella_framework_8, tap_2, doubletap_1, longtap_2, swipe_2, longtap_swipe_1, rotate_1, pinch_1) { | ||
define("index", ["require", "exports", "oribella-framework", "tap", "doubletap", "longtap", "swipe", "longtap-swipe", "rotate", "pinch", "tap", "doubletap", "longtap", "swipe", "longtap-swipe", "rotate", "pinch"], function (require, exports, oribella_framework_8, tap_2, doubletap_1, longtap_2, swipe_2, longtap_swipe_1, rotate_1, pinch_1, tap_3, doubletap_2, longtap_3, swipe_3, longtap_swipe_2, rotate_2, pinch_2) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
exports.oribella = new oribella_framework_8.Oribella(); | ||
__export(tap_3); | ||
__export(doubletap_2); | ||
__export(longtap_3); | ||
__export(swipe_3); | ||
__export(longtap_swipe_2); | ||
__export(rotate_2); | ||
__export(pinch_2); | ||
exports.oribella.registerDefaultFlowStrategy(); | ||
tap_2.register(exports.oribella); | ||
doubletap_1.register(exports.oribella); | ||
longtap_2.register(exports.oribella); | ||
swipe_2.register(exports.oribella); | ||
longtap_swipe_1.register(exports.oribella); | ||
rotate_1.register(exports.oribella); | ||
pinch_1.register(exports.oribella); | ||
tap_2.registerTap(exports.oribella); | ||
doubletap_1.registerDoubletap(exports.oribella); | ||
longtap_2.registerLongtap(exports.oribella); | ||
swipe_2.registerSwipe(exports.oribella); | ||
longtap_swipe_1.registerLongtapSwipe(exports.oribella); | ||
rotate_1.registerRotate(exports.oribella); | ||
pinch_1.registerPinch(exports.oribella); | ||
}); | ||
//# sourceMappingURL=oribella.js.map |
@@ -14,2 +14,2 @@ import { Oribella, Options, Data, Gesture, Listener, DefaultListener } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerDoubletap(oribella: Oribella): void; |
@@ -9,6 +9,6 @@ System.register(["oribella-framework", "./tap"], function (exports_1, context_1) { | ||
var __moduleName = context_1 && context_1.id; | ||
function register(oribella) { | ||
function registerDoubletap(oribella) { | ||
oribella.registerGesture(Doubletap, DoubletapOptions); | ||
} | ||
exports_1("register", register); | ||
exports_1("registerDoubletap", registerDoubletap); | ||
var oribella_framework_1, tap_1, DoubletapOptions, Doubletap; | ||
@@ -15,0 +15,0 @@ return { |
import { Oribella } from 'oribella-framework'; | ||
export declare const oribella: Oribella; | ||
export * from './tap'; | ||
export * from './doubletap'; | ||
export * from './longtap'; | ||
export * from './swipe'; | ||
export * from './longtap-swipe'; | ||
export * from './rotate'; | ||
export * from './pinch'; |
@@ -5,2 +5,13 @@ System.register(["oribella-framework", "./tap", "./doubletap", "./longtap", "./swipe", "./longtap-swipe", "./rotate", "./pinch"], function (exports_1, context_1) { | ||
var oribella_framework_1, tap_1, doubletap_1, longtap_1, swipe_1, longtap_swipe_1, rotate_1, pinch_1, oribella; | ||
var exportedNames_1 = { | ||
"oribella": true | ||
}; | ||
function exportStar_1(m) { | ||
var exports = {}; | ||
for (var n in m) { | ||
if (n !== "default" && !exportedNames_1.hasOwnProperty(n)) | ||
exports[n] = m[n]; | ||
} | ||
exports_1(exports); | ||
} | ||
return { | ||
@@ -13,20 +24,27 @@ setters: [ | ||
tap_1 = tap_1_1; | ||
exportStar_1(tap_1_1); | ||
}, | ||
function (doubletap_1_1) { | ||
doubletap_1 = doubletap_1_1; | ||
exportStar_1(doubletap_1_1); | ||
}, | ||
function (longtap_1_1) { | ||
longtap_1 = longtap_1_1; | ||
exportStar_1(longtap_1_1); | ||
}, | ||
function (swipe_1_1) { | ||
swipe_1 = swipe_1_1; | ||
exportStar_1(swipe_1_1); | ||
}, | ||
function (longtap_swipe_1_1) { | ||
longtap_swipe_1 = longtap_swipe_1_1; | ||
exportStar_1(longtap_swipe_1_1); | ||
}, | ||
function (rotate_1_1) { | ||
rotate_1 = rotate_1_1; | ||
exportStar_1(rotate_1_1); | ||
}, | ||
function (pinch_1_1) { | ||
pinch_1 = pinch_1_1; | ||
exportStar_1(pinch_1_1); | ||
} | ||
@@ -37,9 +55,9 @@ ], | ||
oribella.registerDefaultFlowStrategy(); | ||
tap_1.register(oribella); | ||
doubletap_1.register(oribella); | ||
longtap_1.register(oribella); | ||
swipe_1.register(oribella); | ||
longtap_swipe_1.register(oribella); | ||
rotate_1.register(oribella); | ||
pinch_1.register(oribella); | ||
tap_1.registerTap(oribella); | ||
doubletap_1.registerDoubletap(oribella); | ||
longtap_1.registerLongtap(oribella); | ||
swipe_1.registerSwipe(oribella); | ||
longtap_swipe_1.registerLongtapSwipe(oribella); | ||
rotate_1.registerRotate(oribella); | ||
pinch_1.registerPinch(oribella); | ||
} | ||
@@ -46,0 +64,0 @@ }; |
@@ -19,2 +19,2 @@ import { Oribella, Options, Data, Gesture, Listener, DefaultListener } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerLongtapSwipe(oribella: Oribella): void; |
@@ -9,6 +9,6 @@ System.register(["oribella-framework", "./longtap", "./swipe"], function (exports_1, context_1) { | ||
var __moduleName = context_1 && context_1.id; | ||
function register(oribella) { | ||
function registerLongtapSwipe(oribella) { | ||
oribella.registerGesture(LongtapSwipe, LongtapSwipeOptions); | ||
} | ||
exports_1("register", register); | ||
exports_1("registerLongtapSwipe", registerLongtapSwipe); | ||
var oribella_framework_1, longtap_1, swipe_1, LongtapSwipeOptions, LongtapSwipe; | ||
@@ -15,0 +15,0 @@ return { |
@@ -21,2 +21,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerLongtap(oribella: Oribella): void; |
@@ -9,6 +9,6 @@ System.register(["oribella-framework"], function (exports_1, context_1) { | ||
var __moduleName = context_1 && context_1.id; | ||
function register(oribella) { | ||
function registerLongtap(oribella) { | ||
oribella.registerGesture(Longtap, LongtapOptions, LongtapListener); | ||
} | ||
exports_1("register", register); | ||
exports_1("registerLongtap", registerLongtap); | ||
var oribella_framework_1, LongtapOptions, LongtapListener, Longtap; | ||
@@ -15,0 +15,0 @@ return { |
@@ -27,2 +27,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerPinch(oribella: Oribella): void; |
@@ -9,6 +9,6 @@ System.register(["oribella-framework"], function (exports_1, context_1) { | ||
var __moduleName = context_1 && context_1.id; | ||
function register(oribella) { | ||
function registerPinch(oribella) { | ||
oribella.registerGesture(Pinch, PinchOptions, undefined, PinchData); | ||
} | ||
exports_1("register", register); | ||
exports_1("registerPinch", registerPinch); | ||
var oribella_framework_1, PinchOptions, PinchData, Pinch; | ||
@@ -15,0 +15,0 @@ return { |
@@ -21,2 +21,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerRotate(oribella: Oribella): void; |
@@ -9,6 +9,6 @@ System.register(["oribella-framework"], function (exports_1, context_1) { | ||
var __moduleName = context_1 && context_1.id; | ||
function register(oribella) { | ||
function registerRotate(oribella) { | ||
oribella.registerGesture(Rotate, RotateOptions, undefined, RotateData); | ||
} | ||
exports_1("register", register); | ||
exports_1("registerRotate", registerRotate); | ||
var oribella_framework_1, RotateOptions, RotateData, Rotate; | ||
@@ -15,0 +15,0 @@ return { |
@@ -23,2 +23,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerSwipe(oribella: Oribella): void; |
@@ -9,6 +9,6 @@ System.register(["oribella-framework"], function (exports_1, context_1) { | ||
var __moduleName = context_1 && context_1.id; | ||
function register(oribella) { | ||
function registerSwipe(oribella) { | ||
oribella.registerGesture(Swipe, SwipeOptions, undefined, SwipeData); | ||
} | ||
exports_1("register", register); | ||
exports_1("registerSwipe", registerSwipe); | ||
var oribella_framework_1, Observation, SwipeData, SwipeOptions, Swipe; | ||
@@ -15,0 +15,0 @@ return { |
@@ -12,2 +12,2 @@ import { Oribella, Options, Data, Gesture, Listener, Point } from 'oribella-framework'; | ||
} | ||
export declare function register(oribella: Oribella): void; | ||
export declare function registerTap(oribella: Oribella): void; |
@@ -9,6 +9,6 @@ System.register(["oribella-framework"], function (exports_1, context_1) { | ||
var __moduleName = context_1 && context_1.id; | ||
function register(oribella) { | ||
function registerTap(oribella) { | ||
oribella.registerGesture(Tap, TapOptions); | ||
} | ||
exports_1("register", register); | ||
exports_1("registerTap", registerTap); | ||
var oribella_framework_1, TapOptions, Tap; | ||
@@ -15,0 +15,0 @@ return { |
{ | ||
"name": "oribella", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "A set of preconfigured gestures like tap, longtap, doubletap, swipe, longtap-swipe, pinch, rotate", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -44,4 +44,4 @@ import { Oribella, Options, Data, RETURN_FLAG, Gesture, Listener, DefaultListener } from 'oribella-framework'; | ||
export function register(oribella: Oribella) { | ||
export function registerDoubletap(oribella: Oribella) { | ||
oribella.registerGesture(Doubletap, DoubletapOptions); | ||
} |
import { Oribella } from 'oribella-framework'; | ||
import { register as registerTap } from './tap'; | ||
import { register as registerDoubletap } from './doubletap'; | ||
import { register as registerLongtap } from './longtap'; | ||
import { register as registerSwipe } from './swipe'; | ||
import { register as registerLongtapSwipe } from './longtap-swipe'; | ||
import { register as registerRotate } from './rotate'; | ||
import { register as registerPinch } from './pinch'; | ||
import { registerTap } from './tap'; | ||
import { registerDoubletap } from './doubletap'; | ||
import { registerLongtap } from './longtap'; | ||
import { registerSwipe } from './swipe'; | ||
import { registerLongtapSwipe } from './longtap-swipe'; | ||
import { registerRotate } from './rotate'; | ||
import { registerPinch } from './pinch'; | ||
export const oribella = new Oribella(); | ||
export * from './tap'; | ||
export * from './doubletap'; | ||
export * from './longtap'; | ||
export * from './swipe'; | ||
export * from './longtap-swipe'; | ||
export * from './rotate'; | ||
export * from './pinch'; | ||
@@ -12,0 +19,0 @@ oribella.registerDefaultFlowStrategy(); |
@@ -62,4 +62,4 @@ import { Oribella, Options, Data, RETURN_FLAG, Gesture, Listener, DefaultListener } from 'oribella-framework'; | ||
export function register(oribella: Oribella) { | ||
export function registerLongtapSwipe(oribella: Oribella) { | ||
oribella.registerGesture(LongtapSwipe, LongtapSwipeOptions); | ||
} |
@@ -52,4 +52,4 @@ import { Oribella, Options, Data, RETURN_FLAG, Gesture, Listener, Point } from 'oribella-framework'; | ||
export function register(oribella: Oribella) { | ||
export function registerLongtap(oribella: Oribella) { | ||
oribella.registerGesture(Longtap, LongtapOptions, LongtapListener); | ||
} |
@@ -69,4 +69,4 @@ import { Oribella, Options, Data, RETURN_FLAG, Gesture, Listener, Point } from 'oribella-framework'; | ||
export function register(oribella: Oribella) { | ||
export function registerPinch(oribella: Oribella) { | ||
oribella.registerGesture(Pinch, PinchOptions, undefined, PinchData); | ||
} |
@@ -52,4 +52,4 @@ import { Oribella, Options, Data, RETURN_FLAG, Gesture, Listener, Point } from 'oribella-framework'; | ||
export function register(oribella: Oribella) { | ||
export function registerRotate(oribella: Oribella) { | ||
oribella.registerGesture(Rotate, RotateOptions, undefined, RotateData); | ||
} |
@@ -53,4 +53,4 @@ import { Oribella, Options, Data, RETURN_FLAG, Gesture, Listener, Point } from 'oribella-framework'; | ||
export function register(oribella: Oribella) { | ||
export function registerSwipe(oribella: Oribella) { | ||
oribella.registerGesture(Swipe, SwipeOptions, undefined, SwipeData); | ||
} |
@@ -29,4 +29,4 @@ import { Oribella, Options, Data, RETURN_FLAG, Gesture, Listener, Point } from 'oribella-framework'; | ||
export function register(oribella: Oribella) { | ||
export function registerTap(oribella: Oribella) { | ||
oribella.registerGesture(Tap, TapOptions); | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
227116
3698