DoneJS StealJS jQuery ++ FuncUnit DocumentJS
3.0.0
2.3.27

 

  • Github
  • Twitter
  • Chat
  • Forum
  • Bitovi
    • Bitovi.com
    • Blog
    • Consulting
    • Training
    • Open Source
  • Chat
  • Forum
  • Star
  • Follow @canjs
  • toFeathersRemoveHandler
  • / On this page
    • toFeathersRemoveHandler

      function

      FeathersJS's remove method returns the whole item back, when fixture.store's destroyData gives back only the given query (e.g. {id: 123}). Find the item by id first, then remove from fixture.store and return the item back.

      • source

      Feathers remove method emits 2 arguments with data: id and query. But we ignore 2nd data argument for now.

      CanJS is part of DoneJS. Created and maintained by the core DoneJS team and Bitovi. Currently 3.0.0.