dist/scripts/scripts.js
function instantiatePrimitive(val) {
  var type = val.type;

  // Support for default values in the JSON Schema.
  if (val.hasOwnProperty('default')) {
    return val.default;
  }

  return typesInstantiator[type];
}
function instantiatePrimitive(val) {
  var type = val.type;

  // Support for default values in the JSON Schema.
  if (val.hasOwnProperty('default')) {
    return val.default;
  }

  return typesInstantiator[type];
}
function instantiatePrimitive ( val ) { var type = val . type ; // Support for default values in the JSON Schema. if ( val . hasOwnProperty ( 'default' ) ) { return val . default ; } return typesInstantiator [ type ] ; }
Instantiate a primitive.
@param val - The object that represents the primitive.
@returns {*}
Instantiate a primitive .