Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
* LICENSE file in the root directory of this source tree.
*
* This module wraps and augments the minimally ES6-compliant Promise
* implementation provided by the promise npm package.
*
*/
'use strict';
var Promise = require('promise/setimmediate/es6-extensions');
require('promise/setimmediate/done');
/**
* Handle either fulfillment or rejection with the same callback.
*/
Promise.prototype['finally'] = function (onSettled) {
return this.then(onSettled, onSettled);
};
module.exports = Promise;
* LICENSE file in the root directory of this source tree.
*
* This module wraps and augments the minimally ES6-compliant Promise
* implementation provided by the promise npm package.
*
*/
'use strict';
var Promise = require('promise/setimmediate/es6-extensions');
require('promise/setimmediate/done');
/**
* Handle either fulfillment or rejection with the same callback.
*/
Promise.prototype.finally = function(onSettled) {
return this.then(onSettled, onSettled);
};
module.exports = Promise;
* LICENSE file in the root directory of this source tree.
*
* This module wraps and augments the minimally ES6-compliant Promise
* implementation provided by the promise npm package.
*
*/
'use strict';
var Promise = require('promise/setimmediate/es6-extensions');
require('promise/setimmediate/done');
/**
* Handle either fulfillment or rejection with the same callback.
*/
Promise.prototype['finally'] = function (onSettled) {
return this.then(onSettled, onSettled);
};
module.exports = Promise;
* LICENSE file in the root directory of this source tree.
*
* This module wraps and augments the minimally ES6-compliant Promise
* implementation provided by the promise npm package.
*
*/
'use strict';
var Promise = require('promise/setimmediate/es6-extensions');
require('promise/setimmediate/done');
/**
* Handle either fulfillment or rejection with the same callback.
*/
Promise.prototype['finally'] = function (onSettled) {
return this.then(onSettled, onSettled);
};
module.exports = Promise;
* LICENSE file in the root directory of this source tree.
*
* This module wraps and augments the minimally ES6-compliant Promise
* implementation provided by the promise npm package.
*
*/
'use strict';
var Promise = require('promise/setimmediate/es6-extensions');
require('promise/setimmediate/done');
/**
* Handle either fulfillment or rejection with the same callback.
*/
Promise.prototype['finally'] = function (onSettled) {
return this.then(onSettled, onSettled);
};
module.exports = Promise;
* of patent rights can be found in the PATENTS file in the same directory.
*
* This module wraps and augments the minimally ES6-compliant Promise
* implementation provided by the promise npm package.
*
*/
'use strict';
var Promise = require('promise/setimmediate/es6-extensions');
require('promise/setimmediate/done');
/**
* Handle either fulfillment or rejection with the same callback.
*/
Promise.prototype['finally'] = function (onSettled) {
return this.then(onSettled, onSettled);
};
module.exports = Promise;
* LICENSE file in the root directory of this source tree.
*
* This module wraps and augments the minimally ES6-compliant Promise
* implementation provided by the promise npm package.
*
*/
'use strict';
var Promise = require('promise/setimmediate/es6-extensions');
require('promise/setimmediate/done');
/**
* Handle either fulfillment or rejection with the same callback.
*/
Promise.prototype['finally'] = function (onSettled) {
return this.then(onSettled, onSettled);
};
module.exports = Promise;
* LICENSE file in the root directory of this source tree.
*
* This module wraps and augments the minimally ES6-compliant Promise
* implementation provided by the promise npm package.
*
*/
'use strict';
var Promise = require('promise/setimmediate/es6-extensions');
require('promise/setimmediate/done');
/**
* Handle either fulfillment or rejection with the same callback.
*/
Promise.prototype['finally'] = function (onSettled) {
return this.then(onSettled, onSettled);
};
module.exports = Promise;
*
* This module wraps and augments the minimally ES6-compliant Promise
* implementation provided by the promise npm package.
*
*/
'use strict';
var Promise = require("promise/setimmediate/es6-extensions");
require("promise/setimmediate/done");
/**
* Handle either fulfillment or rejection with the same callback.
*/
Promise.prototype["finally"] = function (onSettled) {
return this.then(onSettled, onSettled);
};
module.exports = Promise;
* LICENSE file in the root directory of this source tree.
*
* This module wraps and augments the minimally ES6-compliant Promise
* implementation provided by the promise npm package.
*
*/
'use strict';
var Promise = require('promise/setimmediate/es6-extensions');
require('promise/setimmediate/done');
/**
* Handle either fulfillment or rejection with the same callback.
*/
Promise.prototype['finally'] = function (onSettled) {
return this.then(onSettled, onSettled);
};
module.exports = Promise;