Skip to content

Commit

Permalink
syntax highlighting training fixes #111
Browse files Browse the repository at this point in the history
  • Loading branch information
Aosanders committed Jun 1, 2018
1 parent c42bba8 commit aaed7a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reflections/observe/observe.js
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

0 comments on commit aaed7a8

Please sign in to comment.