Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 368 commits
  • 74 files changed
  • 0 comments
  • 13 contributors
This comparison is big! We're only showing the most recent 250 commits
Oct 17, 2011
Steven Sanderson SteveSanderson Update the build following re-application of missing commits 7e3ebc3
Oct 19, 2011
Andrew Nikolaev Fix render array with \"undefined\" and \"null\" items in \"foreach\"…
… template
44de7b1
Andrew Nikolaev minor fix 67ce38c
Oct 21, 2011
Andrew Nikolaev Refactor bad code df40d64
Oct 22, 2011
Mark Bradley barkmadley added $index value in the binding context of foreach templates. ad5beb8
Mark Bradley barkmadley forgot this function also requires the index. 3bb1adc
Oct 23, 2011
Mark Bradley barkmadley new test, this one makes sure that the indices update as the relevant…
… nodes move around.
8de3398
Mark Bradley barkmadley first guess at how to support modifying observable indices. 9be31b2
Mark Bradley barkmadley comments. 0076b3c
Oct 24, 2011
Mark Bradley barkmadley we need to create the new indices by tracking added and retained node…
…s, using i is insufficient.
23dfe19
Steven Sanderson SteveSanderson Eliminate redundant IE6/7 workarounds for radio/checkbox issues. Thes…
…e problems no longer apply now that bindings are always applied to elements after they've been put into the DOM. Fixes issue #169
b2c5443
Steven Sanderson SteveSanderson Merge branch 'master' of https://github.com/aaronpowell/knockout into…
… aaronpowell-master
94098b4
Steven Sanderson SteveSanderson Stylistic tweaks to previous commit c64e53b
Steven Sanderson SteveSanderson Merge pull request #131 from SimonBartlett/master
Fixed a variable which should not have been global.
70fe9fb
Oct 25, 2011
Mark Bradley barkmadley finally cracked it. the problem was duplicate context creation.
it is also necessary to perform double buffering of the stored contexts such
that we do not overwrite new nodes or move new nodes by mistake.
c8a3839
Steven Sanderson SteveSanderson Merge branch 'fix-remove' of https://github.com/studgeek/knockout int…
…o studgeek-fix-remove
fa48e02
Steven Sanderson SteveSanderson Minor indentation tweaks 95d2a7e
Steven Sanderson SteveSanderson Update the build 74d004c
Steven Sanderson SteveSanderson More indentation tweaks for tidiness 1f77faa
Oct 26, 2011
Bardur Pihl b-dur arrayPushAll function is modified.
Check if valuesToPush parameter is an Array. If so, then push whole content to array.

Advantage: Subscribers are only called once and not [valuesToPush.length] times.
791be9e
Oct 27, 2011
Mark Bradley barkmadley Merge branch 'master' into foreach-context-index
* master:
  More indentation tweaks for tidiness
  Update the build
  Minor indentation tweaks
  Stylistic tweaks to previous commit
  Eliminate redundant IE6/7 workarounds for radio/checkbox issues. These problems no longer apply now that bindings are always applied to elements after they've been put into the DOM. Fixes issue #169
  Refactor bad code
  minor fix
  Fix render array with \"undefined\" and \"null\" items in \"foreach\"  template
  Updated remove and removeAll to modify their underlying arrays rather than creating new arrays. This makes them consistent with the rest of the array write functions. Added tests to verify original array is modified. Also added test to verify there is no notification when nothing is removed.
  changing IE detection to not rely on user agents
  Fixed a variable which should not have been global.
d190e51
Nov 02, 2011
Ben Hockey neonstalwart toJS: added test case for serializing Dates with ko.toJS bb380d0
Ben Hockey neonstalwart toJS: don't recurse over properties for Date objects when serializing de07479
Ben Hockey neonstalwart binding attributes: notifications from init should not call init (#187)
this is a test case for #187
1cace84
Ben Hockey neonstalwart binding attributes: prevent multiple calls to init. fixes #187 d2f0246
Nov 04, 2011
Steven Sanderson SteveSanderson Prevent update-before-init situation d727e48
Steven Sanderson SteveSanderson Remove accidental line of code 55fd090
Steven Sanderson SteveSanderson Fix issue #188 (ko.utils.parseHtmlFragment incorrect on IE < 9 if sub…
…elements contain leading comment nodes)
6648861
Nov 05, 2011
Steven Sanderson SteveSanderson Fix for issue #186 4c32de9
Steven Sanderson SteveSanderson Update the build c9b728e
Steven Sanderson SteveSanderson Fix for issue #185 b0bcba0
Nov 07, 2011
Steven Sanderson SteveSanderson Fix for issue #134. Thanks dre2901!
Note: was not able to add a spec to repro the issue, as it's an IE-specific weirdness that only occurs following user interaction. The user has to open a drop-down list, which you can't trigger programmatically.
0b9e9ce
Steven Sanderson SteveSanderson Support ko.dependentObservable({read:..., write:...}, owner) syntax, …
…as per request in issue #113
1dc5814
Steven Sanderson SteveSanderson Fix issues #195 and #197 (uniqueName binding on IE7). Note that to re…
…pro the original bug, you have to run a real IE7 instance, *not* IE9 in IE7 mode.
3f6e2cc
Steven Sanderson SteveSanderson Update the build 9d07b9d
Nov 09, 2011
Steven Sanderson SteveSanderson Fix issue #58 (order of 'options' and 'value' matters in FF and Chrome) 0ad4f49
Steven Sanderson SteveSanderson Update the build 2d1b5ad
Steven Sanderson SteveSanderson Make it possible to create custom control flow bindings (publicly exp…
…ose the relevant APIs)
eea5885
Steven Sanderson SteveSanderson Rebuild 905b758
Steven Sanderson SteveSanderson Expose ko.applyBindingsToDescendants c1d4d08
Nov 16, 2011
Steven Sanderson SteveSanderson Merge branch 'toJS' of https://github.com/neonstalwart/knockout into …
…neonstalwart-toJS
2be4d35
Steven Sanderson SteveSanderson Updated the build e20cc9e
Steven Sanderson SteveSanderson Removing JsRender integration (it appears that JsRender itself is no …
…longer backward compatible with jquery-tmpl)
63d53d4
Steven Sanderson SteveSanderson Observables can now declare that their value is going to change
Subscribers can specify whether they want to be notified before or after a change to an observable/dependentObservable value
22d58ae
Steven Sanderson SteveSanderson Fix bug introduced in earlier commit: Don't refer try to access "jQue…
…ry" unless it exists
fcf0f8c
Steven Sanderson SteveSanderson Ensure all .innerHTML writes go through ko.utils.setHtml 00ab90c
Nov 17, 2011
Steven Sanderson SteveSanderson Fix issue #194 (HTML5 elements on IE < 9) a697229
Steven Sanderson SteveSanderson Bump version number up to 1.3.0rc and rebuild a6b39d7
Nov 28, 2011
Steven Sanderson SteveSanderson Fix issue #212 and update build ff6cb2d
Dec 01, 2011
Steven Sanderson SteveSanderson Fixed issues #209 and #143 (IE9 not updating text) and rebuilt eef5fd3
Dec 12, 2011
Steven Sanderson SteveSanderson Added possibility of overriding notifySubscribers 2b978e6
Steven Sanderson SteveSanderson Added "notify" extender for controlling whether notifications fire wh…
…en the new value is unchanged
5c1eabf
Steven Sanderson SteveSanderson Fix issue #215 (Chrome dropdown scrolling weirdness - thanks to mbest…
… for this)
4d8b927
Dec 13, 2011
Steven Sanderson SteveSanderson Fix a memory leak associated with using jQuery to parse HTML (#228) 3a525ed
Steven Sanderson SteveSanderson Event bindings (currently, "click" and "event") now supply your model…
… object as their first parameter, with the event object being moved to the second parameter.

This is a deliberate breaking change since 1.2.x - it makes your viewmodel code tidier in many cases.
0929fae
Steven Sanderson SteveSanderson Add spec to ensure browsers consistently pass args to event handlers …
…where you use ".bind(...)"
fca15fd
Steven Sanderson SteveSanderson Fixed two specs that were giving false negatives on IE<9. df9acea
Dec 14, 2011
Steven Sanderson SteveSanderson Trim down some unnecessarily long string literals afbbf24
Steven Sanderson SteveSanderson Make the previous "event args" change work on IE6 too c5da642
Steven Sanderson SteveSanderson Update version header to 2.0.0rc and rebuild 1d12b5f
Dec 19, 2011
Steven Sanderson SteveSanderson "foreach" binding should tolerate being bound to "undefined" (and in …
…that case, produce no output)
5f3b8c8
Dec 20, 2011
Steven Sanderson SteveSanderson Fix issue #223 (enable OPTION values to stay numerical and not get co…
…erced to strings)
d81ed8a
Steven Sanderson SteveSanderson Update version header to 2.0rc2; rebuild cd23258
Steven Sanderson SteveSanderson Perf improvement in setTextContent (mainly fixes Chrome slowness) cfa9ac4
Steven Sanderson SteveSanderson Also apply equivalent setTextContent perf improvement to "options" bi…
…nding
c42966c
Dec 21, 2011
Steven Sanderson SteveSanderson Reduce scope of #209 fix to IE9+ (don't want to make older IE version…
…s do more work)
0af5407
Steven Sanderson SteveSanderson Update version header to 2.0.0 and rebuild 28169e7
Dec 22, 2011
Mark Bradley Merge branch 'master' into foreach-context-index
Conflicts:
	spec/templatingBehaviors.js
	src/binding/editDetection/arrayToDomNodeChildren.js
	src/templating/templating.js
0535189
Mark Bradley Merge branch 'master' into foreach-context-index 9e91edb
Michael Best mbest #10: cache the compiled bindings 7633902
Dec 28, 2011
Michael Best mbest optimize dependency tracking within computed observables; some minor …
…reorganization
4ae3405
Jan 02, 2012
Michael Best mbest More optimization/reorganization of computed. eee91a1
Jan 03, 2012
Steven Sanderson SteveSanderson Eliminate evalWithinScope as it is no longer required (buildEvalWithi…
…nScopeFunction has replaced it), plus factor out a couple of minor functions for readability
b9ffa76
Steven Sanderson SteveSanderson Merge branch 'computed_optimize' of https://github.com/mbest/knockout
…into mbest-computed_optimize
b6f22ed
Jan 04, 2012
Steven Sanderson SteveSanderson Make setTextContent massively faster on IE 4f70985
Ben Hockey neonstalwart amd: register knockout with amd id "ko" if amd loader available c697f6f
Ben Hockey neonstalwart amd: rebuild with amd support 62e22a7
Ben Hockey neonstalwart amd: register ko as an anonymous AMD module 39caa75
Matthew Smith Added a build for a NodeJs module, also included document and navigat…
…or to the build wrapper function.
327f87b
Matthew Smith Rebuilt 42937be
Jan 05, 2012
Steven Sanderson SteveSanderson Update parseBindingsString logic to be consistent with KO 2.0.0 regar…
…ding treatment of non-object viewmodel values (thanks, mbest!)
f5c070d
Matthew Smith Changed '>>' to '>' as per Steve Sandersons recommendations fae1184
Matthew Smith Remove Node build in favor of recommendation to create a separate rep…
…ository that does this independently.
7e3c6c5
Steven Sanderson SteveSanderson Move some parts of the build system into a "/build/fragments" subfold…
…er for tidiness
6cd2156
Steven Sanderson SteveSanderson Attach all KO internals to koExports, even privates, for consistency …
…with KO 2.0.0

In the future, to coincide with a bigger release, ko/koExports may be differentated so that privates are not externally reachable
However, it would then become a little confusing that "ko" means two different things: internally, it would be where non-exports are kept, and externally, it would be where exports are kept (agh!) so that change may require bigger refactoring to avoid confusion
d8b1dc7
Jan 06, 2012
Steven Sanderson SteveSanderson Update amd-pre.js to use AMD *only* when define.amd.ko is true, to av…
…oid breaking backward compatibility.

