lib/nano_css.rb in isomorfeus-preact-23.7.0.rc5 vs lib/nano_css.rb in isomorfeus-preact-23.8.0.rc1

- old
+ new

@@ -1,13 +1,15 @@ +# backtick_javascript: true + class NanoCSS - KEBAB_REGEX = /[A-Z]/ + KEBAB_REGEX = /[A-Z]/.freeze UNITLESS_NUMBER_PROPS = %w[animation-iteration-count border-image-outset border-image-slice border-image-width box-flex box-flex-group box-ordinal-group column-count columns flex flex-grow flex-positive flex-shrink flex-negative flex-order grid-row grid-row-end grid-row-span grid-row-start grid-column grid-column-end grid-column-span grid-column-start font-weight line-clamp line-height opacity order orphans tabSize widows z-index zoom fill-opacity flood-opacity stop-opacity stroke-dasharray stroke-dashoffset stroke-miterlimit - stroke-opacity stroke-width] # from fill-opacity onwards is for SVG + stroke-opacity stroke-width].freeze # from fill-opacity onwards is for SVG class << self if RUBY_ENGINE == 'opal' def instance @instance