1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-20 22:09:41 +02:00

refactor(edge-compute): enforce es6 good practices (#3961)

* refactor(edge-groups): use es6 imports

* refactor(edge-jobs): es6 imports

* refactor(edge-stacks): use es6 imports

* refactor(edge-compute): use es6 imports in components

* refactor(edge-compute): use named imports
This commit is contained in:
Chaim Lev-Ari 2020-07-06 10:35:13 +03:00 committed by GitHub
parent af6bea5acc
commit 42aa8ceb00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
52 changed files with 99 additions and 115 deletions

View file

@ -1,6 +1,4 @@
import angular from 'angular';
class EditEdgeStackFormController {
export class EditEdgeStackFormController {
constructor() {
this.editorUpdate = this.editorUpdate.bind(this);
}
@ -9,6 +7,3 @@ class EditEdgeStackFormController {
this.model.StackFileContent = cm.getValue();
}
}
angular.module('portainer.edge').controller('EditEdgeStackFormController', EditEdgeStackFormController);
export default EditEdgeStackFormController;