mirror of https://github.com/artf/grapesjs.git
nocodeframeworkdrag-and-dropsite-buildersite-generatortemplate-builderui-builderweb-builderweb-builder-frameworkwebsite-builderno-codepage-builder
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
398 B
26 lines
398 B
define(function() {
|
|
/**
|
|
* @class GeneratorInterface
|
|
* */
|
|
function GeneratorInterface() {}
|
|
|
|
GeneratorInterface.prototype = {
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return {String}|{Integer}
|
|
* */
|
|
getId : function(){},
|
|
|
|
/**
|
|
* Generate code from model
|
|
* @param {Backbone.Model} model
|
|
*
|
|
* @return {String}
|
|
* */
|
|
build : function(model){},
|
|
};
|
|
|
|
return GeneratorInterface;
|
|
});
|