-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
good first issueFirst-time contributors who are looking to help should work on these issues.First-time contributors who are looking to help should work on these issues.type: bugSomething that should function correctly isn't.Something that should function correctly isn't.
Description
The cause is that the return type has not an effectful implementation.
Instead of ...
exports.hasAttribute = function(name) {
return function (element) {
return element.hasAttribute(name);
};
};
... the implementation should be ...
exports.hasAttribute = function(name) {
return function (element) {
return function () {
return element.hasAttribute(name);
};
};
};
Metadata
Metadata
Assignees
Labels
good first issueFirst-time contributors who are looking to help should work on these issues.First-time contributors who are looking to help should work on these issues.type: bugSomething that should function correctly isn't.Something that should function correctly isn't.