Append Docs to window for now
also remove expection for global swaggerUi from JSHint
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
|
||||
// Global object
|
||||
// TODO: remove these
|
||||
"swaggerUi": false,
|
||||
"Docs": false
|
||||
}
|
||||
}
|
||||
2
dist/swagger-ui.js
vendored
2
dist/swagger-ui.js
vendored
@@ -318,7 +318,7 @@ if (Function.prototype.bind && console && typeof console.log === "object") {
|
||||
}, Function.prototype.call);
|
||||
}
|
||||
|
||||
var Docs = {
|
||||
window.Docs = {
|
||||
|
||||
shebang: function() {
|
||||
|
||||
|
||||
4
dist/swagger-ui.min.js
vendored
4
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -82,7 +82,7 @@ if (Function.prototype.bind && console && typeof console.log === "object") {
|
||||
}, Function.prototype.call);
|
||||
}
|
||||
|
||||
var Docs = {
|
||||
window.Docs = {
|
||||
|
||||
shebang: function() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user