Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
z0mt3c committed Jul 22, 2016
1 parent 0724171 commit e2c25d5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
3 changes: 2 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const optionsSchema = Joi.object({
highlightSizeThreshold: Joi.number().optional(),
supportedSubmitMethods: Joi.array().items(Joi.string()).optional(),
oauth2RedirectUrl: Joi.string().optional(),
showRequestHeaders: Joi.boolean().optional()
showRequestHeaders: Joi.boolean().optional(),
jsonEditor: Joi.boolean().optional()
}).optional(),
oauthOptions: Joi.any({}),
authorization: Joi.alternatives([Joi.any().valid([null, false]), Joi.object({
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
},
"dependencies": {
"handlebars": "^4.0.4",
"hoek": "^3.0.4",
"inert": "^3.2.0",
"joi": "^7.0.0",
"swagger-ui": "2.1.4",
"hoek": "^4.0.1",
"inert": "^4.0.1",
"joi": "^9.0.1",
"swagger-ui": "2.1.5",
"vision": "^4.0.1"
},
"devDependencies": {
"code": "^2.0.1",
"code": "^3.0.1",
"hapi": "^13.0.0",
"lab": "^8.1.0",
"standard": "^6.0.3"
"lab": "^10.9.0",
"standard": "^7.1.2"
},
"scripts": {
"lint": "standard",
Expand Down
10 changes: 6 additions & 4 deletions templates/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@
<link href="{{routePrefix}}/css/screen.css" media="screen" rel="stylesheet" type="text/css"/>
<link href="{{routePrefix}}/css/reset.css" media="print" rel="stylesheet" type="text/css"/>
<link href="{{routePrefix}}/css/print.css" media="print" rel="stylesheet" type="text/css"/>
<script src="{{routePrefix}}/lib/object-assign-pollyfill.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/jquery-1.8.0.min.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/jquery.slideto.min.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/jquery.wiggle.min.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/jquery.ba-bbq.min.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/handlebars-2.0.0.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/underscore-min.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/lodash.min.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/backbone-min.js" type="text/javascript"></script>
<script src="{{routePrefix}}/swagger-ui.min.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/highlight.7.3.pack.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/highlight.9.1.0.pack.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/highlight.9.1.0.pack_extended.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/jsoneditor.min.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/marked.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/swagger-oauth.js" type="text/javascript"></script>

<script type="text/javascript">
$(function() {
var oauthOptions = {{{oauthOptions}}};
Expand Down Expand Up @@ -87,7 +89,7 @@
<body class="swagger-section">
<div id="header">
<div class="swagger-ui-wrap">
<a id="logo" href="#">{{title}}</a>
<a id="logo" href="#"><img class="logo__img" alt="swagger" height="30" width="30" src="{{routePrefix}}/images/logo_small.png" /><span class="logo__title">{{title}}</span></a>
<form id="api_selector" style="{{#if authorization}}{{else}}display: none;{{/if}}">
<div class="input" style="display:none;"><input placeholder="http://example.com/api" id="input_baseUrl"
name="baseUrl" type="text"/></div>
Expand Down

0 comments on commit e2c25d5

Please sign in to comment.