Skip to content

Instantly share code, notes, and snippets.

@NakedMoleRatScientist
Created June 12, 2010 17:17
Show Gist options
  • Select an option

  • Save NakedMoleRatScientist/435900 to your computer and use it in GitHub Desktop.

Select an option

Save NakedMoleRatScientist/435900 to your computer and use it in GitHub Desktop.
(tempo-define-template "selfun"
'("self."
(p "name: ")
" = function()"
n>
"{"
n>
~
n
" };")
"self" "Insert a self.function")
(tempo-define-template "ifun"
'(> "if ("
(p "condition: ")
")"
n>
"{"
n>
~
n>
"};")
"if" "Insert a if conditional")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment