forked from enviPath/enviPy
Current Dev State
This commit is contained in:
12
static/js/ketcher2/node_modules/d/test/auto-bind.js
generated
vendored
Normal file
12
static/js/ketcher2/node_modules/d/test/auto-bind.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
var d = require('../');
|
||||
|
||||
module.exports = function (t, a) {
|
||||
var o = Object.defineProperties({}, t({
|
||||
bar: d(function () { return this === o; }),
|
||||
bar2: d(function () { return this; })
|
||||
}));
|
||||
|
||||
a.deep([(o.bar)(), (o.bar2)()], [true, o]);
|
||||
};
|
||||
Reference in New Issue
Block a user