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

make it an ember-addon :) #29

Open
stefanpenner opened this issue Oct 24, 2014 · 9 comments
Open

make it an ember-addon :) #29

stefanpenner opened this issue Oct 24, 2014 · 9 comments

Comments

@stefanpenner
Copy link

No description provided.

@eviltrout
Copy link
Owner

I plan to! Good idea :)

@runspired
Copy link

+1 I was literally just trying to figure out how to make this work without adding the file as one of my own components.

@runspired
Copy link

Took a stab at it.

https://github.com/runspired/ember-cloaking/tree/es6-conversion

I haven't built an addon before and I must be doing something wrong because in my project I still get

Uncaught Error: <Ember._HandlebarsBoundView:ember1768> Handlebars error: Could not find property 'cloaked-collection' on object <ethereal@controller:conversations/index::ember1782>.

@runspired
Copy link

Got it working, turned out I'd just misunderstood which directory was getting merged with the main app's tree.

https://github.com/runspired/ember-cloaking/tree/es6-conversion

I've left a non es6 version in the main directory pointed to by bower for the moment, which should be changed to the output of a built version of the addon to remain compatible with non es6/ember-cli users.

If this looks good to you, I'll submit a pull request.

@runspired
Copy link

ping @eviltrout Thoughts? This would obviously need updated/redone for the new changes you just made, and a built version would need to be maintained, possibly using https://github.com/thomasboyt/browserify-es6-modules ?

@eviltrout
Copy link
Owner

I'd still like to do this, I just have been spread way too thin lately!

@runspired
Copy link

I needed this last month, so I went ahead and forked and did it. As I mentioned, it would need your new fixes (last 3 commits) and it needs the es6 browserify to be able to continue providing a globals based version for legacy. I'd be more than happy to contribute a PR to continue the discussion / enable review.

@eviltrout
Copy link
Owner

I would love a PR for this if you h ave time!

@runspired
Copy link

Accomplished by #32, this can be closed.

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

3 participants