Commit 3a1c650
Added a troubleshooting note to Property definitions (#134)
* Added a troubleshooting note to Property definitions
A gotcha, that caused me several hours of time, is forgetting to make each property of defaults an object.
If it's not an object, bad things happen and you end up with this error "Cannot use 'in' operator to search for 'required' in jquery" in the console.
* Updated to protect against future code changes
Removed the note I had previously added, and changed the first line in Property definitions to read:
The entries in the `defaults` object must be objects and can have the following attributes:
The note I had previously added did not protect the document against future code changes.1 parent ef1e035 commit 3a1c650
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments