mirror of https://github.com/artf/grapesjs.git
2 changed files with 6 additions and 4 deletions
@ -1,4 +0,0 @@ |
|||
import Backbone from 'backbone'; |
|||
import ToolbarButton from './ToolbarButton'; |
|||
|
|||
export default Backbone.Collection.extend({ model: ToolbarButton }); |
|||
@ -0,0 +1,6 @@ |
|||
import { Collection } from '../../common'; |
|||
import ToolbarButton from './ToolbarButton'; |
|||
|
|||
export default class Toolbar extends Collection<ToolbarButton> {} |
|||
|
|||
Toolbar.prototype.model = ToolbarButton; |
|||
Loading…
Reference in new issue