change obj references to a unique identifier
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var obj = function (obj) {
|
||||
Object.defineProperties(obj, {
|
||||
var obj = function (_ref) {
|
||||
Object.defineProperties(_ref, {
|
||||
foo: {
|
||||
get: function () {
|
||||
return 5 + 5;
|
||||
@@ -9,5 +9,5 @@ var obj = function (obj) {
|
||||
}
|
||||
}
|
||||
});
|
||||
return obj;
|
||||
return _ref;
|
||||
}({});
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
var obj = function (obj) {
|
||||
Object.defineProperties(obj, {
|
||||
var obj = function (_ref) {
|
||||
Object.defineProperties(_ref, {
|
||||
foo: {
|
||||
get: function () {
|
||||
return 5 + 5;
|
||||
}
|
||||
}
|
||||
});
|
||||
return obj;
|
||||
return _ref;
|
||||
}({});
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
var obj = function (obj) {
|
||||
Object.defineProperties(obj, {
|
||||
var obj = function (_ref) {
|
||||
Object.defineProperties(_ref, {
|
||||
foo: {
|
||||
set: function (value) {
|
||||
this._foo = value;
|
||||
}
|
||||
}
|
||||
});
|
||||
return obj;
|
||||
return _ref;
|
||||
}({});
|
||||
|
||||
Reference in New Issue
Block a user