Permalink
Commits on Apr 19, 2012
  1. Visitmodel now merges options, ensuring backwards compatibility with …

    …earlier releases (related to #65)
    RoyJacobs committed Apr 19, 2012
Commits on Apr 18, 2012
  1. Temporarily reverting build output of #63, until #67 can be fixed and #…

    …65 finishes discussion"
    RoyJacobs committed Apr 18, 2012
Commits on Apr 12, 2012
Commits on Apr 11, 2012
Commits on Apr 10, 2012
  1. Fix ko.mapping.visitModel which may be called without options.

    Do we need really export it?
    DzenisevichK committed Apr 10, 2012
  2. Fix typo on the internal

    DzenisevichK committed Apr 10, 2012
  3. Fix #39, #61, #62 (and may be other bugs) issues with merging options…

    … on initial/update fromJS and toJS functional.
    
    
    1) Options for root mapping are merged in priority: current (higher), previous, default (never overwritten) options.
    2) Options for nested mapping are not mergeable (cannot merge current options for root with nested) that why we use always previous.
    DzenisevichK committed Apr 10, 2012
Commits on Feb 16, 2012
  1. Revert "Rebuilt"

    This reverts commit 507362c.
    RoyJacobs committed Feb 16, 2012
  2. Revert "Addressed Issue #45, added 2 test cases."

    This reverts commit ba78343.
    RoyJacobs committed Feb 16, 2012
Commits on Feb 14, 2012
  1. Rebuilt

    RoyJacobs committed Feb 14, 2012
  2. Addressed Issue #45, added 2 test cases.

    Inner mapping options were not being respected
    bryansquared committed Feb 14, 2012
Commits on Feb 8, 2012
Commits on Feb 7, 2012
Commits on Feb 6, 2012
Commits on Dec 22, 2011
Commits on Oct 18, 2011
  1. Rebuilt

    RoyJacobs committed Oct 18, 2011
  2. Fixing problem with the same object appearing multiple times in the s…

    …ource object. Should solve #32.
    RoyJacobs committed Oct 18, 2011
Commits on Sep 11, 2011
Commits on Sep 10, 2011
  1. Fix incremental array updates

    Fixes  incremental  array  updates  by  not  unwrapping   the   existing
    observable  before  passing  it  into  the   (private)   updateViewModel
    function.  updateViewModel  needs  an  observable  array  to  update  it
    correctly, otherwise it will create a new empty array every time.
    
    In the complex object case the  mappedRootObject  has  to  be  unwrapped
    earlier to detect 'undefined' even if it is  wrapped  in  an  observable
    (like  in  the  test:  "ko.mapping.fromJS  should  be  able  to   update
    observables not created by fromJS"). Not sure if  this  breaks  'create'
    and 'update' callbacks (OTOH it is not worse than  immediate  unwrapping
    at the updateViewModel call site).
    jpc committed Sep 10, 2011
Commits on Sep 5, 2011
  1. Merged 2.0

    RoyJacobs committed Sep 5, 2011
Commits on Aug 29, 2011