You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to have no prefix set by the parsing at all. The issue comes in from:
config.attributePrefix = config.attributePrefix || "_";
When passing in an empty string (attributePrefix: ""), this evaluates to false,
and the underscore is set as the prefix.
Original issue reported on code.google.com by [email protected] on 7 Oct 2014 at 8:29
The text was updated successfully, but these errors were encountered:
Hello, I was trying the same, so I modify the line which initializes
config.attributePrefix in initConfigDefaults() function. I've changed the
original one with:
config.attributePrefix = (typeof config.attributePrefix !== "string") ? "_" :
config.attributePrefix;
and now can use empty string as prefix. If you don't pass any value, it keep
working as original version.
Regards
Hello,
I was also trying to have an empty string as prefix. But I saw, that you use in
other places the keyword "none" - this would also ok for me to have an empty
prefix.
Thank You for your library!
Regards
Original issue reported on code.google.com by
[email protected]
on 7 Oct 2014 at 8:29The text was updated successfully, but these errors were encountered: