define(function(require) {
'use strict';
+var $ = require('libs/jquery');
var widgets = {
});
return mydom;
}
-}
+};
var comment = {
this.trigger('elementToggled', toggle, this.documentElement);
}
}
-}
+};
return [
- {klass: 'comment', element: comment},
- {klass: 'footnote', element: footnote}
+ {tag: 'aside', klass: 'comment', prototype: comment, extending: {tag: 'div'}},
+ {tag: 'aside', klass: 'footnote', prototype: footnote, extending: {tag: 'aside'}}
];