(Also tweak indentation style to match conventions)
cf426be
Steven Sanderson SteveSanderson Temporarily support only AMD (not exports/module.exports) until we cl…
…arify how to avoid a breaking change
65fee8d
Steven Sanderson SteveSanderson Merge branch 'mtscout6-nodeNpmBuild' 395b32b
Steven Sanderson SteveSanderson Update version header to 2.1.0pre and rebuild 8211460
Jan 09, 2012
Steven Sanderson SteveSanderson Re-enabling CommonJS/Node.js module loader support. Rebuilt. f3158dd
Jan 10, 2012
Steven Sanderson SteveSanderson Update build script to include ko.version (selectively merged from mt…
…scout6's "versioning" branch - thanks Matt!)
c9abfe6
Steven Sanderson SteveSanderson Perform ##VERSION## substitution during Windows build without new bin…
…ary tool dependencies, and simplify Linux build to match
7c9ed58
Steven Sanderson SteveSanderson Rebuild 4bf90c5
Jan 11, 2012
Steven Sanderson SteveSanderson Merge branch 'patch-1' of https://github.com/b-dur/knockout into b-du…
…r-patch-1
87af741
Steven Sanderson SteveSanderson Tweak spacing in code 3f8ed1e
Steven Sanderson SteveSanderson Merge branch 'computed_optimize' of https://github.com/mbest/knockout bdf5c4d
Jan 12, 2012
Steven Sanderson SteveSanderson Ensure computed.get and computed.set aren't publicly reachable (they …
…are an internal implementation detail), and update error message strings to say ko.computed
4dbd6a3
Steven Sanderson SteveSanderson A few extra comments to help me remember this algorithm in the future :)
(and rename "oldSubscriptions" to "disposalCandidates")
a9b316a
Michael Best mbest optimize dispose loop 02cecde
Michael Best mbest add a cache for inline templates that are given a template id (not el…
…ement id)
4474295
Michael Best mbest use DocumentFragment to improve template performance, especially for …
…inline templates
981929e
Jan 13, 2012
Steven Sanderson SteveSanderson Merge branch 'computed_optimize' of https://github.com/mbest/knockout
…into mbest-computed_optimize
cdbce8e
Steven Sanderson SteveSanderson Tweak syntax to use "if" for clarity 2732196
Steven Sanderson SteveSanderson Merge branch 'mbest-computed_optimize' 8f4a726
Steven Sanderson SteveSanderson Fix variable name in merged code 1e2d271
Jan 14, 2012
Michael Best mbest Revert "add a cache for inline templates that are given a template id…
… (not element id)"
5ecbc93
Michael Best mbest don't use cloneNode for IE<9 10c99b8
Jan 16, 2012
Michael Best mbest use DocumentFragment to improve template performance, especially for …
…inline templates
3e2b5a0
Michael Best mbest don't use cloneNode for IE<9 6d0d4bb
Jan 17, 2012
Steven Sanderson SteveSanderson For backward compatibility, ensure that templateSources always supply…
… 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
a83597c
Steven Sanderson SteveSanderson For backward compatibility, revert jqueryTmplTemplateEngine to return…
… a DOM node array instead of a docFrag.

(Other template engines might inherit from it, and make assumptions about the result type)
a1bb34b
Steven Sanderson SteveSanderson Setting template engines back to output DOM node arrays (even when wo…
…rking from templates stored as document fragments) for simplicitly, as the perf appears indistinguishable
5d4ea34
Michael Best mbest Merge 'remotes/upstream/mbest-named_inline_templates' into named_inli…
…ne_templates
185b9c7
Michael Best mbest Use div element instead of doc fragment; change 'fragment' to 'nodes'…
…; 'text' can be set from 'nodes' but not vice versa.
6127d46
Steven Sanderson SteveSanderson Harden moveNodesToContainerElement by cloning the incoming node colle…
…ction (to ensure the contents don't change during iteration)
9cd4faa
Jan 20, 2012
Michael Best mbest Export virtualElements; update bindingAttributeSyntax and templating …
…to work with non-template virtual elements
cb1043a
Jan 23, 2012
Michael Best mbest add spec tests; don't export functions that are not minified b9e0473
Steven Sanderson SteveSanderson Fix issue #288 (don't throw bare strings) a67a13a
Michael Best mbest remove allowedVirtualElementBindings export since ko.virtualElements.…
…allowedBindings is now exported as is; remove extra space in spec test
0b39c9d
Michael Best mbest adding the other core changes from #286 :
* 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.
30d0576
Jan 25, 2012
Steven Sanderson SteveSanderson Fix issue #287 (memory leak in certain nested containerless template …
…situations)
e911bd3
Steven Sanderson SteveSanderson Rebuild 7da2a15
Steven Sanderson SteveSanderson Further fix needed for #287 a2c35d2
Steven Sanderson SteveSanderson Don't minify names of properties on ko.observableArray.fn (fixes #276) e70c20d
Jan 26, 2012
Steven Sanderson SteveSanderson Respect custom toJSON functions on ko.toJSON-mapped arrays (fixes #278) 416ef0d
Steven Sanderson SteveSanderson Remove unnecessary "new" when creating ko.observable/ko.observableArray 723de75
Jan 30, 2012
Aaron Powell aaronpowell Fixing defect 300
- Added a check for optgroup and if found it'll reuse the method passing in the optgroup
- Added a test to validate
6f29dc3
Steven Sanderson SteveSanderson When building selectedValues, append to existing array instance rathe…
…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
bc739b6
Feb 02, 2012
Steven Sanderson SteveSanderson Reverting the change to invokeForEachNodeOrCommentInParent (until I u…
…nderstand what it was for)
0985be0
Steven Sanderson SteveSanderson Reverting the way binding handlers' "init" and "update" functions are…
… 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)
8df7869
Steven Sanderson SteveSanderson Replace automatic inheritance of all bindingContext properties with n…
…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.
ab8087e
Steven Sanderson SteveSanderson Minor stylistic tweaks to new specs 4c96776
Steven Sanderson SteveSanderson Force custom bindings to correctly construct child bindingContexts us…
…ing the parent context by not exporting ko.bindingContext

