sproutcore/sproutcore20 — Issue #197: Views ignore bound id attributes
Author: jamesarosen
Created: 2011-11-04 20:15:37+00:00
State: open

```javascript
var v = SC.View.create({ id: 'foo', attributeBindings: ['id'] })
SC.run(function() { v.append() });
SC.run(function() { console.log(v.$().attr('id')); });
// outputs "sc17285"
```

yet

```javascript
var v = SC.View.create({ 'data-title': 'foo', attributeBindings: ['data-title'] })
SC.run(function() { v.append() });
SC.run(function() { console.log(v.$().attr('data-title')); });
// outputs "foo"
```