Merge branch 'bodnia-samples-performance-issue'

This commit is contained in:
Tony Tam
2016-02-05 10:34:51 -08:00
4 changed files with 2 additions and 10 deletions

4
dist/index.html vendored
View File

@@ -63,10 +63,6 @@
window.SwaggerTranslator.translate();
}
$('pre code').each(function(i, e) {
hljs.highlightBlock(e)
});
addApiKeyAuthorization();
},
onFailure: function(data) {

View File

@@ -212,7 +212,7 @@ function initOAuth(opts) {
return;
}
$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
//$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
$('.api-ic').unbind();
$('.api-ic').click(function(s) {
if($(s.target).hasClass('ic-off'))

View File

@@ -212,7 +212,7 @@ function initOAuth(opts) {
return;
}
$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
//$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
$('.api-ic').unbind();
$('.api-ic').click(function(s) {
if($(s.target).hasClass('ic-off'))

View File

@@ -63,10 +63,6 @@
window.SwaggerTranslator.translate();
}
$('pre code').each(function(i, e) {
hljs.highlightBlock(e)
});
addApiKeyAuthorization();
},
onFailure: function(data) {