1.2.0
- Drop support for cjs!!!
- Add a new param to render function
Sometimes,we need use html file name in JS file, but uselocation.href
may be not we want.
For example:
www.xxx.com
uselocation.href
will getwww.xxx.com
location.href
may be not we want.www.xxx.com
use location.href
will get www.xxx.com