Lines Matching refs:node
1153 function removeListener(node, func, name, ieName) { argument
1157 if (node.detachEvent && !isOpera) {
1161 node.detachEvent(ieName, func);
1164 node.removeEventListener(name, func, false);
1178 var node = evt.currentTarget || evt.srcElement;
1181 removeListener(node, context.onScriptLoad, 'load', 'onreadystatechange');
1182 removeListener(node, context.onScriptError, 'error');
1185 node: node,
1186 id: node && node.getAttribute('data-requiremodule')
1790 node;
1793 node = config.xhtml ?
1796 node.type = config.scriptType || 'text/javascript';
1797 node.charset = 'utf-8';
1798 node.async = true;
1800 node.setAttribute('data-requirecontext', context.contextName);
1801 node.setAttribute('data-requiremodule', moduleName);
1811 if (node.attachEvent &&
1819 … !(node.attachEvent.toString && node.attachEvent.toString().indexOf('[native code') < 0) &&
1828 node.attachEvent('onreadystatechange', context.onScriptLoad);
1841 node.addEventListener('load', context.onScriptLoad, false);
1842 node.addEventListener('error', context.onScriptError, false);
1844 node.src = url;
1850 currentlyAddingScript = node;
1852 head.insertBefore(node, baseElement);
1854 head.appendChild(node);
1858 return node;
1941 var node, context;
1983 node = currentlyAddingScript || getInteractiveScript();
1984 if (node) {
1986 name = node.getAttribute('data-requiremodule');
1988 context = contexts[node.getAttribute('data-requirecontext')];