BCJTI / ng2-cookies

Simple library to deal with cookies in Angular2
64 stars 31 forks source link

[Improvement] Remove Cookie from methods #9

Closed lholznagel closed 8 years ago

lholznagel commented 8 years ago

Hey, currently all Methods contain the word Cookie in it. Example: .deleteCookie, .setCookie, ...

I think it would be better when you only call .delete, .set, .get Reason: When you use Cookie.setCookie, the second Cookie is not really necessary and I would be shorter.