Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add knockout proper, with spec #54

Merged
merged 81 commits into from
Jun 15, 2018
Merged

Add knockout proper, with spec #54

merged 81 commits into from
Jun 15, 2018

Conversation

brianmhunt
Copy link
Member

re. #50

…sting

If we use `dist/knockout.js` for testing the knockout package, then we have to recompile every single dependency.  If we attempt to link directly to the files `src/index.js` as we do for the .es6 variants then Typescript does not inject its tslib dependencies.

So we test off of `dist/knockout.es6.js`.  One still has to recompile knockout to re-test every change.
Adds option `bindingStringPreparsers`
…uilder`

This may have caused a couple regressions in tests, but they should be easy to find.
Note: arguments are not yet respected by the parser/interpreter.
@mbest - what do you think of the `addCleaner` and `removeCleaner` API?  Or is that just overkill?
@mbest what do you think of this API?

Do you think `BindingResult` should include the node bound and binding context?  That would be useful for debugging, and open up other useful possibilities - but might be outside the clean, core API.
This should be the superclass of every class that bindings descendants, e.g. `if`, `with`, `foreach`, `template`.
This patch should bring parity with #2364, subject to the individual bindings (to be a separate commit)
In tko, `valueAccessor` with a parameter sets the value of the underlying data/observable.  So we pass the value needed for extending an async context by binding the function’s `this`.
Also fix the upstream fix for a custom element tests misssing a `tick` and `template`.
1. Fix the subscribable -> dependencyDetection -> … circular dependency
2. Always use `Object.setPrototypeOf`; this introduces a polyfill requirement/dependency for IE9.
Updated since merges from master.
It’s unusual & unexpected that `_contextExtensions` is being called multiple times; this may be a regression that needs investigation.
# Conflicts:
#	Backers.md
#	packages/tko/src/index.js
@brianmhunt brianmhunt merged commit 93ace3f into master Jun 15, 2018
@brianmhunt brianmhunt deleted the 50-knockout branch June 15, 2018 17:34
@brianmhunt
Copy link
Member Author

Noting the outstanding issues in #68 and #69 #70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants