Promiseifyish AMD Example

Example AMD use of the Promiseifyish library

Load the Promiseifyish library using require:

require(
    // The path to the Promiseifyish.js file
    ['../../scripts/Promiseifyish.js'],
    // A callback which is executed with the Promiseifyish instance
    function onLoaded(Promiseifyish) {
        /* code here */
    }
);
                
Method Result
Standard
Promiseified