cssinjs / css-vendor

Runtime vendor prefixing based on feature detection.
MIT License
67 stars 24 forks source link

Prevent error on invalid properties #39

Closed jammaloo closed 6 years ago

jammaloo commented 6 years ago

Firefox throws an exception if an invalid style property is set, e.g. el.style["0"]

The exception would be TypeError: CSS2Properties doesn't have an indexed property setter for '0'

kof commented 6 years ago

lgtm

aslafy-z commented 6 years ago

Could you please publish this fix to npm, @kof ? Thank you !

kof commented 6 years ago

published 1.0.2