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

syntax highlighting training #113

Merged
merged 1 commit into from
Jun 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions reflections/observe/observe.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = {
* can-reflect.onKeyValue. The function passed as `handler` will receive the new value of the property
* as the first argument, and the previous value of the property as the second argument.
*
* ```
* ```js
* var obj = new DefineMap({ foo: "bar" });
* canReflect.onKeyValue(obj, "foo", function(newVal, oldVal) {
* console.log("foo is now", newVal, ", was", oldVal);
Expand All @@ -63,7 +63,7 @@ module.exports = {
* [can-reflect/observe.onKeyValue onKeyValue]. The function passed as `handler` will no longer be called
* when the value of `key` on `obj` changes.
*
* ```
* ```js
* var obj = new DefineMap({ foo: "bar" });
* var handler = function(newVal, oldVal) {
* console.log("foo is now", newVal, ", was", oldVal);
Expand Down Expand Up @@ -94,7 +94,7 @@ module.exports = {
* can-reflect.onKeys. The function passed as `handler` will receive an Array of object diffs (see
* [can-util/js/diff-object/diff-object diffObject] for the format) as its one argument.
*
* ```
* ```js
* var obj = new DefineMap({ foo: "bar" });
* canReflect.onKeys(obj, function(diffs) {
* console.log(diffs);
Expand Down