Ignore:
Timestamp:
Sep 4, 2019 11:03:12 AM (6 years ago)
Author:
anonymous
Message:

set_anchor_url

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/testa-single-bookmark/js/remotex.js

    r41 r66  
    55        //      this.num = num
    66        //      this.part = part
    7     }
    8 
    9     make_url_params0( arrayx ){
    10         let params = new URLSearchParams();
    11         arrayx.reduce(function(acc, element, index, array) {
    12             acc.append(element[0], element[1]);
    13             return acc;
    14         }, params)
    15         return params.toString();
    167    }
    178
     
    4233    async get_output_url(num, func) {
    4334        let param_array = [['cmd', 'get_output_url'], ['num', num ] ]
     35        await this.fetchx( this.filename , param_array, 2, func )
     36    }
     37
     38    async get_output_url_listx( num, func) {
     39        let param_array = [['cmd', 'get_output_url_listx'] , ['num', num]]
    4440        await this.fetchx( this.filename , param_array, 2, func )
    4541    }
Note: See TracChangeset for help on using the changeset viewer.