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

Function diff

codebase/sources/dhtmlxscheduler.js:2605–2607  ·  view source on GitHub ↗
(old_val, new_val, acc)

Source from the content-addressed store, hash-verified

2603 };
2604 scheduler2._is_pos_changed = function(old_pos, new_pos) {
2605 function diff(old_val, new_val, acc) {
2606 return !!(Math.abs(old_val - new_val) > acc);
2607 }
2608 if (!(old_pos && this._drag_pos)) {
2609 return true;
2610 }

Callers 1

extend$jFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected