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

"requested before defined" warning includes the regular expression instead of the attribute name #84

Closed
mjstahl opened this issue Mar 16, 2018 · 0 comments

Comments

@mjstahl
Copy link
Contributor

mjstahl commented Mar 16, 2018

For example:

screen shot 2018-03-16 at 10 50 53

I believe this issue is caused by using requested as opposed to attributeName in the following line:

dev.warn("can-view-callbacks: " + requested+ " custom attribute behavior requested before it was defined. Make sure "+attributeName+" is defined before it is needed.");

justinbmeyer added a commit that referenced this issue Jun 2, 2018
Fixes #84. Removes the stringified regex from the warning message
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

No branches or pull requests

1 participant