• constructor

@add DocumentJS.tags.add

 

Sets a DocObject as the current scope. Functions or properties created without a name will use their code block and the scope to guess the name.

@add NAME

/** @add lib.Component.prototype */
lib.extend(lib.Component.prototype,{
  /**
   *  A plugin method on [lib.Component]
   */
  plugin: function(){}
})

Parameters

  1. NAME {STRING}

    the name of DocObject to set as the scope.