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

Updated: Ensure can-value bound input stay in sync with compute #888 #1433

Closed
wants to merge 99 commits into from

Conversation

cklanac
Copy link
Contributor

@cklanac cklanac commented Feb 10, 2015

I merged and resolved conflict from Matthew's original PR #888. And updated setter based on Justin's reco here: #888 (diff)

Matthew's PR fixes issue #887: can-value becomes out of sync when a compute rejects the new value #887

matthewp and others added 30 commits April 16, 2014 14:42
This change ensures that when the compute value is set due to a user
typing into an input, that the input's value is checked against the new
value and that they are the same. Otherwise it is possible for the
compute to reject the input's value (or set it to something else
entirely) and the input and compute value become out of sync. Fixes #887
Using steal-tools to do the pluginify builds
This updates the gruntfile to correctly reflect how options should be
passed into the builder: `main` and `config` are part of the `steal`
options object. Also, main is needed so that will be used as the entry
point instead of Grunt's `files`.
Previously the steal build wasn't getting can/util/util.js because in
stealconfig.js can/util/util is being mapped to can/util/jquery/jquery.
This fixes it by putting the mapping back to can/util/util directly in
the stealify options.
Map is used for the `esc` function.
The steal plugins will use steal syntax because the ES6 system is
dependent on Traceur which doesn't work in IE8 or Phantom 1.x. Once
Phantom 2 is released we can probably start using ES6 syntax.
This updates the builder.json file to work with a new "loader" type that
includes can/util/domless and can/view/stache/system.
Instead of module directly. This is necessary because in the new Steal
module is reserved and not available.
This updates everything needed so that jquery's pluginified test all
pass. The biggest obstacle was that there isn't a central place to get
all of the tests, so I created test/all-tests.js that contain all of the
tests. The old pluginify builder had a way of combining modules that
need to be pluginified into one; the new pluginify doesn't have that.
You must specify a `main` module, which is why all-tests.js was created.
This includes the beginnings of some dojo hacks to get it to run inside
SystemJS.
This is used by bitovi-tools and doesn't need to be in CanJS.
justinbmeyer and others added 27 commits January 7, 2015 12:15
CommonJS build, auto-render and can-import
All tests passing in IE8+ and evergreen browsers.
…is called to allow devs to change scope in destroy
Adding warning if a tag is being redefined
Moved jquery out of travis.yml file and into devDependencies #1418
Unbind component bindings after destroy is called
…tthewp-issue-887

# Conflicts:
#	view/bindings/bindings_test.js
@daffl
Copy link
Contributor

daffl commented Feb 10, 2015

This needs to be submitted against the minor branch. You can change the target branch when creating the PR so we'll probably have to close this one and submit it again.

@cklanac cklanac closed this Feb 11, 2015
@cklanac cklanac deleted the matthewp-issue-887 branch February 13, 2015 05:12
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

7 participants