Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* Bugfix: Ensure that __super__ is undefined on instances, so we can…

… tell classes and instances apart
  • Loading branch information...
commit 8b23b5a40397504aec83aefdd982da9fe4a4a612 1 parent 4972c70
@chrivers authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  pyjaco/stdlib/11-classes.js
View
1  pyjaco/stdlib/11-classes.js
@@ -82,6 +82,7 @@ object.PY$__create__ = function(cls) {
};
obj.PY$__class__ = cls;
+ obj.PY$__super__ = undefined;
obj.id = prng();
obj.PY$__init__.apply(obj, args);
return obj;
Please sign in to comment.
Something went wrong with that request. Please try again.