Explorar el Código

make_model: add TODO on xhr cancelling and re-requesting

master
Bing Sun hace 5 años
padre
commit
15d9c8dc9d
Firmado por: sunb ID de clave GPG: F7795F8C590626AB
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. +5
    -0
      src/util/make_model.js

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

@@ -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',


Cargando…
Cancelar
Guardar