chore: use ES6 exports
Modified the file to use 'export default' instead of 'module.exports' so that I don't get errors stating that there is no default export.
This commit is contained in:
parent
d27ae8f808
commit
8d90d4dc63
|
@ -1,21 +1,20 @@
|
|||
'use strict';
|
||||
import {
|
||||
reduce,
|
||||
keys,
|
||||
forEach
|
||||
} from 'min-dash';
|
||||
|
||||
var reduce = require('min-dash').reduce,
|
||||
keys = require('min-dash').keys,
|
||||
forEach = require('min-dash').forEach,
|
||||
is = require('../../../util/ModelUtil').is,
|
||||
getBusinessObject = require('../../../util/ModelUtil').getBusinessObject;
|
||||
import {
|
||||
is,
|
||||
getBusinessObject
|
||||
} from '../../../util/ModelUtil';
|
||||
|
||||
|
||||
function UpdateModdlePropertiesHandler(elementRegistry) {
|
||||
export default function UpdateModdlePropertiesHandler(elementRegistry) {
|
||||
this._elementRegistry = elementRegistry;
|
||||
}
|
||||
|
||||
UpdateModdlePropertiesHandler.$inject = ['elementRegistry'];
|
||||
|
||||
module.exports = UpdateModdlePropertiesHandler;
|
||||
|
||||
|
||||
UpdateModdlePropertiesHandler.prototype.execute = function(context) {
|
||||
|
||||
var element = context.element,
|
||||
|
|
Loading…
Reference in New Issue