mirror of
https://github.com/electron/electron.git
synced 2026-02-08 14:15:28 -05:00
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
6 lines
116 B
JavaScript
6 lines
116 B
JavaScript
exports.twicePromise = function (promise) {
|
|
return promise.then(function (value) {
|
|
return value * 2;
|
|
});
|
|
};
|