This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| --- | |
| name: Swipe | |
| description: Provides a custom swipe event for touch devices | |
| authors: Christopher Beloch (@C_BHole), Christoph Pojer (@cpojer), Ian Collins (@3n) | |
| license: MIT-style license. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Class.refactor(Moobile.ViewController, { | |
| _delegate: null, | |
| setDelegate: function(delegate) { | |
| this._delegate = delegate; | |
| }, | |
| respondsToFunction: function(functionName) { | |
| return typeof this._delegate[functionName] === 'function'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var migrationManager = (function() { | |
| /** | |
| * Our db instance | |
| * @type {Database} | |
| */ | |
| var db = null; | |
| /** | |
| * Our versions, add a version when needed |