☰
Debian Codegraph
@
8.0.6+ds1+~cs177.303.116-1
8.0.4+ds1+~cs177.303.116-3
7.20.15+ds1+~cs214.269.168-17
/
/
packages
/
babel-plugin-transform-arrow-functions
/
test
/
fixtures
/
arrow-functions
/
nested
/
output.js
☽
☼
packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/nested/output.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
module.exports = {
2
init: function () {
3
var _this = this;
4
return new Promise(function (resolve, reject) {
5
MongoClient.connect(config.mongodb, function (err, db) {
6
if (err) {
7
return reject(err);
8
}
9
_this.db = db;
10
resolve(_this);
11
});
12
});
13
}
14
};