change obj references to a unique identifier

This commit is contained in:
Sebastian McKenzie
2014-10-12 00:23:13 +11:00
parent 4c2e7ddb9e
commit 0f7da020e3
16 changed files with 48 additions and 38 deletions

View File

@@ -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;
}({});

View File

@@ -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;
}({});

View File

@@ -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;
}({});