You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1003 B
JavaScript
38 lines
1003 B
JavaScript
5 years ago
|
// Generated by CoffeeScript 1.12.7
|
||
|
(function() {
|
||
|
"use strict";
|
||
|
var builder, defaults, parser, processors,
|
||
|
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
|
||
|
hasProp = {}.hasOwnProperty;
|
||
|
|
||
|
defaults = require('./defaults');
|
||
|
|
||
|
builder = require('./builder');
|
||
|
|
||
|
parser = require('./parser');
|
||
|
|
||
|
processors = require('./processors');
|
||
|
|
||
|
exports.defaults = defaults.defaults;
|
||
|
|
||
|
exports.processors = processors;
|
||
|
|
||
|
exports.ValidationError = (function(superClass) {
|
||
|
extend(ValidationError, superClass);
|
||
|
|
||
|
function ValidationError(message) {
|
||
|
this.message = message;
|
||
|
}
|
||
|
|
||
|
return ValidationError;
|
||
|
|
||
|
})(Error);
|
||
|
|
||
|
exports.Builder = builder.Builder;
|
||
|
|
||
|
exports.Parser = parser.Parser;
|
||
|
|
||
|
exports.parseString = parser.parseString;
|
||
|
|
||
|
}).call(this);
|