Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Replace definition function with data structure #26

Closed
gr0uch opened this issue May 30, 2016 · 1 comment
Closed

Replace definition function with data structure #26

gr0uch opened this issue May 30, 2016 · 1 comment

Comments

@gr0uch
Copy link
Owner

gr0uch commented May 30, 2016

Previously the definition function existed to validate inputs but now validation is handled at the end. It is possible to replace the second argument of bindObject with a data structure:

$(data, [ fragment, {
  name: [ '.name' ],
  details: [ '.details', {
    size: [ '.size', function mutator () { ... } ],
    vendor: '.vendor'
  }, function mount () { ... } ]
} ])
@gr0uch gr0uch changed the title Replace binding function with data structure Replace definition function with data structure May 30, 2016
@gr0uch
Copy link
Owner Author

gr0uch commented May 30, 2016

Done 87d2175.

@gr0uch gr0uch closed this as completed May 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant