Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

R.getClassForName(): cache only if resolved class

  • Loading branch information...
commit c791bb00b6a6d7b1f5566ba0d1743a9173e27d7d 1 parent fe27991
@bfattori authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 engine/build/engine.intro.js
View
4 engine/build/engine.intro.js
@@ -215,8 +215,8 @@ R.getClassForName = function(className) {
c = c[cn.shift()];
}
- // Cache it, if found
- if (R.engine.Linker.processed[className]) {
+ // Cache it, if resolved
+ if (R.engine.Linker.resolvedClasses[className]) {
R.classCache[className] = c;
}
return c;
Please sign in to comment.
Something went wrong with that request. Please try again.