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 Q = require('q') | |
Q.while = (conditionCallback, stepCallback) => { | |
var deferredWhile = Q.defer() | |
// | |
// CONDITION | |
// | |
// This is where the condition checking happens: | |
// 1) check the conditional |
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
/* | |
* Utilities for managing popups easily in Apache Cordova | |
* Use like: | |
* | |
* ... | |
* <script src="path/to/cordova.js"></script> | |
* <script src="path/to/this/file/iab.js"></script> | |
* ... | |
* | |
* Also, be sure that the InAppBrowser plugin is |
NewerOlder