     exports = __modules[__filename] or {}
     module  = exports: exports
     cb.call exports, require, exports, module
+    __modules.loaded[__filename.toLowerCase()] = true
     module.exports or exports
 
 exts =

  parts = file.split '.'
  ext   = parts[parts.length-1]

  return __modules[file] if __modules[file]?

  [ previousFilename, window.__filename ] = [ __filename, file ]
  __modules[file] = {} # Fix for circular references

  catch e
    throw "require: can't read #{path}"

__modules = { loaded : {} }
__defines = []


