Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zaloguj się
bubblev
/
swagger-ui
Obserwuj
4
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Oczekujące zmiany
0
Wydania
0
Wiki
Aktywność
Przeglądaj źródła
fix
#2456
bubble
Anna Bodnia
7 lat temu
rodzic
436586a661
commit
59ecaf40ee
6 zmienionych plików
z
29 dodań
i
12 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+14
-8
dist/swagger-ui.js
+1
-1
dist/swagger-ui.js.map
+0
-1
package.json
+1
-1
src/core/plugins/auth/actions.js
+1
-1
src/core/plugins/auth/reducers.js
+12
-0
src/core/utils.js
+ 14
- 8
dist/swagger-ui.js
Plik diff jest za duży
Wyświetl plik
+ 1
- 1
dist/swagger-ui.js.map
Wyświetl plik
@@ -1 +1 @@
{"version":3,"file":"swagger-ui.js","sources":["webpack:///swagger-ui.js"],"mappings":"AAAA;
AAsoGA;AAy4HA;AA+7FA;AA2mCA;AAkgCA;AAshCA;AAi
4BA","sourceRoot":""}
{"version":3,"file":"swagger-ui.js","sources":["webpack:///swagger-ui.js"],"mappings":"AAAA;
;;;;;AAmwCA;AAoyHA;AA2wHA;AA07FA;AAmnCA;AAu/BA;AAmiCA;AA4
4BA","sourceRoot":""}
+ 0
- 1
package.json
Wyświetl plik
@@ -37,7 +37,6 @@
"dependencies": {
"babel-polyfill": "^6.23.0",
"brace": "0.7.0",
"btoa": "^1.1.2",
"deep-extend": "0.4.1",
"expect": "1.20.2",
"getbase": "^2.8.2",
+ 1
- 1
src/core/plugins/auth/actions.js
Wyświetl plik
@@ -1,5 +1,5 @@
import win from "core/window"
import
btoa from "btoa
"
import
{ btoa } from "core/utils
"
export const SHOW_AUTH_POPUP = "show_popup"
export const AUTHORIZE = "authorize"
+ 1
- 1
src/core/plugins/auth/reducers.js
Wyświetl plik
@@ -1,5 +1,5 @@
import { fromJS, Map } from "immutable"
import
btoa from "btoa
"
import
{ btoa } from "core/utils
"
import {
SHOW_AUTH_POPUP,
+ 12
- 0
src/core/utils.js
Wyświetl plik
@@ -547,3 +547,15 @@ export const parseSeach = () => {
return map
}
export const btoa = (str) => {
let buffer;
if (str instanceof Buffer) {
buffer = str;
} else {
buffer = new Buffer(str.toString(), "utf-8");
}
return buffer.toString("base64");
}
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz