davidjamesstone / superviews.js

Template engine targeting incremental-dom
http://davidjamesstone.github.io/superviews.js/playground/
246 stars 15 forks source link

Do not create statics when key attribute value is an empty string #41

Open blikblum opened 7 years ago

blikblum commented 7 years ago

Fixes #39

Currently is not possible to avoid setting a key when element is declared with one or more static attributes.

This PR makes not set a key when key="" is used. Also no statics argument is passed to IncrementalDOM functions to avoid potential errors.