Commits on Oct 31, 2012
  1. Add a global before and after callback for foreach/template bindings

    These global callbacks give you a single opportunity to execute code before
    and after the DOM is modified during a mapping of an array to DOM node
    children. This allows you to do things like animate the transition between old
    and new states in a way that requires knowing the old and new location of
    child elements. With the current callbacks, the only callback that fires before
    the DOM is updated is beforeMove, so if there aren't any moves there's no way
    to execute code to check on old positions before the DOM is changed.
    Sean McBride committed Oct 31, 2012
Commits on Oct 28, 2012
  1. @SteveSanderson
Commits on Oct 17, 2012
  1. @mbest

    Merge pull request #672 from SteveSanderson/672-hasfocus-lost-dependency

    hasfocus: current master breaks hasfocus example (click to focus)
    mbest committed Oct 17, 2012
  2. @SteveSanderson

    Add spec to cover #672

    SteveSanderson committed Oct 17, 2012
Commits on Oct 15, 2012
  1. @mbest

    fix regression issue with hasfocus: loss of dependency tracking in up…

    …date function after first run.
    mbest committed Oct 15, 2012
Commits on Oct 10, 2012
  1. @SteveSanderson
  2. @SteveSanderson

    Update specs to more accurately simulate malformed DOM scenarios (fix…

    …es false negative on IE < 9)
    SteveSanderson committed Oct 10, 2012
  3. @SteveSanderson
  4. @SteveSanderson

    Merge pull request #660 from SteveSanderson/660-handle-malformed-temp…

    …late-markup
    
    HIERARCHY_REQUEST_ERR: DOM Exception 3
    SteveSanderson committed Oct 10, 2012
Commits on Oct 9, 2012
  1. @mbest

    Change setDomNodeChildrenFromArrayMapping to remove nodes before doin…

    …g add/reorder to match 2.1.0 behavior.
    mbest committed Oct 9, 2012
  2. @rniemeyer

    Merge pull request #664 from SteveSanderson/664-further-spec-fixes

    Further 2.2.0rc spec failures
    rniemeyer committed Oct 9, 2012
  3. @SteveSanderson
  4. @SteveSanderson
Commits on Oct 8, 2012
  1. @mbest

    Merge pull request #661 from SteveSanderson/661-ie10-spec-fix

    KO 2.2.0rc spec failure on IE10
    mbest committed Oct 8, 2012
  2. @SteveSanderson

    Fix IE autofill handling by resetting "propertychange" log whenever w…

    …e fire updates from the "value" binding
    SteveSanderson committed Oct 8, 2012
  3. @SteveSanderson
  4. @SteveSanderson
  5. @SteveSanderson
Commits on Oct 1, 2012
  1. @SteveSanderson

    Merge pull request #476 from SteveSanderson/476-lightweight-with-if

    make lightweight version of 'with'
    SteveSanderson committed Oct 1, 2012
Commits on Sep 30, 2012
  1. @mbest

    Optimize ifIfnotWith slightly; make sure saved nodes are cleaned. Add…

    … spec for new 'with' functionality.
    mbest committed Sep 30, 2012
  2. @SteveSanderson

    Define if/ifnot/with in single file, since they are all constructed b…

    …y a shared utility function
    SteveSanderson committed Sep 30, 2012
  3. @SteveSanderson
  4. @SteveSanderson
  5. @SteveSanderson
  6. @mbest

    Add specs for if, ifnot, with, and template bindings to test for re-r…

    …endering only when necessary--when the bound value changes to a distinctly different value.
    mbest committed Sep 29, 2012
Commits on Sep 29, 2012
  1. @mbest

    Optimize template binding to only re-render template if 'data' or 'if…

    …/ifnot' values have changed.
    mbest committed Sep 28, 2012
Commits on Sep 28, 2012
  1. @SteveSanderson

    Merge branch '474-element-in-binding'

    Conflicts:
    	src/templating/templateRewriting.js
    SteveSanderson committed Sep 28, 2012
  2. @SteveSanderson

    Merge pull request #652 from SteveSanderson/601-fix-binding-dependenc…

    …ies-2
    
    fix binding dependencies
    SteveSanderson committed Sep 28, 2012
Commits on Sep 25, 2012
  1. @mbest

    Ensure that bindings have only the dependencies they should.

    Add ko.utils.peekObservable.
    Use ko.dependencyDetection.ignore for all callbacks from binding handlers.
    Use peek and peekObservable within binding handlers to access values that shouldn't be dependencies.
    mbest committed Sep 25, 2012
  2. @mbest

    Add specs for each of the foreach callbacks (afterRender, afterAdd, b…

    …eforeRemove, beforeMove, and afterMove) and fix some problems related to those callbacks that were introduced in #259.
    mbest committed Sep 25, 2012
Commits on Sep 24, 2012
  1. @mbest
Commits on Sep 23, 2012
  1. @SteveSanderson

    Merge pull request #562 from SteveSanderson/562-value-should-not-prev…

    …ent-write
    
    Bug (?) in documentation on computed observables - writeable computeds don't have a chance to react to a change that is the same as current value
    SteveSanderson committed Sep 23, 2012
Commits on Sep 21, 2012
  1. @mbest

    Merge pull request #615 from SteveSanderson/615-jquery-templates-brac…

    …es-regression-fix
    
    Regression with jquery.tmpl
    mbest committed Sep 21, 2012
  2. @mbest

    Merge pull request #324 from SteveSanderson/324-domdata-on-cloned-nodes

    Problem setting domnode value in IE 9
    mbest committed Sep 21, 2012
  3. @SteveSanderson