lib/impl/getForm.js
function pruneDataSourceInfo(form) {
        if (options.includeDataSources) {
          return form;
        }

        delete form.dataSources;

        form.pages = _.map(form.pages, function(page) {
          page.fields = _.map(page.fields, function(field) {
            delete field.dataSource;
            delete field.dataSourceType;
            return field;
          });

          return page;
        });

        return form;
      }
function pruneDataSourceInfo(form) {
        if (options.includeDataSources) {
          return form;
        }

        delete form.dataSources;

        form.pages = _.map(form.pages, function(page) {
          page.fields = _.map(page.fields, function(field) {
            delete field.dataSource;
            delete field.dataSourceType;
            return field;
          });

          return page;
        });

        return form;
      }
function pruneDataSourceInfo ( form ) { if ( options . includeDataSources ) { return form ; } delete form . dataSources ; form . pages = _ . map ( form . pages , function ( page ) { page . fields = _ . map ( page . fields , function ( field ) { delete field . dataSource ; delete field . dataSourceType ; return field ; } ) ; return page ; } ) ; return form ; }
Removing form data source information.
Removing form data source information .