Closed jonatanklosko closed 8 years ago
i agree that the way i set this up originally is really stupid.. splitting on everything. having this would make it readable. thanks! keep it up!
name_of
is indeed nicer, I've updated the code.
Btw. is there any case convention? I see both camel and snake here.
I think i'd prefer snake_case rather than camelCase in CoffeeScript. i'll edit the CONTRIBUTING.md sometime to include that
but you're right.. go ahead and do it camelCase since the other methods are that way
EDIT: sorry, just realized you committed again to change it to snake case 🤐
No problem it's just a quick replacement. I updated to camelCase, I hope that's what you wanted =)
hey @jonatanklosko , could you rebase and fix the conflicts please? then i'll push up a release 👍
Done!
I think that this decreases the complexity =) Basically for both
class
andid
there was.split('.')[1]}
and.split('#')[1]}
accordingly. Now it's just a method all that removed the first character. Maybe you will came up with a better name? =)