0.1.6 • Published 8 years ago
weex-scripter v0.1.6
Weex <script> Transformer
transform JavaScript
API
fix(code): automatically adddata: {function () {return {...}}}to init component data fromdata: {...}parseAndReplaceRequire(code): parse third party js required in<script>, return the modified code and collect requires- note that
requireis automatically changed tobrowserifyRequirebecause of the built-inrequireinjs-framework
- note that
getBundle(requires): bundle all the third party js required in<script>by usingbrowserify