File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -3,27 +3,10 @@ import {
3
3
setTokenEditorValue ,
4
4
useDefaultToken
5
5
} from '../editor' ;
6
- import { getParameterByName } from '../utils.js' ;
7
6
import { publicKeyTextArea } from './dom-elements.js' ;
8
7
9
8
/* For initialization, look at the end of this file */
10
9
11
- function parseLocationQuery ( ) {
12
- const publicKey = getParameterByName ( 'publicKey' ) ;
13
- const value = getParameterByName ( 'value' ) ;
14
- const token = getParameterByName ( 'token' ) ;
15
-
16
- if ( publicKey ) {
17
- publicKeyTextArea . value = publicKey ;
18
- }
19
- if ( value ) {
20
- setTokenEditorValue ( value ) ;
21
- }
22
- if ( token ) {
23
- setTokenEditorValue ( token ) ;
24
- }
25
- }
26
-
27
10
function loadToken ( ) {
28
11
const lastToken = localStorage . getItem ( 'lastToken' ) ;
29
12
if ( lastToken ) {
@@ -41,4 +24,3 @@ function loadToken() {
41
24
// Initialization
42
25
setupTokenEditor ( ) ;
43
26
loadToken ( ) ;
44
- parseLocationQuery ( ) ;
You can’t perform that action at this time.
0 commit comments