Skip to content

Commit cd193f8

Browse files
author
wendy@lastlookeditorial.com
committed
Edited ch06.asciidoc with Atlas code editor
1 parent b858eeb commit cd193f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch06.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ function validateAge(value) {
223223
}
224224
----
225225

226-
The following piece of code shows how we could consume the `validator` handler. This general-purpose proxy handler is passed into a `Proxy` for the `person` object. The handler then enforces our schema by ensuring that values set through the proxy pass the schema validation rules for any given property. In this case, we've added a validation rule that says `age` must be a positive numeric value.
226+
The following piece of code shows how we could consume the `validator` handler. ((("validator handler")))This general-purpose proxy handler is passed into a `Proxy` for the `person` object. The handler then enforces our schema by ensuring that values set through the proxy pass the schema validation rules for any given property. In this case, we've added a validation rule that says `age` must be a positive numeric value.
227227

228228
[source,javascript]
229229
----

0 commit comments

Comments
 (0)