Skip to content

Commit

Permalink
Use plain js object to store module 'instance' methods
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Sep 21, 2013
1 parent bd5d97c commit ccd4c23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions corelib/runtime.js
Expand Up @@ -120,6 +120,7 @@
}
else {
klass = boot_class(ClassClass, constructor);
klass._proto = {_klass: klass};
klass._name = (base === ObjectClass ? id : base._name + '::' + id);
klass._mod$ = true;

Expand Down

0 comments on commit ccd4c23

Please sign in to comment.