Skip to content

Instantly share code, notes, and snippets.

@pyykkis
Created October 14, 2012 17:45
Show Gist options
  • Save pyykkis/3889313 to your computer and use it in GitHub Desktop.
Save pyykkis/3889313 to your computer and use it in GitHub Desktop.
jayq.core/text
ClojureScript:phonebook.core> text
#<function text($elem, txt) {
return $elem.text(txt)
}>
ClojureScript:phonebook.core> text2
#<function ($elem,txt){
switch(arguments.length){
case 1:
return text2__1.call(this,$elem);
case 2:
return text2__2.call(this,$elem,txt);
}
throw('Invalid arity: ' + arguments.length);
}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment