Last active
October 4, 2016 14:49
-
-
Save solisoft/ce8fe6fa04efe398abb884bdc41c1d21 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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