From 417bf1238a109811b03797bf5f3fc3217e9f46a6 Mon Sep 17 00:00:00 2001 From: Scott Cooper Date: Thu, 25 May 2017 11:05:37 -0700 Subject: [PATCH] fix whitespace --- .editorconfig | 12 ++++++++++++ lib/index.hbs | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4a7ea30 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/lib/index.hbs b/lib/index.hbs index 2332ddc..204f1ee 100644 --- a/lib/index.hbs +++ b/lib/index.hbs @@ -95,7 +95,7 @@ window.onload = function() { const ui = SwaggerUIBundle(options) {{#if oauthOptions}} if (ui.hasOwnProperty("initOAuth")) { - ui.initOAuth({{{json oauthOptions}}}) + ui.initOAuth({{{json oauthOptions}}}) } {{/if}} window.ui = ui