Making WordPress.org

Changeset 7975


Ignore:
Timestamp:
12/17/2018 07:34:02 AM (7 years ago)
Author:
vedjain
Message:

WCPT: Indicate internal methods are private

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/javascript/tracker/source/stores/table-store.js

    r3814 r7975  
    1919        filters = Object.assign( filters, options );
    2020
    21         const filteredRows = this.searchRows( wpcApplicationTracker.applications, filters.searchQuery );
     21        const filteredRows = this._searchRows( wpcApplicationTracker.applications, filters.searchQuery );
    2222
    23         filteredRows.sort( this.sortRows );
     23        filteredRows.sort( this._sortRows );
    2424
    2525        return filteredRows;
     
    3434     * @returns {array}
    3535     */
    36     searchRows : function( rows, searchQuery ) {
     36    _searchRows : function(rows, searchQuery ) {
    3737        const hits = [];
    3838
     
    6565     * @returns {number}
    6666     */
    67     sortRows : function( a, b ) {
     67    _sortRows : function(a, b ) {
    6868        a = a[ filters.sortField ].toLowerCase();
    6969        b = b[ filters.sortField ].toLowerCase();
Note: See TracChangeset for help on using the changeset viewer.