lib/global.js
function(obj, type, name) {
    var nameMap = this._store[type]
      , objList = nameMap ? nameMap[name] : null
      , ind
    if (!objList) return
    ind = objList.indexOf(obj)
    if (ind === -1) return 
    objList.splice(ind, 1)
    exports.emitter.emit('namedObjects:unregistered:' + type, obj)
  }
function(obj, type, name) {
    var nameMap = this._store[type]
      , objList = nameMap ? nameMap[name] : null
      , ind
    if (!objList) return
    ind = objList.indexOf(obj)
    if (ind === -1) return 
    objList.splice(ind, 1)
    exports.emitter.emit('namedObjects:unregistered:' + type, obj)
  }
function ( obj , type , name ) { var nameMap = this . _store [ type ] , objList = nameMap ? nameMap [ name ] : null , ind if ( ! objList ) return ind = objList . indexOf ( obj ) if ( ind === - 1 ) return objList . splice ( ind , 1 ) exports . emitter . emit ( 'namedObjects:unregistered:' + type , obj ) }
Unregisters a named object from the store
Unregisters a named object from the store