From f6754d20408168eef6a7e310fd4e3f996e5439c6 Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Fri, 20 Mar 2015 18:22:24 -0700 Subject: [PATCH] Fix typos in SwaggerUi.js Fixes #1053 --- src/main/javascript/SwaggerUi.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/javascript/SwaggerUi.js b/src/main/javascript/SwaggerUi.js index 45d68617..00bee850 100644 --- a/src/main/javascript/SwaggerUi.js +++ b/src/main/javascript/SwaggerUi.js @@ -201,7 +201,7 @@ window.SwaggerUi.Views = {}; (function(){ window.authorizations = { add: function() { - warn('using window.authorizations is depreciated. Please use waggerUi.api.clientAuthorizations.add().'); + warn('Using window.authorizations is deprecated. Please use SwaggerUi.api.clientAuthorizations.add().'); if (typeof window.swaggerUi === 'undefined') { throw new TypeError('window.swaggerUi is not defined'); @@ -214,12 +214,12 @@ window.SwaggerUi.Views = {}; }; window.ApiKeyAuthorization = function() { - warn('window.ApiKeyAuthorization is depreciated. Please use SwaggerClient.ApiKeyAuthorization.'); + warn('window.ApiKeyAuthorization is deprecated. Please use SwaggerClient.ApiKeyAuthorization.'); SwaggerClient.ApiKeyAuthorization.apply(window, arguments); }; window.PasswordAuthorization = function() { - warn('window.PasswordAuthorization is depreciated. Please use SwaggerClient.PasswordAuthorization.'); + warn('window.PasswordAuthorization is deprecated. Please use SwaggerClient.PasswordAuthorization.'); SwaggerClient.PasswordAuthorization.apply(window, arguments); };