diff --git a/dist/css/print.css b/dist/css/print.css index daae7a2c..3b2c97ce 100644 --- a/dist/css/print.css +++ b/dist/css/print.css @@ -82,7 +82,7 @@ .swagger-section pre .vhdl .attribute, .swagger-section pre .clojure .attribute, .swagger-section pre .coffeescript .property { - color: #8888ff; + color: #88F; } .swagger-section pre .keyword, .swagger-section pre .id, diff --git a/dist/css/screen.css b/dist/css/screen.css index 725bab8d..a83aaa4c 100644 --- a/dist/css/screen.css +++ b/dist/css/screen.css @@ -82,7 +82,7 @@ .swagger-section pre .vhdl .attribute, .swagger-section pre .clojure .attribute, .swagger-section pre .coffeescript .property { - color: #8888ff; + color: #88F; } .swagger-section pre .keyword, .swagger-section pre .id, diff --git a/dist/index.html b/dist/index.html index 0150e053..787762c6 100644 --- a/dist/index.html +++ b/dist/index.html @@ -63,10 +63,6 @@ window.SwaggerTranslator.translate(); } - $('pre code').each(function(i, e) { - hljs.highlightBlock(e) - }); - addApiKeyAuthorization(); }, onFailure: function(data) { diff --git a/dist/lib/swagger-oauth.js b/dist/lib/swagger-oauth.js index 576fcd33..31e4e92d 100644 --- a/dist/lib/swagger-oauth.js +++ b/dist/lib/swagger-oauth.js @@ -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')) diff --git a/lib/swagger-oauth.js b/lib/swagger-oauth.js index 576fcd33..31e4e92d 100644 --- a/lib/swagger-oauth.js +++ b/lib/swagger-oauth.js @@ -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')) diff --git a/src/main/html/css/print.css b/src/main/html/css/print.css index daae7a2c..3b2c97ce 100644 --- a/src/main/html/css/print.css +++ b/src/main/html/css/print.css @@ -82,7 +82,7 @@ .swagger-section pre .vhdl .attribute, .swagger-section pre .clojure .attribute, .swagger-section pre .coffeescript .property { - color: #8888ff; + color: #88F; } .swagger-section pre .keyword, .swagger-section pre .id, diff --git a/src/main/html/css/screen.css b/src/main/html/css/screen.css index 725bab8d..a83aaa4c 100644 --- a/src/main/html/css/screen.css +++ b/src/main/html/css/screen.css @@ -82,7 +82,7 @@ .swagger-section pre .vhdl .attribute, .swagger-section pre .clojure .attribute, .swagger-section pre .coffeescript .property { - color: #8888ff; + color: #88F; } .swagger-section pre .keyword, .swagger-section pre .id, diff --git a/src/main/html/index.html b/src/main/html/index.html index 0150e053..787762c6 100644 --- a/src/main/html/index.html +++ b/src/main/html/index.html @@ -63,10 +63,6 @@ window.SwaggerTranslator.translate(); } - $('pre code').each(function(i, e) { - hljs.highlightBlock(e) - }); - addApiKeyAuthorization(); }, onFailure: function(data) {