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

added support for angular 1.5 component #171

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

gillbatesiii
Copy link

Hi, I'd like to add support for Angular 1.5 components.

I've tried creating a simple component with it (just passed an object in and display the value) and it worked. I used Dojo as my AMD loader, though I expect it should also work with Requirejs.

Angular 1.5 components pass a JS object (option) instead of a function (constructor) as the second parameter, but since everything is just being passed directly to Angular I don't see this being an issue.

BTW I would like to mention that the way angularAMD was written, it made it easy to add support for an additional Angular feature. Thanks for making the code easy to modify, and thank you for making angularAMD.

@andidev
Copy link

andidev commented Jun 25, 2016

See also PR #163
I think the build seems to fail in the main branch as well so it's probably not your commit causing it to fail.

@marcoslin
Any ideas on why build is failing? Is this repo no longer maintained?

@gillbatesiii
Copy link
Author

gillbatesiii commented Jun 25, 2016

Thanks @andidev. I did notice belatedly that someone else already made an identical pull request, but I didn't see the comments.

For some reason I can't get npm test to run successfully on my windows machine even with a bash shell, so I've been relying on travis-ci.

@gillbatesiii
Copy link
Author

@andidev you're right, I undid my changes and pushed, the build is still breaking

@ghost
Copy link

ghost commented Feb 13, 2017

Hi there,

does it function meanwhile? I mean the component support?

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.

2 participants