mirror of https://github.com/artf/grapesjs.git
210 changed files with 5023 additions and 7222 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
@ -1,11 +1,11 @@ |
|||
const Asset = require('./Asset'); |
|||
|
|||
module.exports = Asset.extend({ |
|||
export default Asset.extend({ |
|||
defaults: { |
|||
...Asset.prototype.defaults, |
|||
type: 'image', |
|||
unitDim: 'px', |
|||
height: 0, |
|||
width: 0 |
|||
}, |
|||
} |
|||
}); |
|||
|
|||
@ -1,6 +1,6 @@ |
|||
import Backbone from 'backbone'; |
|||
var Block = require('./Block'); |
|||
|
|||
module.exports = Backbone.Collection.extend({ |
|||
export default Backbone.Collection.extend({ |
|||
model: Block |
|||
}); |
|||
|
|||
@ -1,5 +1,5 @@ |
|||
import Backbone from 'backbone'; |
|||
|
|||
module.exports = Backbone.Collection.extend({ |
|||
export default Backbone.Collection.extend({ |
|||
model: require('./Category') |
|||
}); |
|||
|
|||
@ -1,6 +1,6 @@ |
|||
import Backbone from 'backbone'; |
|||
var Command = require('./Command'); |
|||
|
|||
module.exports = Backbone.Collection.extend({ |
|||
export default Backbone.Collection.extend({ |
|||
model: Command |
|||
}); |
|||
|
|||
@ -1,4 +1,4 @@ |
|||
const Backbone = require('backbone'); |
|||
const ToolbarButton = require('./ToolbarButton'); |
|||
|
|||
module.exports = Backbone.Collection.extend({ model: ToolbarButton }); |
|||
export default Backbone.Collection.extend({ model: ToolbarButton }); |
|||
|
|||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue