Closed Earl-Brown closed 8 years ago
So, first, are you using the main build? Pluralize isn't part of the default build (actually it never was). There are a few ways you can build it, the easiest is through the site's new "custom build" too. If you're using it in node you may have to hold tight until the sugar-inflections
package is pushed.. should be soon though....
Using it in Chrome. I downloaded the "Sugar.js" from the main page.
I'll try from the builder
How were you using it before?
I'm not sure, but I think that's how I got it before. It's been a while :)
But was it always through the site?
Yep.
Hmm that's strange then.. The inflections module was always excluded from the default build...
I might have gotten it from the old builder...I really don't remember
I'm just happy someone's using it! It was always kinda off the map... was wondering if it was all that useful....
I figured "if someone else wrote it, it saves me trouble" :)
Hmm... so to answer your question from yesterday I'm not really sure the best forum to help you out with this... if nothing comes to mind you could always shoot me an email...
Do you have a chat client that you use? Or would email be better?
Email is maybe better for now I guess
Using the full build fixed the issue.
Date.create() works, but "".pluralize() yields a TypeError (at least in Chrome)
I have made sure that Sugar.extend() is called.
What tips do you have for resolving this?