         if 'failed' == mod.status
           # console.log "require #{name} failed"
           callback name
-        else if 'loading' == mod.status
+        else if 'defined' != mod.status
           # console.log "require #{name} is loading"
           mod.pushOnload callback
         else


    do onload for onload in @onloads
    delete @onloads
    return

class CC


  _define: ->
    # console.log "define #{@name}"
    @status = 'loaded'
    self = {}

    try
