Permalink
Browse files

Fixed issue w/ class properties in included modules

This issue prevented class properties to be copied to included modules
and caused the base class to be modified when included
  • Loading branch information...
chubas committed Jun 25, 2012
1 parent 595f707 commit a3ae0465b2b1b41295ce186071a6c4a718b762b7
Showing with 3 additions and 0 deletions.
  1. +3 −0 neon.js
View
@@ -1,4 +1,6 @@
/**
+ * neon.js v1.0.0 http://github.com/azendal/neon
+ *
* Class DSL
* This files provides a dsl for the following design patterns:
* inheritance, interface, module.
@@ -174,6 +176,7 @@
&& i != 'prototype'
&& i !== 'className'
&& i !== 'superClass'
+ && i !== 'include'
&& i != '__descendants') {
newClass[i] = superClass[i];
}

0 comments on commit a3ae046

Please sign in to comment.