-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fix HBS transforms for Ember 1.11/1.12 #155
Conversation
The attribute stripping transform wasn’t a mistake, it also breaks in certain templates in 1.11 |
@pzuraq if you disable the attribute stripping too then why use the addon at all?! |
It still does reopen the component class to add data-test attributes, which is pretty useful |
what kind of templates? I need a test case, otherwise I can't fix it. |
In our app I believe the failure was caused by the |
I'm happy to fix those issues if possible, but without any reproduction I can't. Since the test cases that we currently have seems to work fine I'd prefer to merge it like this. If you don't want to use the positional to hash params function then you can just ignore it and always use hash params. And if the stripping transform fails it will be the same as if the transform would be disabled completely. |
The stripping transform errors, which causes builds to break IIRC. If you’d like I can submit the test case demoing this, the specific addon we used this with and had it break on was https://github.com/Addepar/ice-pop |
yes, please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Looks like this fix worked for that particular bug (that’s what I get for commenting on PRs before I’ve had my coffee 😜), will let you know if any other issues come up |
This PR also reenables the actual attribute stripping transform which was apparently disabled by mistake in #150.
/cc @pzuraq @marcoow @geekygrappler