
I considered posting the code for a brief moment; but, the demo provides a relatively simple look at script-ably playing around with JavaScript functions. Accessing the "contents" of a JavaScript function is simple; but the entire function definition is returned. So, editing the function on the fly and "recompiling" it isn't perfectly straightforward, and it's best to just see the demo if you're interested.
No comments:
Post a Comment