Skip to content
项目

关于

构建自定义版本的 jQuery。

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

#jQuery Builder

jQuery Builder lets you easily build a version a custom version of jQuery without downloading the source, grabbing the submodules, installing grunt and building yourself.

##Install

npm install jquery-builder

##Usage

jQuery Builder 0.2.0
Usage: node ./bin/builder.js

Options:
  -e, --exclude   Modules to exclude [module,module]  [string]
  -m, --minify    Minify output                       [boolean]
  -l, --ls        List available modules              [boolean]
  -v, --version   Version of jQuery                   [string]  [default: "1.9.1"]
  -s, --versions  List available versions

##Example

jquery-builder --exclude ajax,css -m > jquery.min.js

##Available Modules

  • ajax: All AJAX functionality: $.ajax(), $.get(), $.post(), $.ajaxSetup(), .load(), transports, and ajax event shorthands such as .ajaxStart().
  • deprecated: Methods documented as deprecated but not yet removed; currently only .andSelf().
  • css: The .css() method plus non-animated .show(), .hide() and .toggle().
  • dimensions: The .width() and .height() methods, including inner- and outer- variations.
  • effects: The .animate() method and its shorthands such as .slideUp() or .hide("slow").
  • offset: The .offset(), .position(), .offsetParent(), .scrollLeft(), and .scrollTop() methods.

探索相关项目

加载中…