Repository navigation
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.hrefmay be not we want.
For example:
www.xxx.comuselocation.hrefwill getwww.xxx.com
location.href may be not we want.www.xxx.com use location.href will get www.xxx.com