From 2500711b8c97d2906ea3c01150d0e73bdd19e021 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 8 Nov 2017 22:32:55 +0000 Subject: [PATCH] Welcome to the Playground! --- index.html | 3 ++- js/issuer.js | 3 ++- js/playground.js | 5 +++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 js/playground.js diff --git a/index.html b/index.html index e4deeb5..4223edd 100644 --- a/index.html +++ b/index.html @@ -142,7 +142,7 @@ -
+

OAuth3 Playground

@@ -194,6 +194,7 @@ + diff --git a/js/issuer.js b/js/issuer.js index cf669d0..75c1826 100644 --- a/js/issuer.js +++ b/js/issuer.js @@ -399,7 +399,8 @@ $(function () { $('.mock-main').addClass('in'); } else { console.log('[DEBUG] not an auth window'); - $('.mock-bare').addClass('in'); + $('.js-playground').addClass('in'); + window.PLAYGROUND(); } }); }); diff --git a/js/playground.js b/js/playground.js new file mode 100644 index 0000000..ce7efa0 --- /dev/null +++ b/js/playground.js @@ -0,0 +1,5 @@ +window.PLAYGROUND = function () { + 'use strict'; + + console.log("Welcome to the Playground!"); +};