Example AMD use of the Promiseifyish library
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 |
|