没有合适的资源?快使用搜索试试~ 我知道了~
probe:用Lodash(或Underscore)方法扩展JS原型
共19个文件
js:7个
html:4个
md:3个
需积分: 9 0 下载量 59 浏览量
2021-05-20
00:19:53
上传
评论
收藏 12KB ZIP 举报
温馨提示
Titon Probe v0.4.1 使用Lo-Dash,Underscore或其他供应商的功能扩展本机原型。 这允许以下代码: _.uniq(_.flatten([1, 2, [2], 3, 2])); // => [1, 2, 3] 被写成: [1, 2, [2], 3, 2].flatten().uniq(); // => [1, 2, 3] 在Node.js中使用 将Probe添加到您的NPM package.json 。 "dependencies": { "titon-probe": "*" } 从命令行安装依赖项。 npm install 在您的脚本中包含该模块。 var probe = require('titon-probe'), _ = probe._, // lodash/underscore _s = probe._s
资源推荐
资源详情
资源评论
收起资源包目录
probe-master.zip (19个子文件)
probe-master
package.json 957B
readme.md 1KB
test
cases
lodash.js 748B
underscore.js 754B
probe.js 2KB
underscore-string.js 730B
index.html 566B
lodash.html 647B
underscore.html 657B
underscore-string.html 690B
.bowerrc 27B
dist
probe.min.js 3KB
Gruntfile.js 1KB
src
probe.js 6KB
.npmignore 13B
license.md 1KB
.gitignore 46B
version.md 5B
bower.json 388B
共 19 条
- 1
资源评论
西西里上尉
- 粉丝: 24
- 资源: 4667
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功