Recommend this page to a friend! |
Download .zip |
Info | View files (4) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2016-05-21 (5 months ago) | 56% | Total: 122 | All time: 357 This week: 24 |
Version | License | JavaScript version | Categories | |||
basic-compat 1.0 | MIT/X Consortium ... | 1.0 | HTML, jQuery |
Description | Author | |||
This package is a library that provides basic compatibility with jQuery and zepto. Innovation Award
|
basic-compat ============ lightweight jquery/zepto compatibility layer with mobile target in mind. There is no goal in being fully compatible, only stay lightweight as much as possible with mobile browsers in mind. css selectors used native document.querySelectorAll methods so don't expect to have all sizzle expressions support here. methods will be added as we need them but don't expect this library to cover all cases handled by jquery or zepto. If your need feet this library use it if you need more just go for zepto or jquery. bug reports and proposals are welcome. currently implemented methods are: - $.ready or $(function(){}) - $.extend - $.each - $.Event - $.isArray - $.isObject - $.isFunction - $.isNumeric - $.isEmptyObject - $.isPlainObject - $.isDomNode - $.isDomElmt - each - on - off - trigger - css (doesn't support .css( propertyName, function(index, value) ) or any compatibility as on opacity or other stuffs) - attr - removeAttr - prop - html - remove - find - hasClass - addClass - removeClass - toggleClass - hide - show - toggle - is - filter - not - closest (no support for context) - append/appendTo - val (doesn't support val(function)) |
Files |
File | Role | Description |
---|---|---|
basic-compat.js | Class | Class source |
basic-compat.min.js | Class | Class source |
bower.json | Data | Auxiliary data |
README.md | Doc. | Documentation |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | User Comments (1) | ||||||||||||||||||||||||||||||||||
|
|