maccman/spine — Issue #133: Multiple inheritance 
Author: dkushnikov
Created: 2011-11-03 18:32:47+00:00
State: open

What am I doing wrong???

```
(function ($) {

var User = Spine.Controller.create({
init: function () {
this.log('I am user');
}
});

var Moderator = User.create({
init: function () {
this.constructor.__super__.init.apply(this, arguments);
this.log('I am moderator');
}
});

var Admin = Moderator.create({
init: function () {
this.constructor.__super__.init.apply(this, arguments);
this.log('I am admin');
}
});

$(document).ready(function() {
new Moderator({el: $('body')});
new Admin({el: $('body')});
});
```

"new Moderator({el: $('body')});" works ok
but "new Admin({el: $('body')});" failed (firefox down)

looks like that Moderator.init context failed