Another cool feature is parsing javascript from the dom. You see, sometimes
you will need variables that are declared inside a <script> tag, which forces
you to do string handling. To avoid this you can use sb.dom.getJsVars (yes,
name could change), this function receives a jQuery object and returns an
object with all the variables declared inside the <script> tag (except ones declared inside functions for now).

var $jsTag = $('script');
var variables = sb.dom.getJsVars($jsTag);

Contribute

Feel free to submit your ideas, fixes, requests and enhancements.

Current status

Stable, under development and accepting pull-requests

About the author

My name is Rafael Vidaurre, I'm building a little page about myself you can find here. Drop me a line
at narzerus@gmail.com