slouch/scripts/foo.js
2017-07-11 22:22:43 -07:00

13 lines
201 B
JavaScript

'use strict';
var Promise = require('bluebird');
var Foo = function () {
this._thing = 'yar';
};
Foo.prototype.bar = function () {
return Promise.resolve(this._thing);
};
module.exports = Foo;