File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
packages/runtime/core/src Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,11 @@ import {
4
4
warn ,
5
5
error ,
6
6
assert ,
7
- hasOwn ,
8
7
deepMerge ,
9
8
transformUrl ,
10
9
isPlainObject ,
11
- __GARFISH_FLAG__ ,
12
10
getRenderNode ,
11
+ __GARFISH_FLAG__ ,
13
12
} from '@garfish/utils' ;
14
13
import { Hooks } from './hooks' ;
15
14
import { App } from './module/app' ;
@@ -43,7 +42,7 @@ export class Garfish implements interfaces.Garfish {
43
42
this . setOptions ( options ) ;
44
43
// register plugins
45
44
options ?. plugins . forEach ( ( pluginCb ) => {
46
- this . usePlugin ( this . hooks , pluginCb , this ) ;
45
+ this . usePlugin ( this . hooks , pluginCb ) ;
47
46
} ) ;
48
47
this . hooks . lifecycle . initialize . call ( this . options ) ;
49
48
}
@@ -54,7 +53,7 @@ export class Garfish implements interfaces.Garfish {
54
53
if ( ! options . disablePreloadApp ) defaultPlugin . push ( GarfishPreloadPlugin ( ) ) ;
55
54
56
55
defaultPlugin . forEach ( ( pluginCb ) => {
57
- this . usePlugin ( this . hooks , pluginCb , this ) ;
56
+ this . usePlugin ( this . hooks , pluginCb ) ;
58
57
} ) ;
59
58
}
60
59
You can’t perform that action at this time.
0 commit comments