/** js sequence diagrams 2.0.1 * https://bramp.github.io/js-sequence-diagrams/ * (c) 2012-2017 Andrew Brampton (bramp.net) * @license Simplified BSD license. */ (function() { 'use strict'; /*global Diagram */ // The following are included by preprocessor */ // #include "build/diagram-grammar.js" // #include "src/theme.js" // #ifdef SNAP // #include "src/theme-snap.js" // #endif // #ifdef RAPHAEL // #include "src/theme-raphael.js" // #include "fonts/daniel/daniel_700.font.js" // #endif // #include "src/sequence-diagram.js" // #include "src/jquery-plugin.js" // Taken from underscore.js: // Establish the root object, `window` (`self`) in the browser, or `global` on the server. // We use `self` instead of `window` for `WebWorker` support. var root = (typeof self == 'object' && self.self == self && self) || (typeof global == 'object' && global.global == global && global); // Export the Diagram object for **Node.js**, with // backwards-compatibility for their old module API. If we're in // the browser, add `Diagram` as a global object. if (typeof exports !== 'undefined') { if (typeof module !== 'undefined' && module.exports) { exports = module.exports = Diagram; } exports.Diagram = Diagram; } else { root.Diagram = Diagram; } }());