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

Function f

codebase/dhtmlxscheduler.es.js:3407–3409  ·  view source on GitHub ↗
(y, w, D)

Source from the content-addressed store, hash-verified

3405 return c - 6e4 * (new Date(r._min_date).getTimezoneOffset() - new Date(c).getTimezoneOffset()) * (u ? -1 : 1);
3406 }, r._is_pos_changed = function(c, u) {
3407 function f(y, w, D) {
3408 return Math.abs(y - w) > D;
3409 }
3410 return !c || !this._drag_pos || !!(this._drag_pos.has_moved || !this._drag_pos.timestamp || u.timestamp - this._drag_pos.timestamp > 100 || f(c.ev.clientX, u.ev.clientX, 5) || f(c.ev.clientY, u.ev.clientY, 5));
3411 }, r._correct_drag_start_date = function(c) {
3412 let u;

Callers 4

eaFunction · 0.70
uFunction · 0.70
yFunction · 0.70

Calls 2

aFunction · 0.70
date_partMethod · 0.65

Tested by

no test coverage detected