Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assert key is not in Dynamic Attributes
A changing key attribute (but not passed as the `key` parameter) could cause havoc. Force `key` to always be static. This is of particular interest to compile to iDOM build steps, since a runtime `attr(name, value)` would be impossible to catch: ```js var attrs = { key: 'key' }; elementOpenStart('div'); for (var name in attrs) { attr(name, attrs[name]); } elementOpenEnd('div'); elementClose('div'); ```
- Loading branch information