mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-18 12:58:41 +00:00
prepare for nearest implementation
This commit is contained in:
parent
5c04a6ec4c
commit
8d0f7343dc
|
|
@ -220,4 +220,9 @@
|
|||
e[i].addEventListener(event, callback);
|
||||
}
|
||||
};
|
||||
|
||||
jsOMS.nearest = function (e, selector)
|
||||
{
|
||||
|
||||
};
|
||||
}(window.jsOMS = window.jsOMS || {}));
|
||||
|
|
|
|||
|
|
@ -489,4 +489,10 @@
|
|||
|
||||
return text.replace(/[&<>"']/g, function(m) { return map[m]; });
|
||||
};
|
||||
|
||||
jsOMS.nearest = function (e, selector) {
|
||||
// same level first
|
||||
// parent level second
|
||||
// child level third
|
||||
};
|
||||
}(window.jsOMS = window.jsOMS || {}));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user