Skip to content
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

get rid of can-util #43

Merged
merged 2 commits into from Jul 3, 2018
Merged

get rid of can-util #43

merged 2 commits into from Jul 3, 2018

Conversation

cherifGsoul
Copy link
Member

@@ -46,7 +47,7 @@ var isFunction = canIsFunction,
Construct._defineProperty = function(addTo, base, name, descriptor) {
var _super = Object.getOwnPropertyDescriptor(base, name);
if(_super) {
canEach(getset, function (method) {
canReflect.eachKey(getset, function (method) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because getset is an array, I think canReflect.each would be better here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I had doubts about it, it's fixed!

@chasenlehara chasenlehara merged commit 7f60563 into master Jul 3, 2018
@chasenlehara chasenlehara deleted the can-util-removal branch July 3, 2018 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants