lib/di.js
function provideName(obj, token){
    if(!isString(token)) {
      throw new Error('Must provide string as name of module');
    }
    di.annotate(obj, new di.Provide(token));
  }
function provideName(obj, token){
    if(!isString(token)) {
      throw new Error('Must provide string as name of module');
    }
    di.annotate(obj, new di.Provide(token));
  }
function provideName ( obj , token ) { if ( ! isString ( token ) ) { throw new Error ( 'Must provide string as name of module' ) ; } di . annotate ( obj , new di . Provide ( token ) ) ; }
Apply provide annotation to object
@private
@param {*} obj
@param {string} token string to apply as provide annotation
Apply provide annotation to object