Skip to content

Instantly share code, notes, and snippets.

@canonic-epicure
Created June 25, 2010 03:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save canonic-epicure/452357 to your computer and use it in GitHub Desktop.
Save canonic-epicure/452357 to your computer and use it in GitHub Desktop.
Class('Class.With.Decorated.Methods', {
trait : JooseX.Class.MethodLabels,
methods : {
method1 : function () {
...
}.label('special'),
method2 : function () {
...
}.label('label2')
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment