S JavaScriptem funguje tato webová stránka lépe.
Domů
Procházet
Nápověda
Přihlásit se
bubblev
/
swagger-ui
Sledovat
4
Oblíbit
0
Rozštěpit
0
Zdrojový kód
Úkoly
0
Požadavky na natažení
0
Vydání
0
Wiki
Aktivita
Procházet zdrojové kódy
updated swagger-js, version
bubble
Tony Tam
před 10 roky
rodič
c9652472a2
revize
1f6aa46e52
3 změnil soubory
, kde provedl
8 přidání
a
6 odebrání
Rozdělené zobrazení
Diff Options
Zobrazit statistiky
Stáhněte soubor opravy
Stáhněte rozdílový soubor
+3
-2
dist/lib/swagger.js
+3
-2
lib/swagger.js
+2
-2
package.json
+ 3
- 2
dist/lib/swagger.js
Zobrazit soubor
@@ -1,5 +1,5 @@
// swagger.js
// version 2.0.2
5
// version 2.0.2
6
var __bind = function(fn, me){
return function(){
@@ -1381,7 +1381,8 @@ var PasswordAuthorization = function(name, username, password) {
};
PasswordAuthorization.prototype.apply = function(obj, authorizations) {
obj.headers["Authorization"] = "Basic " + this._btoa(this.username + ":" + this.password);
var base64encoder = this._btoa;
obj.headers["Authorization"] = "Basic " + base64encoder(this.username + ":" + this.password);
return true;
};
+ 3
- 2
lib/swagger.js
Zobrazit soubor
@@ -1,5 +1,5 @@
// swagger.js
// version 2.0.2
5
// version 2.0.2
6
var __bind = function(fn, me){
return function(){
@@ -1381,7 +1381,8 @@ var PasswordAuthorization = function(name, username, password) {
};
PasswordAuthorization.prototype.apply = function(obj, authorizations) {
obj.headers["Authorization"] = "Basic " + this._btoa(this.username + ":" + this.password);
var base64encoder = this._btoa;
obj.headers["Authorization"] = "Basic " + base64encoder(this.username + ":" + this.password);
return true;
};
+ 2
- 2
package.json
Zobrazit soubor
@@ -1,6 +1,6 @@
{
"name": "swagger-ui",
"version": "2.0.1
3
",
"version": "2.0.1
4
",
"description": "Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API",
"scripts": {
"build": "PATH=$PATH:./node_modules/.bin cake dist",
@@ -19,7 +19,7 @@
"readmeFilename": "README.md",
"dependencies": {
"coffee-script": "~1.5.0",
"swagger-client": "2.0.2
3
",
"swagger-client": "2.0.2
6
",
"handlebars": "~1.0.10",
"less": "~1.4.2"
}
Zapsat
Náhled
Načítá se…
Zrušit
Uložit