Merge branch 'bodnia-samples-performance-issue'
This commit is contained in:
4
dist/index.html
vendored
4
dist/index.html
vendored
@@ -63,10 +63,6 @@
|
|||||||
window.SwaggerTranslator.translate();
|
window.SwaggerTranslator.translate();
|
||||||
}
|
}
|
||||||
|
|
||||||
$('pre code').each(function(i, e) {
|
|
||||||
hljs.highlightBlock(e)
|
|
||||||
});
|
|
||||||
|
|
||||||
addApiKeyAuthorization();
|
addApiKeyAuthorization();
|
||||||
},
|
},
|
||||||
onFailure: function(data) {
|
onFailure: function(data) {
|
||||||
|
|||||||
2
dist/lib/swagger-oauth.js
vendored
2
dist/lib/swagger-oauth.js
vendored
@@ -212,7 +212,7 @@ function initOAuth(opts) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
|
//$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
|
||||||
$('.api-ic').unbind();
|
$('.api-ic').unbind();
|
||||||
$('.api-ic').click(function(s) {
|
$('.api-ic').click(function(s) {
|
||||||
if($(s.target).hasClass('ic-off'))
|
if($(s.target).hasClass('ic-off'))
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ function initOAuth(opts) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
|
//$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
|
||||||
$('.api-ic').unbind();
|
$('.api-ic').unbind();
|
||||||
$('.api-ic').click(function(s) {
|
$('.api-ic').click(function(s) {
|
||||||
if($(s.target).hasClass('ic-off'))
|
if($(s.target).hasClass('ic-off'))
|
||||||
|
|||||||
@@ -63,10 +63,6 @@
|
|||||||
window.SwaggerTranslator.translate();
|
window.SwaggerTranslator.translate();
|
||||||
}
|
}
|
||||||
|
|
||||||
$('pre code').each(function(i, e) {
|
|
||||||
hljs.highlightBlock(e)
|
|
||||||
});
|
|
||||||
|
|
||||||
addApiKeyAuthorization();
|
addApiKeyAuthorization();
|
||||||
},
|
},
|
||||||
onFailure: function(data) {
|
onFailure: function(data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user