Apache-SdnFw
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Apache/SdnFw/js/tinymce/jscripts/tiny_mce/tiny_mce_src.js view on Meta::CPAN
collapsed = selection.isCollapsed();
function findEndPoint(start) {
var marker, container, offset, nodes, startIndex = 0, endIndex, index, parent, checkRng, position;
// Setup temp range and collapse it
checkRng = ieRange.duplicate();
checkRng.collapse(start);
// Create marker and insert it at the end of the endpoints parent
marker = dom.create('a');
parent = checkRng.parentElement();
// If parent doesn't have any children then set the container to that parent and the index to 0
if (!parent.hasChildNodes()) {
domRange[start ? 'setStart' : 'setEnd'](parent, 0);
return;
}
parent.appendChild(marker);
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.204 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )