Welcome to the Playground!

This commit is contained in:
AJ ONeal 2017-11-08 22:32:55 +00:00
parent e4a84ea0b5
commit 2500711b8c
3 changed files with 9 additions and 2 deletions

View File

@ -142,7 +142,7 @@
</div> </div>
</div> </div>
<div class="fade mock-bare"> <div class="fade js-playground">
<div class="container"> <div class="container">
<div class="jumbotron"> <div class="jumbotron">
<h1>OAuth3 Playground</h1> <h1>OAuth3 Playground</h1>
@ -194,6 +194,7 @@
<script src="/assets/oauth3.org/oauth3.issuer.js"></script> <script src="/assets/oauth3.org/oauth3.issuer.js"></script>
<script src="./js/issuer.js"></script> <script src="./js/issuer.js"></script>
<script src="./js/script.js"></script> <script src="./js/script.js"></script>
<script src="./js/playground.js"></script>
</body> </body>
</html> </html>

View File

@ -399,7 +399,8 @@ $(function () {
$('.mock-main').addClass('in'); $('.mock-main').addClass('in');
} else { } else {
console.log('[DEBUG] not an auth window'); console.log('[DEBUG] not an auth window');
$('.mock-bare').addClass('in'); $('.js-playground').addClass('in');
window.PLAYGROUND();
} }
}); });
}); });

5
js/playground.js Normal file
View File

@ -0,0 +1,5 @@
window.PLAYGROUND = function () {
'use strict';
console.log("Welcome to the Playground!");
};