Form.js
363 Bytes
define(function () {
'use strict';
var external = "<div class='wev-block-body'>${name}</div>";
function Form() { }
Form.prototype = {
extendTpl: function (template) {
template = (template || "").replace(/<input[\s\S]*$/g, "");
return template + external + "</form></div>";
}
};
return Form;
});