(i.e., stop custom bindings from calling "new ko.bindingContext" directly)
04b41f7
Steven Sanderson SteveSanderson Extra spec to clarify need for applyBindingsToNodeAndDescendantsInter…
…nal to bind descendant elements even if the supplied node is a comment node
8b4a38b
Steven Sanderson SteveSanderson "isRootNodeForBindingContext" was getting very confusing because it w…
…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
af026b0
Steven Sanderson SteveSanderson Account for mbest's extra spec about top-level virtual elements in te…
…mplate output
f673df3
Feb 03, 2012
Steven Sanderson SteveSanderson Continuation of pull request #290: Allow binding contexts to be exten…
…ded (i.e., get a clone plus extra properties), and make them inherit custom properties from parent by default
c812392
Steven Sanderson SteveSanderson Merge branch 'mbest-external-containerless-bindings' 23893cf
Steven Sanderson SteveSanderson Rebuild 52343a4
Feb 07, 2012
Steven Sanderson SteveSanderson Fix issue #310 (build on Mac OS X) 540568d
Feb 08, 2012
Steven Sanderson SteveSanderson Fix for #312 (workaround IE9 SELECT rendering bug) 9f3125e
Steven Sanderson SteveSanderson Rebuild 0b44229
Steven Sanderson SteveSanderson Fix issue in minified build whereby models with a property called "B"…
… would incorrectly be identified as (not) observable
e9b12ad
Feb 10, 2012
Trey Shugart treshugart Fix issue where 'class' attribute in the 'attr' binding does not work…
…in IE7 or lower. In those instances, one would have to use 'className' and 'class' to support all browsers.
82e9ecc
Feb 17, 2012
Ryan Niemeyer rniemeyer Avoid adding a leading space to a single class added by css binding. …
…Avoid splitting classes into an array twice when removing a class.
bb05d63
Ryan Niemeyer rniemeyer No need for length check. Was thinking of a class named 0, which is n…
…ot valid and would be the string "0" anyways and not falsey.
248e063
Feb 22, 2012
Michael Best mbest Fix for #273: select box will flicker in IE 7de57bf
Michael Best mbest #225: For debugging, add ability to view value of observables as prop…
…erty of object, but only in debug build of Knockout.
9e95506
Michael Best mbest #216 - Support named templates in textarea elements. 6b0d14d
Michael Best mbest #54 - use lower case for all tags to support xhtml 7c62b80
Michael Best mbest Merge barkmadley:foreach-context-index into 182-foreach-index
Conflicts:
	spec/templatingBehaviors.js
	src/templating/templating.js
