mirror of
https://github.com/donl/slouch.git
synced 2026-05-25 22:07:24 -06:00
13 lines
201 B
JavaScript
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;
|