Skip to content

Commit 5dbca4e

Browse files
committed
style: tweak import style
1 parent b1512d8 commit 5dbca4e

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

src/core/instance/inject.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* @flow */
22

3-
import { hasSymbol } from 'core/util/env'
43
import { warn } from '../util/index'
5-
import { defineReactive } from '../observer/index'
64
import { hasOwn } from 'shared/util'
5+
import { hasSymbol } from 'core/util/env'
6+
import { defineReactive } from '../observer/index'
77

88
export function initProvide (vm: Component) {
99
const provide = vm.$options.provide

src/core/observer/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import Dep from './dep'
44
import { arrayMethods } from './array'
55
import {
66
def,
7+
warn,
8+
hasOwn,
9+
hasProto,
710
isObject,
811
isPlainObject,
912
isValidArrayIndex,
10-
hasProto,
11-
hasOwn,
12-
warn,
1313
isServerRendering
1414
} from '../util/index'
1515

src/core/util/props.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
/* @flow */
22

3-
import { hasOwn, isObject, isPlainObject, capitalize, hyphenate } from 'shared/util'
4-
import { observe, observerState } from '../observer/index'
53
import { warn } from './debug'
4+
import { observe, observerState } from '../observer/index'
5+
import {
6+
hasOwn,
7+
isObject,
8+
hyphenate,
9+
capitalize,
10+
isPlainObject
11+
} from 'shared/util'
612

713
type PropOptions = {
814
type: Function | Array<Function> | null,

src/server/create-renderer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* @flow */
22

33
import RenderStream from './render-stream'
4-
import TemplateRenderer from './template-renderer/index'
54
import { createWriteFunction } from './write'
65
import { createRenderFunction } from './render'
6+
import TemplateRenderer from './template-renderer/index'
77
import type { ClientManifest } from './template-renderer/index'
88

99
export type Renderer = {

0 commit comments

Comments
 (0)