Skip to content

Commit

Permalink
refactor(文件重命名): core/instance/inject->注入
Browse files Browse the repository at this point in the history
  • Loading branch information
testacount1 committed Nov 21, 2018
1 parent 25db61e commit 7dd7705
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/instance/初始化.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { initRender } from './渲染'
import { initEvents } from './事件'
import { mark, measure } from '../util/perf'
import { initLifecycle, callHook } from './生命周期'
import { initProvide, initInjections } from './inject'
import { initProvide, initInjections } from './注入'
import { extend, mergeOptions, formatComponentName } from '../util/index'

let uid = 0
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/core/vdom/create-functional-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import VNode, { cloneVNode } from './vnode'
import { createElement } from './create-element'
import { resolveInject } from '../instance/inject'
import { resolveInject } from '../instance/注入'
import { normalizeChildren } from '../vdom/helpers/normalize-children'
import { resolveSlots } from '../instance/render-helpers/resolve-slots'
import { installRenderHelpers } from '../instance/render-helpers/index'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { initProxy } from 'core/instance/代理'
import { initState, getData } from 'core/instance/状态'
import { initRender } from 'core/instance/渲染'
import { initEvents } from 'core/instance/事件'
import { initProvide, initInjections } from 'core/instance/inject'
import { initProvide, initInjections } from 'core/instance/注入'
import { initLifecycle, callHook } from 'core/instance/生命周期'
import { initInternalComponent, resolveConstructorOptions } from 'core/instance/初始化'
import { registerComponentHook, updateComponentData } from '../../util/index'
Expand Down

0 comments on commit 7dd7705

Please sign in to comment.