Skip to content

Commit

Permalink
fix bug: CodeCache not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
oneoo committed Mar 1, 2015
1 parent 0625569 commit c0f8f8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core.lua
Expand Up @@ -416,10 +416,10 @@ end
_loadtemplate = loadtemplate
function loadtemplate(f)
local _f = __root..f
local f1,e = CodeCache[_f]
local f1,e = __CodeCache[_f]
if not f1 then
f1,e = _loadtemplate(f)
CodeCache[_f] = f1
__CodeCache[_f] = f1
end

if f1 then
Expand Down

0 comments on commit c0f8f8d

Please sign in to comment.