-
Notifications
You must be signed in to change notification settings - Fork 31
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
how is this related with angular 2? #8
Comments
That's it, a Cookie wrapper in typescript, respecting the new angular 2 specifications... So you can, in an easy way, npm install, import and use it just like all other angular2 libraries. |
I totally agree with @samvloeberghs. As he stated, the name is confusing as it is not in any way related to angular2 but rather to any bundled front end app - even without a framework. Providing an observable implementing angular2's |
finally :) |
The intent of this library is to be used only with angular2, but it sure can be used without it. ;) |
"ng2" Prefix
Is that so? Please explain, what makes this exclusive to Angular2? For example... Is there any reason for using this over Issues with npm packageWhen installing
This is what The latest README.md tells us to import
Outdated implementation in
Outdated implementation in
Does actually not even exist in ... just to name a few you closed "due to the lack of activity". Though, the real issue is a) the maintainer troubles publishing to npmjs.org and b) the documentation is outdated. Funny thing, in your comments (e.g. for 30 and 33) you import Note: Simply write a test instead of repeatedly pasting the same code into comments and ask people to copy and test that stuff. "ng2" againIn 30 someone already mentioned that the
You know, that this still has nothing - seriously: nothing - to do with Angular2, but rather with CommonJS modules and the way you Angluar2 exports something out of ConclusionIn my honest opinion, this is nothing but a clickbait for Angular2 beginners. But even those should ask, what this actually provides you... No Decorator, no Service, not even an Observable (though, that's not even Angular2 but rather Sadly, same goes for other repositories as Bigous/ng2-highcharts which do nothing but to execute something on globally available variables / frameworks - which again has nothing to do with Angular2 per se. |
Ok, big post, and I'm a busy person so, short answers. Fist, thanks for helping me note that ReadMe was pointing to old way of doing things (his library was written when angular2 was beta-1) - it was a lack of update, but you could help people from all the issues you pointed sending a pull request instead of staying in the shadow pointing fingers. About the "ng2 problem", you use the library you want... you don't have to use this library because it starts with ng2 - so, it's a pointless discussion. |
Don't think this is pointless, you are misleading people (possibly "busy persons" like you) that don't (have the time to) look under the hood of this project. Oh and btw. what you are doing here is not working with Angular 2 AOT compiler. So I tend to go with @samvloeberghs and @naeramarth7, you should either try and rework this library towards a more Angular 2 specific solution (like And one more personal note, if some random guy on GH is trying to give you elaborately, constructive feedback, I don't feel like
is an appropriate answer. |
I don't know why would I mislead someone if the library does what it was created to do. I tried with the minimum example at wiki and And about the personal note, I understood. It was more a though not an answer, but the answer comes after that frase too. I'll try to stick to the answer only from now on, because I think you're right. |
Hi,
how is this related with angular2? It's just a Cookie wrapper implementation..
(just a question)
grtz
The text was updated successfully, but these errors were encountered: