zan-jquery

1.0.2 • Public • Published

@youzan/jquery

这是一个定制版的 jQuery,删除了一些功能,配合有赞 React 项目使用。jQuery 使用的是最新的 master 版本,删除了以下功能:

  • ajax: All AJAX functionality: $.ajax(), $.get(), $.post(), $.ajaxSetup(), .load(), transports, and ajax event shorthands such as .ajaxStart().
  • ajax/xhr: The XMLHTTPRequest AJAX transport only.
  • ajax/script: The <script> AJAX transport only; used to retrieve scripts.
  • ajax/jsonp: The JSONP AJAX transport only; depends on the ajax/script transport.
  • exports/global: Exclude the attachment of global jQuery variables ($ and jQuery) to the window.
  • exports/amd: Exclude the AMD definition.
./build-youzan.sh
 
ynpm publish

Readme

Keywords

none

Package Sidebar

Install

npm i zan-jquery

Weekly Downloads

4

Version

1.0.2

License

MIT

Last publish

Collaborators

  • youzan-lc