Ver a proveniência

make_model: add TODO on xhr cancelling and re-requesting

master
Bing Sun há 5 anos
ascendente
cometimento
15d9c8dc9d
Assinados por: sunb ID da chave GPG: F7795F8C590626AB
1 ficheiros alterados com 5 adições e 0 eliminações
  1. +5
    -0
      src/util/make_model.js

+ 5
- 0
src/util/make_model.js Ver ficheiro

@@ -96,6 +96,11 @@ export default (options={}) => {
if (_promise != null)
return _promise

// TODO
// ambient = select + order + limit/offset
// if ambient is changed, cancel currently loading xhr; otherwise return
// current promise

// now the hard work
_promise = _configs.api.request({
method: 'GET',


Carregando…
Cancelar
Guardar