1/** js sequence diagrams
2 *  https://bramp.github.io/js-sequence-diagrams/
3 *  (c) 2012-2017 Andrew Brampton (bramp.net)
4 *  Simplified BSD license.
5 */
6/*global jQuery */
7if (typeof jQuery != 'undefined') {
8  (function($) {
9    $.fn.sequenceDiagram = function(options) {
10      return this.each(function() {
11        var $this = $(this);
12        var diagram = Diagram.parse($this.text());
13        $this.html('');
14        diagram.drawSVG(this, options);
15      });
16    };
17  })(jQuery);
18}
19