Open mithro opened 8 years ago
It's probably just because initial value setting is async. You should ensure that mutateTimeString can deal with this.timezones being undefined.
@shans Why isn't the default value [] and then it get updated when the data is loaded?
For example, for the cz-clock-dash the code does;
However, if you leave the "timezone" out of the config.json you end up with the following error on the console;
Which comes from
I don't understand polymer to know what is going wrong here. I would have thought that the
value
method should mean it ends up with a default of an empty list and https://www.polymer-project.org/1.0/docs/devguide/properties kinds of indicates that should be the case?@shans @dstockwell - Help?