DocumentJS.tags.codeend  class     

Stops a code block.

Example:


 /* 
  * @codestart
  *  /* @class
  *   * Person represents a human with a name.  Read about the 
  *   * animal class [Animal | here].
  *   * @constructor
  *   * You must pass in a name.
  *   * @param {String} name A person's name
  *   */
  *   Person = function(name){
  *      this.name = name
  *      Person.count ++;
  *   }
  *  /* @Static */
  *  steal.Object.extend(Person, {
  *      /* Number of People */
  *      count: 0
  *  })
  *  /* @Prototype */
  *  Person.prototype = {
  *     /* Returns a formal name 
  *      * @return {String} the name with "Mrs." added
  *      */
  *      fancyName : function(){
  *         return "Mrs. "+this.name;
  *      }
  *  }
  * @codeend
  */
© Jupiter IT - JavaScriptMVC Training and Support