Skip to content

Instantly share code, notes, and snippets.

@solisoft
Last active October 4, 2016 14:49
Show Gist options
  • Select an option

  • Save solisoft/ce8fe6fa04efe398abb884bdc41c1d21 to your computer and use it in GitHub Desktop.

Select an option

Save solisoft/ce8fe6fa04efe398abb884bdc41c1d21 to your computer and use it in GitHub Desktop.
var loadFields = function() {
// { r: new_row, c: classname, n: name/id, t: type, j: joi validation, l: label, d: data list }
fields = [
]
schema = {}
each(fields, function(f) {
schema[f.n] = f.j
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment