浏览代码

Coding style

In certain scenarios we do need to import files instead of features but
even then it is our coding style to not write the file extension.
j8
Lyubo Marinov 8 年前
父节点
当前提交
c2ae7999ef

+ 1
- 1
modules/API/external/external_api.js 查看文件

1
 import EventEmitter from 'events';
1
 import EventEmitter from 'events';
2
 
2
 
3
-import { urlObjectToString } from '../../../react/features/base/util/uri.js';
3
+import { urlObjectToString } from '../../../react/features/base/util/uri';
4
 import {
4
 import {
5
     PostMessageTransportBackend,
5
     PostMessageTransportBackend,
6
     Transport
6
     Transport

+ 1
- 1
react/features/base/connection/actions.web.js 查看文件

19
     connectionEstablished,
19
     connectionEstablished,
20
     connectionFailed,
20
     connectionFailed,
21
     setLocationURL
21
     setLocationURL
22
-} from './actions.native.js';
22
+} from './actions.native';
23
 
23
 
24
 /**
24
 /**
25
  * Opens new connection.
25
  * Opens new connection.

+ 1
- 1
react/features/mobile/image-cache/react-native-img-cache.android.js 查看文件

1
-export * from './react-native-img-cache.yes.js';
1
+export * from './react-native-img-cache.yes';

+ 1
- 1
react/features/mobile/image-cache/react-native-img-cache.ios.js 查看文件

1
-export * from './react-native-img-cache.yes.js';
1
+export * from './react-native-img-cache.yes';

正在加载...
取消
保存