define(function(require) {
'use strict';
+var $ = require('libs/jquery');
var widgets = {
});
return mydom;
}
-}
+};
var comment = {
}
this._container().toggle(toggle);
if(!options.silent) {
- this.trigger('elementToggled', toggle, this.documentElement);
+ this.trigger('elementToggled', toggle, this);
}
}
-}
+};
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'}}
];