public/javascripts/yui/dragdrop/dragdrop-debug.js
function(node) {

        var valid = true;
        // var n = (node.nodeName == "#text") ? node.parentNode : node;
        var nodeName;
        try {
            nodeName = node.nodeName.toUpperCase();
        } catch(e) {
            nodeName = node.nodeName;
        }
        valid = valid && !this.invalidHandleTypes[nodeName];
        valid = valid && !this.invalidHandleIds[node.id];

        for (var i=0, len=this.invalidHandleClasses.length; valid && i<len; ++i) {
            valid = !Dom.hasClass(node, this.invalidHandleClasses[i]);
        }

        this.logger.log("Valid handle? ... " + valid);

        return valid;

    }
function(node) {

        var valid = true;
        // var n = (node.nodeName == "#text") ? node.parentNode : node;
        var nodeName;
        try {
            nodeName = node.nodeName.toUpperCase();
        } catch(e) {
            nodeName = node.nodeName;
        }
        valid = valid && !this.invalidHandleTypes[nodeName];
        valid = valid && !this.invalidHandleIds[node.id];

        for (var i=0, len=this.invalidHandleClasses.length; valid && i<len; ++i) {
            valid = !Dom.hasClass(node, this.invalidHandleClasses[i]);
        }

        this.logger.log("Valid handle? ... " + valid);

        return valid;

    }
function ( node ) { var valid = true ; // var n = (node.nodeName == "#text") ? node.parentNode : node; var nodeName ; try { nodeName = node . nodeName . toUpperCase ( ) ; } catch ( e ) { nodeName = node . nodeName ; } valid = valid && ! this . invalidHandleTypes [ nodeName ] ; valid = valid && ! this . invalidHandleIds [ node . id ] ; for ( var i = 0 , len = this . invalidHandleClasses . length ; valid && i < len ; ++ i ) { valid = ! Dom . hasClass ( node , this . invalidHandleClasses [ i ] ) ; } this . logger . log ( "Valid handle? ... " + valid ) ; return valid ; }
Checks the tag exclusion list to see if this click should be ignored
@method isValidHandleChild
@param {HTMLElement} node the HTMLElement to evaluate
@return {boolean} true if this is a valid tag type, false if not
Checks the tag exclusion list to see if this click should be ignored