xml2js.js
 1  // Generated by CoffeeScript 1.12.7
 2  (function() {
 3    "use strict";
 4    var builder, defaults, parser, processors,
 5      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; },
 6      hasProp = {}.hasOwnProperty;
 7  
 8    defaults = require('./defaults');
 9  
10    builder = require('./builder');
11  
12    parser = require('./parser');
13  
14    processors = require('./processors');
15  
16    exports.defaults = defaults.defaults;
17  
18    exports.processors = processors;
19  
20    exports.ValidationError = (function(superClass) {
21      extend(ValidationError, superClass);
22  
23      function ValidationError(message) {
24        this.message = message;
25      }
26  
27      return ValidationError;
28  
29    })(Error);
30  
31    exports.Builder = builder.Builder;
32  
33    exports.Parser = parser.Parser;
34  
35    exports.parseString = parser.parseString;
36  
37  }).call(this);