'use strict';

Object.defineProperty(exports, '__esModule', {
  value: true
});
exports['default'] = updateElement;

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

var _schedulerAssignment = require('./scheduler-assignment');

var _performElementUpdate = require('./perform-element-update');

var _performElementUpdate2 = _interopRequireDefault(_performElementUpdate);

function updateElement(component) {
  (0, _schedulerAssignment.getScheduler)().updateDocument(function () {
    (0, _performElementUpdate2['default'])(component);
  });
}

module.exports = exports['default'];