ran gulp
This commit is contained in:
34
dist/lib/highlight.9.1.0.pack_extended.js
vendored
Normal file
34
dist/lib/highlight.9.1.0.pack_extended.js
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
'use strict';
|
||||||
|
|
||||||
|
(function () {
|
||||||
|
var configure, highlightBlock;
|
||||||
|
|
||||||
|
configure = hljs.configure;
|
||||||
|
// "extending" hljs.configure method
|
||||||
|
hljs.configure = function _configure (options) {
|
||||||
|
var size = options.highlightSizeThreshold;
|
||||||
|
|
||||||
|
// added highlightSizeThreshold option to set maximum size
|
||||||
|
// of processed string. Set to null if not a number
|
||||||
|
hljs.highlightSizeThreshold = size === +size ? size : null;
|
||||||
|
|
||||||
|
configure.call(this, options);
|
||||||
|
};
|
||||||
|
|
||||||
|
highlightBlock = hljs.highlightBlock;
|
||||||
|
|
||||||
|
// "extending" hljs.highlightBlock method
|
||||||
|
hljs.highlightBlock = function _highlightBlock (el) {
|
||||||
|
var innerHTML = el.innerHTML;
|
||||||
|
var size = hljs.highlightSizeThreshold;
|
||||||
|
|
||||||
|
// check if highlightSizeThreshold is not set or element innerHTML
|
||||||
|
// is less than set option highlightSizeThreshold
|
||||||
|
if (size == null || size > innerHTML.length) {
|
||||||
|
// proceed with hljs.highlightBlock
|
||||||
|
highlightBlock.call(hljs, el);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
})();
|
||||||
|
|
||||||
1
dist/swagger-ui.js
vendored
1
dist/swagger-ui.js
vendored
@@ -26331,6 +26331,7 @@ SwaggerUi.Views.ParameterView = Backbone.View.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
toggleSnippet: function (type) {
|
toggleSnippet: function (type) {
|
||||||
|
type = type || '';
|
||||||
if (type.indexOf('xml') > -1) {
|
if (type.indexOf('xml') > -1) {
|
||||||
this.$('.snippet_xml').show();
|
this.$('.snippet_xml').show();
|
||||||
this.$('.snippet_json').hide();
|
this.$('.snippet_json').hide();
|
||||||
|
|||||||
2
dist/swagger-ui.min.js
vendored
2
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user