This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-44
lines changed
containers/Doraemon/logic Expand file tree Collapse file tree 1 file changed +0
-44
lines changed Original file line number Diff line number Diff line change @@ -548,47 +548,3 @@ export const useInit = _store => {
548548 }
549549 } , [ _store ] )
550550}
551-
552- /*
553-
554- export const init2 = _store => {
555- if (store) return false
556-
557- store = _store
558-
559- pockect$ = new Pocket(store)
560- SAK = new SwissArmyKnife(store)
561-
562- initSpecCmdResolver()
563-
564- pockect$.search().subscribe(res => {
565- if (R.isEmpty(res)) return emptySearchStates()
566-
567- store.markState({
568- searching: true,
569- showThreadSelector: true,
570- showAlert: false,
571- showUtils: false,
572- })
573- searchContents(store, sr71$, res)
574- })
575-
576- pockect$.searchUser().subscribe(name => {
577- const nickname = R.slice(1, Infinity, name)
578- store.markState({
579- prefix: '@',
580- searchThread: THREAD.USER,
581- showThreadSelector: true,
582- showAlert: false,
583- })
584- if (R.isEmpty(nickname)) return false
585- searchContents(store, sr71$, nickname)
586- })
587-
588- pockect$.cmdSuggesttion().subscribe(res => store.loadSuggestions(res))
589- pockect$.emptyInput().subscribe(() => store.clearSuggestions())
590-
591- if (sub$) sub$.unsubscribe()
592- sub$ = sr71$.data().subscribe($solver(DataSolver, ErrSolver))
593- }
594- */
You can’t perform that action at this time.
0 commit comments