Permalink
Browse files

- do not load the deps for built-in classes

  • Loading branch information...
1 parent 985c8b2 commit 38de2bea6ac585d38d403763ece05e6fc3a89193 Nickolay Platonov committed Jan 3, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/KiokuJS/Linker.js
View
3 lib/KiokuJS/Linker.js
@@ -124,7 +124,8 @@ Class('KiokuJS.Linker', {
var className = node.className
- if (className == 'Object' || className == 'Array') return
+ //XXX extract required classes from typemap instead of directly from node (node.getRequiredClasses())
+ if (className == 'Object' || className == 'Array' || className == 'Date' || className == 'Function') return
if (node.classVersion)
classDescriptors.push({ type : 'joose', token : className, version : node.classVersion })

0 comments on commit 38de2be

Please sign in to comment.