Skip to content

Commit 71f61b7

Browse files
committed
Update all client dependencies and cdn versions, workaround sequence-diagram svg to be resizable
1 parent 5d03109 commit 71f61b7

26 files changed

+82
-2328
lines changed

bower.json

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@
1616
],
1717
"dependencies": {
1818
"bootstrap": "~3.3.6",
19-
"jquery": "~1.11.3",
20-
"font-awesome": "~4.6.2",
19+
"jquery": "~2.2.4",
20+
"font-awesome": "~4.6.3",
2121
"Ionicons": "ionicons#~2.0.1",
22-
"reveal.js": "~3.2.0",
22+
"reveal.js": "~3.3.0",
2323
"jquery-mousewheel": "~3.1.13",
2424
"spin.js": "~2.3.2",
25-
"moment": "~2.12.0",
25+
"moment": "~2.13.0",
2626
"handlebars": "~4.0.5",
2727
"js-url": "~2.3.0",
28-
"socket.io-client": "~1.4.5",
28+
"socket.io-client": "~1.4.6",
2929
"viz.js": "~1.3.0",
30-
"js-yaml": "~3.6.0",
30+
"js-yaml": "~3.6.1",
3131
"to-markdown": "~3.0.0",
3232
"lz-string": "~1.4.4",
3333
"raphael": "~2.2.0",
34-
"flowchart": "~1.6.2",
35-
"xss": "~0.2.10",
36-
"markdown-it": "^6.0.1",
34+
"flowchart": "~1.6.3",
35+
"xss": "~0.2.13",
36+
"markdown-it": "^6.0.5",
3737
"markdown-it-abbr": "^1.0.3",
3838
"markdown-it-footnote": "^2.0.0",
3939
"markdown-it-deflist": "^2.0.1",
@@ -42,10 +42,22 @@
4242
"markdown-it-sub": "^1.0.0",
4343
"markdown-it-sup": "^1.0.0",
4444
"markdown-it-container": "^2.0.0",
45-
"mermaid": "^0.5.8",
45+
"mermaid": "^6.0.0",
4646
"MathJax": "^2.6.1",
47-
"octicons": "^3.5.0",
47+
"octicons": "~3.5.0",
4848
"velocity": "^1.2.3",
49-
"highlightjs": "^9.4.0"
49+
"highlightjs": "^9.4.0",
50+
"lodash": "^4.13.1",
51+
"randomcolor": "randomColor#^0.4.4",
52+
"file-saver": "FileSaver#^1.3.1",
53+
"Idle.Js": "idle.js#^1.0.0",
54+
"js-cookie": "^2.1.2",
55+
"list.js": "^1.2.0",
56+
"store-js": "store.js#^1.3.20",
57+
"string": "^3.3.1",
58+
"visibilityjs": "^1.2.3"
59+
},
60+
"resolutions": {
61+
"jquery": "~2.2.4"
5062
}
5163
}

public/js/extra.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ function finishView(view) {
258258

259259
$ele.addClass('sequence-diagram');
260260
$value.children().unwrap().unwrap();
261+
var svg = $ele.find('> svg');
262+
svg[0].setAttribute('viewBox', '0 0 ' + svg.attr('width') + ' ' + svg.attr('height'));
263+
svg[0].setAttribute('preserveAspectRatio', 'xMidYMid meet');
261264
} catch (err) {
262265
console.warn(err);
263266
}

public/vendor/FileSaver.min.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

public/vendor/gist-embed.js

Lines changed: 0 additions & 183 deletions
This file was deleted.

public/vendor/gist-embed.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)