Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"use strict";
/* Refer to https://js.devexpress.com/Documentation/Guide/Common/Modularity/Create_a_Custom_Bundle/ for information on how to create a DevExtreme bundle. */
/* Core (dx.module-core.js) */
var DevExpress = require("devextreme/bundles/modules/core");
/* UI core (dx.module-core.js) */
var ui = DevExpress.ui = require("devextreme/bundles/modules/ui");
ui.dxScrollView = require("devextreme/ui/scroll_view");
ui.ensureScrollView = function (element) {
var instance = ui.dxScrollView.getInstance(element);
if(instance)
instance.update();
else
instance = new ui.dxScrollView(element, {});
};