Procházet zdrojové kódy

make_model: add TODO on xhr cancelling and re-requesting

master
Bing Sun před 5 roky
rodič
revize
15d9c8dc9d
Podepsáno: sunb ID GPG klíče: F7795F8C590626AB
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. +5
    -0
      src/util/make_model.js

+ 5
- 0
src/util/make_model.js Zobrazit soubor

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


Načítá se…
Zrušit
Uložit