tinper-sparrow
v3.2.4
Published
sparrow.js
Readme
tinper sparrow
Introduction
sparrow.js is a front-end base library, which contains the basic operation of DOM, browser and device judgments, Cookies operations, as well as the browser's own function expansion, etc..
Quickstart
Get sparrow
- npm
npm install tinper-sparrow- cdn
//design.yonyoucloud.com/static/tinper-sparrow/latest/tinper-sparrow.jsIntroducing sparrow
- ES6
import { sparrow} from "tinper-sparrow"
- HTML
<script src="//design.yonyoucloud.com/static/jquery/jquery-1.11.2.js"></script>
<script src="//design.yonyoucloud.com/static/tinper-sparrow/latest/tinper-sparrow.js"></script>Note: sparrow is dependent on jQuery
Use
sparrow.isIE //IE browser returns true, others return to false
sparrow.isDate(new Date()); //Date Object returns true, others return to false
Read the Develop documentation
Contributing
Develop
Developers can participate in the development of sparrow, but also can be based on sparrow two development
clone:
$ git clone [email protected]:iuap-design/tinper-sparrow.gitinstall:
$ npm installbuild:
$ npm run productFeedback
If you encounter any problems , submit [issues]((https://github.com/iuap-design/tinper-sparrow/issues),or pull request。
