-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Features #2
Comments
老哥,我认领函数节流和函数去抖这两个功能~ |
另外,提个建议,可以把这个项目放到你个人首页的项目列表里,现在比较难找到这个项目的入口。 |
@KarthusLorin 感谢:thumbsup:已放到首页。 |
@zhongdeming428 函数节流和函数去抖这两个功能我写好了,但是对应的单元测试有点尴尬(写不来。。。),我晚上先提交功能,后续讨论下添加对应的单元测试怎么样? |
@KarthusLorin 不要紧 ,这个确实不好做 UnitTest, 晚上提交代码后我们构建一下,在浏览器直接测,确定没问题合并就好了。 |
@KarthusLorin 函数去抖与函数节流已经合并啦,感谢你的贡献!另外有好的建议好的功能也请不吝赐教哦,我会把有用的功能加进去的~ |
@zhongdeming428 我今天认领下cloneDeep深拷贝,另外,我认为函数方面可以添加简单的柯里化功能~ |
@KarthusLorin 好,柯里化已添加 |
@zhongdeming428 深拷贝函数已提pr,不过我设置的函数名是 |
@KarthusLorin 代码已合并,issue 已修改 |
@zhongdeming428 我觉得可以增加一个方法,返回给定变量的原始类型字符串,比如 |
@KarthusLorin 要不叫 getType 好了,这个单元测试要写好哦~ |
或许可以做一下按需引入,想lodash那样。 |
String
Number
Date
Array
Function
Event
Utils
The text was updated successfully, but these errors were encountered: