MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / sanitize

Function sanitize

codebase/sources/dhtmlxscheduler.js:14779–14787  ·  view source on GitHub ↗
(ev)

Source from the content-addressed store, hash-verified

14777 function mvc(scheduler2) {
14778 var cfg = { use_id: false };
14779 function sanitize(ev) {
14780 var obj = {};
14781 for (var key in ev)
14782 if (key.indexOf("_") !== 0)
14783 obj[key] = ev[key];
14784 if (!cfg.use_id)
14785 delete obj.id;
14786 return obj;
14787 }
14788 var update_timer;
14789 function update_view() {
14790 clearTimeout(update_timer);

Callers 1

mvcFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected