Giter Site home page Giter Site logo

Comments (8)

samccone avatar samccone commented on June 26, 2024

what would you expect that api call to do?

from backbone.syphon.

happylinks avatar happylinks commented on June 26, 2024

I think he means Syphon.deserialize(view, model.toJSON()). Could be cool if the lib did that automatically.

from backbone.syphon.

mark-lester avatar mark-lester commented on June 26, 2024

Ah right, you go toJSON(), yes of course.
OK, I accept anyone who hasnt just landed should know how to do that.

from backbone.syphon.

samccone avatar samccone commented on June 26, 2024

sure that would be nice, if the item passed implements a toJSON method we call that otherwise we treat it like a regular object :)

@mark-lester @happylinks any interest in opening up a PR?

from backbone.syphon.

mark-lester avatar mark-lester commented on June 26, 2024

yes sure

from backbone.syphon.

mark-lester avatar mark-lester commented on June 26, 2024

oh ok, well, i will get my formgen working, then if nothing happens on this I will do the biz.
it confused me, it would be nice to go deserialize(this,this.model)

from backbone.syphon.

happylinks avatar happylinks commented on June 26, 2024

Ah sorry, spoke before my turn :) if you want help/me to do it, let me know.

from backbone.syphon.

mark-lester avatar mark-lester commented on June 26, 2024

I will do,

from backbone.syphon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.