main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
288 bytes
|
Rev | Line | |
---|
[d565449] | 1 | function _toSetter(t, e, n) {
|
---|
| 2 | e || (e = []);
|
---|
| 3 | var r = e.length++;
|
---|
| 4 | return Object.defineProperty({}, "_", {
|
---|
| 5 | set: function set(o) {
|
---|
| 6 | e[r] = o, t.apply(n, e);
|
---|
| 7 | }
|
---|
| 8 | });
|
---|
| 9 | }
|
---|
| 10 | module.exports = _toSetter, module.exports.__esModule = true, module.exports["default"] = module.exports; |
---|
Note:
See
TracBrowser
for help on using the repository browser.