Migrate networking.js, playback.js, serveractivity.js to ES6 modules
This commit is contained in:
parent
1f8ce6e6f4
commit
1ac3ecbfa7
4 changed files with 28 additions and 11 deletions
|
@ -1,7 +1,9 @@
|
|||
define(['components/activitylog', 'globalize'], function (ActivityLog, globalize) {
|
||||
'use strict';
|
||||
import ActivityLog from 'components/activitylog';
|
||||
import globalize from 'globalize';
|
||||
|
||||
return function (view, params) {
|
||||
/* eslint-disable indent */
|
||||
|
||||
export default function (view, params) {
|
||||
var activityLog;
|
||||
|
||||
if (params.useractivity !== 'false') {
|
||||
|
@ -28,4 +30,5 @@ define(['components/activitylog', 'globalize'], function (ActivityLog, globalize
|
|||
activityLog = null;
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
/* eslint-ensable indent */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue