electron/spec/fixtures/module/promise.js
cesine 2aff0c47d0 ⬆️ 👕 updated to eslint 2.1.0
Verified migration doc (nothing to be done)
http://eslint.org/docs/user-guide/migrating-to-2.0.0

And made sure the eslint tasks passed
2016-02-15 22:30:29 -05:00

5 lines
116 B
JavaScript

exports.twicePromise = function (promise) {
return promise.then(function (value) {
return value * 2;
});
};