Code coverage report for api/export/Export.js

Statements: 100% (2 / 2)      Branches: 100% (0 / 0)      Functions: 0% (0 / 4)      Lines: 100% (2 / 2)      Ignored: none     

All files » api/export/ » Export.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29                                  1                   1  
/**
 * @class The export class helps export a set of selected data into csv, xml
 *        and LaTex file.
 * @name  Export
 *
 * @property {Collection} datalist This is the data selected for export.
 * @property {String} dataListName This is the name of the data set which
 *           appears as a filename when exported.
 * @property {Array} fields The fields array contains titles of the fields.
 * @property {Event} event The export event (e.g. click "LatexIt").
 *
 * @description The initialize serves to bind export to e.g. LaTexIt event.
 *
 *
 * @extends Backbone.Model
 * @constructs
 */
var Export = /** @lends Export.prototype */ {
  initialize: function() {},
 
  exportCSV: function() {},
 
  exportXML: function() {},
 
  exportLaTex: function() {},
 
};
exports.Export = Export;