Update to mainline swagger-ui
Revert https://github.com/strongloop/loopback-component-explorer/pull/107
This commit is contained in:
parent
72a754b099
commit
1fbf1740ab
2
index.js
2
index.js
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 -->
|
||||
|
|
Loading…
Reference in New Issue