kriasoft / hyperapp-render

Render Hyperapp to an HTML string with SSR and Node.js streaming support.
MIT License
103 stars 15 forks source link

Fix minor issue with ie11 #14

Closed casperin closed 5 years ago

casperin commented 5 years ago

In ie11, calling .set(k, v) on a map does not return the map for further chaining, so the construction in hyphenateStyleName threw an error every time in ie11. This PR should fix that, but otherwise leave the code completely unchanged.

Types of changes

Checklist:

codecov-io commented 5 years ago

Codecov Report

Merging #14 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #14   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           2      2           
  Lines         122    125    +3     
  Branches       33     34    +1     
=====================================
+ Hits          122    125    +3
Impacted Files Coverage Δ
src/index.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c4d786e...64ca893. Read the comment docs.

frenzzy commented 5 years ago

Thank you!

casperin commented 5 years ago

No problem. Keep up the good work. :-)

casperin commented 5 years ago

By the way, will you release this on its own? I can understand if you think it's too small -- if so I'll just keep using a local version.

frenzzy commented 5 years ago

Sure, just released under v3.1.0 :tada: thanks again.