@carterjs/parse
v1.0.2
Published
A helper function for parsing the content of inline and external scripts
Downloads
1
Readme
Parse
A helper function for parsing the content of inline and external scripts
Usage
HTML
<script type="<TYPE>">
// Script content
</script>
or
<script type="<TYPE>" src="<FILE>"></script>
JS
parse("<TYPE>", function(text, script) {
// Parse the text content of the script
});