Permalink
Commits on Dec 14, 2016
  1. Merge pull request #2171 from knockout/1735-spectate-event

    observables notify a "spectate" event whenever their value changes.
    mbest committed on GitHub Dec 14, 2016
  2. Expand pureComputed spectate test to show why the version needs to be…

    … updated before the spectate event.
    mbest committed Dec 14, 2016
Commits on Dec 12, 2016
  1. Fixes #1943: prevent circular deferred computeds from causing infinit…

    …e loop by preventing recursive dirty notifications.
    mbest committed Dec 12, 2016
  2. Fixes #1740: Don't clean nodes that are removed during the clean proc…

    …ess. This fix works because the HTMLCollection returned by getElementsByTagName is live and will reflect nodes added or removed after it's run. It's not okay to add/remove nodes before the one being cleaned, so doing so will throw an exception.
    mbest committed Dec 12, 2016
Commits on Dec 10, 2016
  1. observables notify a "spectate" event whenever their value changes. T…

    …his is like the "change" event but is not delayed by rateLimit/deferred and will notify when a sleeping pure computed observable gets a new value (by being accessed). Subscribing to "spectate" will not awaken a sleeping pure computed either.
    mbest committed Dec 10, 2016
Commits on Dec 6, 2016
  1. Merge pull request #1811 from knockout/1811-using-binding

    Add new with-type binding that is useful for tracking non-identity changes
    mbest committed on GitHub Dec 6, 2016
  2. fixes #1796 - in cross window situation, load template from same wind…

    …ow in template/foreach
    mbest committed Dec 6, 2016
  3. Fixed #2078: use jQuery's on if available instead of bind

    test with ?jquery=3.1.1.slim to check that "on" is used
    test with ?jquery=1.6.1 to check that "bind" is used
    mbest committed Dec 6, 2016
Commits on Dec 4, 2016
  1. Accept bindings with comments (either C++ or C style) fixes #1524 and…

    … with backtick strings (template literals) fixes #2064
    mbest committed Dec 4, 2016
Commits on Dec 3, 2016
  1. Fixes #2151 Problem when valueAllowUnset is true and option value is …

    …0 and model value is null
    mbest committed Dec 3, 2016
  2. Throw an error from ko.isObservable if it detects an observable from …

    …another Knockout instance. fixes #1344
    
    ko.isObservable(ko.computed) now returns false. fixes #1958
    mbest committed Dec 3, 2016
  3. Add textInput autocomplete workaround for IE 10 and possibly others. …

    …Fixes #1167
    
    Make textInput catch ESC changes in IE. Fixes #1678
    mbest committed Oct 22, 2014
Commits on Jan 15, 2016
  1. Enhance fix for #1975 to only re-evaluate if the awakened dependency …

    …changes. Also add a lower-level test.
    mbest committed Jan 15, 2016
  2. Fix for #1975. Issue occurs when a computed is changed when awakening…

    … that dependent sleeping computed observables don't know that it was changed.
    mbest committed Jan 15, 2016
Commits on Jan 14, 2016
  1. Merge pull request #1974 from ThomasMichon/array-subscriptions

    Restore original notifySubscribers method when unsubscribing from arrayChange events
    mbest committed Jan 14, 2016
Commits on Jan 13, 2016
  1. Add new test for notifySubscribers cleanup

    Added a new test which verifies that unsubscribing from an arrayChange
    event restores the previous notifySubscribers implementation.
    ThomasMichon committed Jan 13, 2016
  2. Clean up arrayChange notifySubscribers wrapper

    Added logic to remember and restore the
    underlyingNotifySubscribersFunction captured by the trackChanges method
    when using a trackArrayChanges extender.
    ThomasMichon committed Jan 13, 2016
Commits on Jan 11, 2016
  1. Merge pull request #1953 from knockout/1710-class-binding-part2

    Change 'class' binding to only support class string
    mbest committed Jan 11, 2016
Commits on Dec 11, 2015
  1. "class" binding only support class string. "css" binding continues to…

    … support object and string forms.
    mbest committed Dec 11, 2015
Commits on Nov 25, 2015
  1. Merge pull request #1710 from knockout/1710-class-binding

    Allow Dynamic and Static Classes with CSS Binding
    mbest committed Nov 25, 2015
Commits on Nov 24, 2015
Commits on Nov 20, 2015
  1. Merge pull request #1792 from knockout/1792-let-binding

    Feature request: alias binding
    rniemeyer committed Nov 20, 2015
  2. When using contains, compare the parent if not an element.

    One of the "using" tests failed in PhantomJS because PhantomJS doesn't support "contains" for comments.
    mbest committed Nov 20, 2015
  3. Add let binding

    mbest committed Nov 20, 2015
  4. Add class as an alias of css. This allows for combined static and dyn…

    …amic class bindings.
    mbest committed Nov 20, 2015
Commits on Nov 19, 2015
  1. Add bindingContext option to "export" dependencies. This means that t…

    …he context won't track the dependencies, but they should be tracked by the calling code, which is responsible for re-creating the context. Use this option for "with" and "template".
    mbest committed Nov 19, 2015