Skip to content

Commit aeb25c4

Browse files
committedSep 5, 2014
No need to check for ivar vs. internals anymore
1 parent 3162827 commit aeb25c4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎opal/corelib/kernel.rb

+1-3
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ def copy_instance_variables(other)
8585
%x{
8686
for (var name in other) {
8787
if (name.charAt(0) !== '$') {
88-
if (name !== '$$id' && name !== '$$class') {
89-
self[name] = other[name];
90-
}
88+
self[name] = other[name];
9189
}
9290
}
9391
}

0 commit comments

Comments
 (0)
Please sign in to comment.