site/examples/todo/js/lib/canjs/can.jquery.js
function (result) {
            var frag = can.buildFragment(result, document.body);
            // If we have an empty frag...
            if (!frag.childNodes.length) {
                frag.appendChild(document.createTextNode(''));
            }
            return frag;
        }
function (result) {
            var frag = can.buildFragment(result, document.body);
            // If we have an empty frag...
            if (!frag.childNodes.length) {
                frag.appendChild(document.createTextNode(''));
            }
            return frag;
        }
function ( result ) { var frag = can . buildFragment ( result , document . body ) ; // If we have an empty frag... if ( ! frag . childNodes . length ) { frag . appendChild ( document . createTextNode ( '' ) ) ; } return frag ; }
simply creates a frag this is used internally to create a frag insert it then hook it up
simply creates a frag this is used internally to create a frag insert it then hook it up