regenerated

This commit is contained in:
aurelian
2015-06-22 16:26:42 +02:00
parent 554302f49d
commit 25a9035014
2 changed files with 2 additions and 2 deletions

2
dist/swagger-ui.js vendored
View File

@@ -521,7 +521,7 @@ Handlebars.registerHelper('renderTextParam', function(param) {
var dataVendorExtensions = Object.keys(param).filter(function(property) {
// filter X-data- properties
return property.match(/^X-data-/) !== null;
return property.match(/^X-data-/i) !== null;
}).reduce(function(result, property) {
// remove X- from property name, so it results in html attributes like data-foo='bar'
return result += ' ' + property.substring(2, property.length) + '=\'' + param[property] + '\'';