Created
October 14, 2012 17:45
-
-
Save pyykkis/3889313 to your computer and use it in GitHub Desktop.
jayq.core/text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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