Update to mainline swagger-ui

Revert
https://github.com/strongloop/loopback-component-explorer/pull/107
This commit is contained in:
Samuel Reed 2016-09-27 13:11:40 -05:00 committed by Miroslav Bajtoš
parent 72a754b099
commit 1fbf1740ab
3 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ var urlJoin = require('./lib/url-join');
var _defaults = require('lodash').defaults;
var cors = require('cors');
var createSwaggerObject = require('loopback-swagger').generateSwaggerSpec;
var SWAGGER_UI_ROOT = require('strong-swagger-ui/index').dist;
var SWAGGER_UI_ROOT = require('swagger-ui/index').dist;
var STATIC_ROOT = path.join(__dirname, 'public');
module.exports = explorer;

View File

@ -38,6 +38,6 @@
"lodash": "^3.10.0",
"loopback-swagger": "^2.1.0",
"strong-globalize": "^2.6.2",
"strong-swagger-ui": "^21.0.0"
"swagger-ui": "^2.2.5"
}
}

View File

@ -15,11 +15,11 @@
<script src='lib/jquery.slideto.min.js' type='text/javascript'></script>
<script src='lib/jquery.wiggle.min.js' type='text/javascript'></script>
<script src='lib/jquery.ba-bbq.min.js' type='text/javascript'></script>
<script src='lib/handlebars-2.0.0.js' type='text/javascript'></script>
<script src='lib/underscore-min.js' type='text/javascript'></script>
<script src='lib/handlebars-4.0.5.js' type='text/javascript'></script>
<script src='lib/lodash.min.js' type='text/javascript'></script>
<script src='lib/backbone-min.js' type='text/javascript'></script>
<script src='swagger-ui.js' type='text/javascript'></script>
<script src='lib/highlight.7.3.pack.js' type='text/javascript'></script>
<script src='lib/highlight.9.1.0.pack.js' type='text/javascript'></script>
<script src='lib/marked.js' type='text/javascript'></script>
<!-- enabling this will enable oauth2 implicit scope support -->