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
var fixedDefaultString = "#abcdef";
jQuery.Color.names["_default"] = fixedDefaultString;
var defaultColor = jQuery.Color("_default");
var parsedAsDefault = jQuery.Color("#abcdef");
var unparsed = jQuery.Color("I AM THE KING POTATO");
It would be nice to have a way to determine that unparsed is using the default, whereas parsedAsDefault is not. Ideally, it would be available after construction via something like .isParseable().
I'm unclear on what isParseable() should return in cases that do not involve parsing a string, however. For example:
It would be nice to have a way to determine that
unparsed
is using the default, whereasparsedAsDefault
is not. Ideally, it would be available after construction via something like.isParseable()
.I'm unclear on what
isParseable()
should return in cases that do not involve parsing astring
, however. For example:The text was updated successfully, but these errors were encountered: