2015-08-28 17:13:35 -07:00

27 lines
554 B
JavaScript

/**
* Created by Matthew on 7/31/2015.
*/
define(
function () {
function nlform ( formBase ) {
var self = this;
this.el = formBase.el.clone();
this.application = formBase.application;
}
nlform.prototype.getForm = function () {
return this.el
};
function NaturalLanguageFactory(form){}
NaturalLanguageFactory.prototype.createForm = function ( form ) {
return new nlform( form )
};
return NaturalLanguageFactory
}
)