aboutsummaryrefslogtreecommitdiff
path: root/js/types.js
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-02-28 10:35:04 -0600
committerJoel Martin <github@martintribe.org>2015-02-28 10:35:04 -0600
commit2ab1e5845c213a9951bee46a0c991202e6c46d5c (patch)
treeac1e5d898523bb892181804aa64f22ec4f4b9032 /js/types.js
parent1218ce98a40ef243824fed0efce7160a10fe5f36 (diff)
downloadmal-2ab1e5845c213a9951bee46a0c991202e6c46d5c.tar.gz
mal-2ab1e5845c213a9951bee46a0c991202e6c46d5c.zip
Multiple: interop enhancements.
Diffstat (limited to 'js/types.js')
-rw-r--r--js/types.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/types.js b/js/types.js
index 848a484..e3901b7 100644
--- a/js/types.js
+++ b/js/types.js
@@ -79,6 +79,10 @@ function _clone (obj) {
default:
throw new Error("clone of non-collection: " + _obj_type(obj));
}
+ Object.defineProperty(new_obj, "__meta__", {
+ enumerable: false,
+ writable: true
+ });
return new_obj;
}