diff --git a/dist/swagger-ui.js b/dist/swagger-ui.js index e561aa82..157d30ad 100644 --- a/dist/swagger-ui.js +++ b/dist/swagger-ui.js @@ -241,6 +241,7 @@ window.Docs = { }; 'use strict'; +/*jslint eqeq: true*/ Handlebars.registerHelper('sanitize', function(html) { // Strip the script tags from the html, and return it as a Handlebars.SafeString @@ -317,7 +318,6 @@ Handlebars.registerHelper('ifCond', function (v1, operator, v2, options) { return options.inverse(this); } }); - this["Handlebars"]["templates"]["main"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { var stack1, lambda=this.lambda, escapeExpression=this.escapeExpression, buffer = "
" + escapeExpression(lambda(((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.title : stack1), depth0)) diff --git a/src/main/javascript/helpers/handlebars.js b/src/main/javascript/helpers/handlebars.js index 37be5ea2..9569a86b 100644 --- a/src/main/javascript/helpers/handlebars.js +++ b/src/main/javascript/helpers/handlebars.js @@ -1,4 +1,5 @@ 'use strict'; +/*jslint eqeq: true*/ Handlebars.registerHelper('sanitize', function(html) { // Strip the script tags from the html, and return it as a Handlebars.SafeString