Skip to content

Instantly share code, notes, and snippets.

@mosen
Created April 15, 2011 05:43
Show Gist options
  • Save mosen/921205 to your computer and use it in GitHub Desktop.
Save mosen/921205 to your computer and use it in GitHub Desktop.
A selection of code templates to use for YUI3 with NetBeans 7.0RC2
The code under the headings should be inserted for the abbreviation stated. Trying to find a better way to export this.
yattr
-----
/**
* ${cursor}
*
* @attribute ${name}
* @type ${type}
*/
${name} : {
value : null
},
ylog
----
Y.log("${method}", "${category default=info}", "${object}");
ymethod
-------
/**
* ${cursor}
*
* @method ${_methodName}
* @private
*/
${_methodName} : function() {
Y.log("${_methodName}", "info", "${object}");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment