• Jump To … +
    app.js dropdown.js feed.js keys.js main.js modal.js table.js transitions.js
  • keys.js

  • ¶

    keyGen is to give unique key to Cells in the data table

    var keyGen = function(row, element){
        return row['_type']+String(row['_id'])+String(element);
    }
  • ¶

    rowKeyGen is the same for rows in the datatable

    var rowKeyGen = function(row){
        return row['_id']+row['_type'];
    }
  • ¶

    dropdownKeyGen is for the dropwown in the settings button.

    var dropdownKeyGen = function(selection){
    	return 'dropdown'+selection;
    }