jostsg/Iron.js — Issue #7: Bug: Error in View Constructor
Author: NicBright
Created: 2011-11-30 09:44:41+00:00
State: open

This is wrong:

[code]
constructor: (id) ->
if id? && @id?
console.error "\"id\" not specified"
return
@id = id if id?
[/code]

console.error is executed EVEN IF id is set