]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/d/test/auto-bind.js
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / node_modules / node-gyp / node_modules / path-array / node_modules / array-index / node_modules / es6-symbol / node_modules / d / test / auto-bind.js
1 'use strict';
2
3 var d = require('../');
4
5 module.exports = function (t, a) {
6         var o = Object.defineProperties({}, t({
7                 bar: d(function () { return this === o; }),
8                 bar2: d(function () { return this; })
9         }));
10
11         a.deep([(o.bar)(), (o.bar2)()], [true, o]);
12 };