Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 8, 2012
  1. @SteveSanderson

    Fix issue in minified build whereby models with a property called "B"…

    SteveSanderson authored
    … would incorrectly be identified as (not) observable
  2. @SteveSanderson

    Rebuild

    SteveSanderson authored
  3. @SteveSanderson
Commits on Feb 7, 2012
  1. @SteveSanderson
Commits on Feb 3, 2012
  1. @SteveSanderson

    Rebuild

    SteveSanderson authored
  2. @SteveSanderson
  3. @SteveSanderson

    Continuation of pull request #290: Allow binding contexts to be exten…

    SteveSanderson authored
    …ded (i.e., get a clone plus extra properties), and make them inherit custom properties from parent by default
Commits on Feb 2, 2012
  1. @SteveSanderson
  2. @SteveSanderson

    "isRootNodeForBindingContext" was getting very confusing because it w…

    SteveSanderson authored
    …as being used to control decisions that were not obviously related to its name
    
    So, have eliminated it, and replaced it with the more specific variable "bindingContextMayDifferFromDomParentElement", which now is only used for decisions directly related to its name
  3. @SteveSanderson

    Extra spec to clarify need for applyBindingsToNodeAndDescendantsInter…

    SteveSanderson authored
    …nal to bind descendant elements even if the supplied node is a comment node
  4. @SteveSanderson

    Force custom bindings to correctly construct child bindingContexts us…

    SteveSanderson authored
    …ing the parent context by not exporting ko.bindingContext
    
    (i.e., stop custom bindings from calling "new ko.bindingContext" directly)
  5. @SteveSanderson
  6. @SteveSanderson

    Replace automatic inheritance of all bindingContext properties with n…

    SteveSanderson authored
    …ew $parentContext variable
    
    Benefit #1: Can reach custom properties on *all* ancestor contexts, and are not limited to those that haven't been overwritten
    (e.g., if we had $index, would now be able to reach all ancestor $index values, not just the closest one)
    Benefit #2: Allows discrimination between properties at the current level and properties at the parent level, which
    is good because not all custom properties may make sense to inherit.
  7. @SteveSanderson

    Reverting the way binding handlers' "init" and "update" functions are…

    SteveSanderson authored
    … invoked until the use case is clear.
    
    (Note that, in the future, the custom bindings API may change to become more object oriented, so each binding would
    become an object instance that can hold its own data. In case we proceed in that direction, it may be preferable
    not to be changing the "init" and "update" semantics in the meantime)
  8. @SteveSanderson
Commits on Jan 30, 2012
  1. @SteveSanderson

    When building selectedValues, append to existing array instance rathe…

    SteveSanderson authored
    …r than replacing with a new instance (just for consistency with other code in that method)
    
    Also make spec slightly more demanding to prove it works with multiple selections
  2. @aaronpowell

    Fixing defect 300

    aaronpowell authored
    - Added a check for optgroup and if found it'll reuse the method passing in the optgroup
    - Added a test to validate
Commits on Jan 26, 2012
  1. @SteveSanderson
  2. @SteveSanderson
Commits on Jan 25, 2012
  1. @SteveSanderson
  2. @SteveSanderson
  3. @SteveSanderson

    Rebuild

    SteveSanderson authored
  4. @SteveSanderson
Commits on Jan 23, 2012
  1. @mbest

    adding the other core changes from #286 :

    mbest authored
    * Chrome sometimes appends a newline to innerText but not to textContent; so textContent is better in Chrome
    * Calling the init and update function on the object means we can use 'this' in the functions.
  2. @mbest

    remove allowedVirtualElementBindings export since ko.virtualElements.…

    mbest authored
    …allowedBindings is now exported as is; remove extra space in spec test
  3. @SteveSanderson
  4. @mbest
Commits on Jan 20, 2012
  1. @mbest

    Export virtualElements; update bindingAttributeSyntax and templating …

    mbest authored
    …to work with non-template virtual elements
Commits on Jan 17, 2012
  1. @SteveSanderson

    Harden moveNodesToContainerElement by cloning the incoming node colle…

    SteveSanderson authored
    …ction (to ensure the contents don't change during iteration)
  2. @mbest

    Use div element instead of doc fragment; change 'fragment' to 'nodes'…

    mbest authored
    …; 'text' can be set from 'nodes' but not vice versa.
  3. @mbest
  4. @SteveSanderson

    Setting template engines back to output DOM node arrays (even when wo…

    SteveSanderson authored
    …rking from templates stored as document fragments) for simplicitly, as the perf appears indistinguishable
  5. @SteveSanderson

    For backward compatibility, revert jqueryTmplTemplateEngine to return…

    SteveSanderson authored
    … a DOM node array instead of a docFrag.
    
    (Other template engines might inherit from it, and make assumptions about the result type)
  6. @SteveSanderson

    For backward compatibility, ensure that templateSources always supply…

    SteveSanderson authored
    … a value for text() (where needed, by constructing and caching the value lazily based on the underlying doc frag). This also simplifes code elsewhere.
    
    Also renamed createAndPopulateDocumentFragment to moveNodesToDocumentFragment to emphasize that it detaches the suppled nodes from their original parent
Commits on Jan 16, 2012
  1. @mbest @SteveSanderson

    don't use cloneNode for IE<9

    mbest authored SteveSanderson committed
Something went wrong with that request. Please try again.