We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb58bd1 commit a58d0cbCopy full SHA for a58d0cb
src/jquery-plugin.js
@@ -1,16 +1,10 @@
1
(function( $ ) {
2
$.fn.sequenceDiagram = function( options ) {
3
-
4
- var settings = $.extend( {
5
- 'theme' : 'hand'
6
- }, options);
7
8
return this.each(function() {
9
var $this = $(this);
10
- var diagram = Diagram.parse($this.val());
11
- // Blank the HTML
+ var diagram = Diagram.parse($this.text());
12
$this.html('');
13
- diagram.drawSVG(this, settings);
+ diagram.drawSVG(this, options);
14
});
15
};
16
})( jQuery );
0 commit comments