37ffbac
Michael Best mbest Continuation of #182 - Simplify by having setDomNodeChildrenFromArray…
…Mapping manage the observable index.
2c3b918
Feb 24, 2012
Steven Sanderson SteveSanderson Eliminate no-longer-needed Chrome/IE bug fix (#273) 7845ad5
Steven Sanderson SteveSanderson Add ko.isComputed function 7c1ca71
Steven Sanderson SteveSanderson Rebuild 5aaca60
Steven Sanderson SteveSanderson Make Windows build produce unix-style line endings 2699110
Michael Best mbest Fix related bug that affects IE8 (maybe other versions):
Selecting second item in a size>1 select will move scroll down one item.
2051074
Michael Best mbest #323 - set/unset 'class' (and 'for') attributes correctly in IE <= 8 1f93a58
Michael Best mbest Merge pull request #334 from rniemeyer/css-binding-prevent-leading-space
Avoid adding a leading space in css binding.
a2744a0
Michael Best mbest Merge pull request #268 from SteveSanderson/268-isComputed
add a 'ko.isComputed' function
b4b50e8
Feb 25, 2012
Michael Best mbest foreach $index: fix spec that failed in IE; help performance a bit
renderTemplateForEach now assumes that setDomNodeChildrenFromArrayMapping will call the mapping callback and then the afterAdding callback once for each new or changed item. Modify specs to verify this behavior.
3146a3a
Michael Best mbest Extend the specs for setDomNodeChildrenFromArrayMapping to include re…
…placing a value through an observable item.
35704d9
Michael Best mbest #139 - expose optional JSON.stringify arguments in ko.toJSON
These are replacer and space.
0d1b566
Feb 26, 2012
Steven Sanderson SteveSanderson Added a spec for the replacer/space options 98c6064
Steven Sanderson SteveSanderson Merge branch '139-expose-JSON-stringify-args' 0c9418c
Steven Sanderson SteveSanderson Merge remote-tracking branch 'GitHub/master' ba7d91e
Steven Sanderson SteveSanderson Merge branch '323-IE-class-attr' 768248b
Steven Sanderson SteveSanderson Merge pull request #273 from SteveSanderson/273-select-flicker
select box will flicker in IE
72ed31e
Steven Sanderson SteveSanderson Factor out the tag name case conversions into a single function to re…
…duce minified code size and clarify usage
dd179ad
Steven Sanderson SteveSanderson Merge pull request #216 from SteveSanderson/216-template-in-textarea
Support named templates in textarea tags
08448b7
Steven Sanderson SteveSanderson Merge branch 'master' into 54-support-xhtml 1f334da
Steven Sanderson SteveSanderson Tweak implementation of `ko.templateSources.domElement.text` to make …
…use of `ko.utils.tagNameUpper`
6cd4f95
Steven Sanderson SteveSanderson Merge pull request #225 from SteveSanderson/225-observable-value-in-d…
…ebugger

view value of observable in debugger
f8061da
Michael Best mbest #122 - update value model on autocomplete selection in IE
Optimize write calls from binding handlers to use a common function. (Makes this change size neutral.)
3e63a39
Steven Sanderson SteveSanderson Added comments and slight tweak of code style purely to aid my own lo…
…ng-term understanding of this. Core mechanism not affected.
26c9303
Feb 27, 2012
Michael Best mbest Merge remote-tracking branch 'remotes/origin/consistent-builds'
Conflicts:
	build/build-windows.bat
cb6d2c3
Michael Best mbest #260 - Have build scripts report on files with trailing spaces a1cb6df
Michael Best mbest #54 - Always use lower case for tag names. 3734c4f
Feb 28, 2012
Michael Best mbest Have specs run with DEBUG=true (#225) e08ed36
Mar 05, 2012
Michael Best mbest #290 - make sure bindingContext.extend works in minified code 1504539
Mar 09, 2012
Steven Sanderson SteveSanderson Continuation of #122 - now ensure observables are only written once (…
…previously, IE would update the observable twice)
e5e7dbd
Steven Sanderson SteveSanderson Merge commit '3734c4fbb1f8dca964755546b204c9609ccc60f2' 38c9784
Michael Best mbest Merge pull request #122 from SteveSanderson/122-IE-autocomplete
Internet Explorer and AutoComplete
da28f76
Mar 13, 2012
Giles GilesBradshaw Ko missing in spec 868477f
Giles GilesBradshaw applyBindingsToDescendants called with extra parameter f3e46fc
Mar 14, 2012
Michael Best mbest #361 - bindingContext.extend uses clone instead of child context f2031a4
Mar 15, 2012
Steven Sanderson SteveSanderson Merge pull request #386 from GilesBradshaw/MinorSpecFix
applyBindingsToDescendants called with extra parameter in spec
bc98894
Michael Best mbest #387 - prevent recursive evaluation of computed observables c0a3200
Mar 20, 2012
Steven Sanderson SteveSanderson Merge pull request #384 from GilesBradshaw/MissingKo
Ko missing in spec
440a933
unknown Added comment to help keep a record of why inner evaluation is skipped e89e12a
unknown Merge branch '387-recursive-computed-eval' 5d9c406
Steven Sanderson SteveSanderson Rebuild 6aec7ff
Mar 21, 2012
Steven Sanderson SteveSanderson Dispose node-related bindings when the node is removed from its *own*…
… doc, not the doc that hosts KO
a68262b
Mar 23, 2012
Steven Sanderson SteveSanderson Find named templates in the same doc as the output node (and cache 'i…
…sRewritten' on a per-doc basis)
e25cf1c
Steven Sanderson SteveSanderson Quote key in object literal to avoid potential minification issues 2be16ae
Steven Sanderson SteveSanderson Fix bug whereby I tried to use an object (not a string) as a hash key…
…. (Bring on EcmaScript 5...)
2db5db5
Michael Best mbest Pass document to template engine directly (not through options). Only…
… cache rewrite status of templates in main document.
31d1857
Michael Best mbest fix typo and change if statements slightly (better minification) 5051ea6
Steven Sanderson SteveSanderson Merge pull request #182 from SteveSanderson/182-foreach-index
added $index value in the binding context of foreach templates.
f9db930
Steven Sanderson SteveSanderson Bump version to 2.1.0beta and rebuild 68c356f
Apr 04, 2012
unknown Make tagNameLower resilient against unexpected inputs 36225f9
unknown Fix #413 (tolerate certain kinds of manual DOM edits while using setD…
…omNodeChildrenFromArrayMapping). Thanks to mbest for the solution.
b88a69a
Michael Best mbest Merge pull request #424 from SteveSanderson/413-arraymapping-tolerate…
…-manual-edits

Fix #413 (tolerate certain kinds of manual DOM edits while using setDomN...
b768098
Michael Best mbest Merge pull request #423 from SteveSanderson/411-tagnamelower-check
Make tagNameLower resilient against unexpected inputs
4ab69a9
Apr 10, 2012
Steven Sanderson SteveSanderson Fix bug introduced in previous commit ('if' test was inverted) 7dfe15e
Steven Sanderson SteveSanderson Cosmetic change to clarify the "isRewritten" caching rules 8aa71c5
Steven Sanderson SteveSanderson Merge branch '153-cross-frame-disposal-with-named-templates' d7c269b
Steven Sanderson SteveSanderson Merge branch 'master' of github.com:SteveSanderson/knockout 35c6384
Michael Best mbest #420 - call cleanNode when saving inline (anonymous) template 77507da
Apr 11, 2012
Steven Sanderson SteveSanderson Add spec to demonstrate this node-cleaning behaviour 49c8eac
Steven Sanderson SteveSanderson Rename moveNodesToContainerElement to moveCleanedNodesToContainerElem…
…ent, so as to better communicate its behaviour
0384099
Michael Best mbest #260 - Move trailing space check to separate scripts. e5a50e0
Apr 13, 2012
Steven Sanderson SteveSanderson Make builds fail if there are unwanted trailing spaces 0ebca1a
Steven Sanderson SteveSanderson Script to ensure all files have trailing linebreak (and are in CP1252…
… format on Windows)
a579491
Steven Sanderson SteveSanderson All files now have trailing linebreak (which is good, because they ge…
…t concatenated together during build)
ab31281
Steven Sanderson SteveSanderson Normalisation script now trims trailing whitespace from lines 8d7481a
Steven Sanderson SteveSanderson Fix typo in build script and ensure the .html files are normalised too 2fbae92
Steven Sanderson SteveSanderson Only strip trailing whitespace from lines that aren't purely whitespa…
…ce (as the gaps within an indented block of code contain valid whitespace-only lines)
d6ae1c4
Steven Sanderson SteveSanderson Ran normalisation script to trim all unwanted trailing whitespace e33ad22
Steven Sanderson SteveSanderson Build scripts should allow lines that are purely whitespace (but not …
…non-whitespace with trailing whitespace)
ac96a71
Michael Best mbest Change check scripts so they work exactly the same. Change normaliseA…
…llFiles.ps1 to strip all trailing spaces (even on blank lines).
edd9c2c
Michael Best mbest Merge remote-tracking branch 'remotes/origin/260-trailing-white-space' 5c6d813
Apr 14, 2012
Steven Sanderson SteveSanderson Amend build checks to disallow trailing whitespace on blank-only line…
…s (so there is now one consistent standard both for normalisation and for build)
82e541b
Steven Sanderson SteveSanderson Remove whitespace from all blank lines, to match the new project stan…
…dard
cbfc4b9
Apr 16, 2012
Steven Sanderson SteveSanderson Avoid incorrect spec failure caused by IE7 putting extra linebreaks i…
…nto HTML
d9fd92e
Steven Sanderson SteveSanderson Avoid "Not implemented" error in specs on IE<8 3c5fee9
Apr 17, 2012
Michael Best mbest #436 - fix HTML5 elems + containerless templates + jQuery spec fails …
…on IE7/8
b0939b5
Apr 18, 2012
Steven Sanderson SteveSanderson Merge pull request #436 from SteveSanderson/436_spec_fix_ie7_jquery
HTML5 elems + containerless templates + jQuery spec fails on IE7/8
4ecb57b
Steven Sanderson SteveSanderson Bump version to 2.1.0rc and rebuild 6a82131
Steven Sanderson SteveSanderson Updated the project's README f4a861a
Apr 23, 2012
Steven Sanderson SteveSanderson Force use of attachEvent when registering "propertychange" events (by…
…passing jQuery too, as that doesn't support "propertychange" at all)
c9f49db
Michael Best mbest #440 - fix problem in 2.1 that foreach doesn't update correctly if fi…
…rst item in rewritten template has a binding

This doesn't fix the core problem that the comment left over from memoization stays in the list of nodes that foreach tracks. But since this change makes 2.1 behave more like 2.0, it's probably sufficient.
587fa01
Apr 25, 2012
Steven Sanderson SteveSanderson Merge branch 'master' of github.com:SteveSanderson/knockout 76bb0b1
Steven Sanderson SteveSanderson Bump version to 2.1.0rc2 and rebuild bbc3b9a
May 07, 2012
Steven Sanderson SteveSanderson Update version header to 2.1.0 and rebuild 203e2f3
May 11, 2012
Michael Best mbest #138 - save local copy of jQuery object; minify extern names for smal…
…ler size (about 300 bytes)
d48ce75
Michael Best mbest #115 - Modify 'css' binding to support multiple classes in a string, …
…and to support setting a class (or classes) dynamically (similar to https://github.com/SteveSanderson/knockout/wiki/Bindings---class)
d1487f8
May 12, 2012
Michael Best mbest #460 `value` binding on `select` will work with `value`-less options 98ba90f
May 14, 2012
Michael Best mbest #460 - Always use value attribute, if specified, even if blank.
Add spec to show that a blank value will be used instead of the option text. Modern browsers automatically set element.value to the text if the value attribute is missing. IE<=7 doesn't and also makes it kind of hard to tell of the value attribute is set or not.
fb0e4c4
May 16, 2012
Steven Sanderson SteveSanderson Patch JsSpec so it logs to the console (for use in CI) 29d853d
Steven Sanderson SteveSanderson Tidy spec runner by moving custom code out into .js file, and prepare…
… to let PhantomJS specify which KO build to test
6cc09d4
Steven Sanderson SteveSanderson Integrate with Travis CI via PhantomJS spec runner 298d91a
Steven Sanderson SteveSanderson Fix file permissions 9c934ef
Steven Sanderson SteveSanderson Workaround IE issue with console.log 6e74c01
Steven Sanderson SteveSanderson Merge pull request #488 from knockout-travis/travis_ci
Continuous integration via Travis CI
365bfee
May 17, 2012
Steven Sanderson SteveSanderson Merge branch '138-jQuery-extern' f0edc52
Steven Sanderson SteveSanderson Simplify CSS class name regex slightly by removing \d, and amend spec…
… to show it still works
cb9ac57
Steven Sanderson SteveSanderson Ensure CSS binding can't try to process non-string values as strings cfd5a8d
Steven Sanderson SteveSanderson Merge branch 'master' into 115-expand-css-binding 1e67e8b
Steven Sanderson SteveSanderson Merge pull request #115 from SteveSanderson/115-expand-css-binding
CSS binding multiple classes in one string not fully supported
e10a189