rem
stringlengths 0
126k
| add
stringlengths 0
441k
| context
stringlengths 13
136k
| meta
stringlengths 132
347
|
---|---|---|---|
if(attrs.length) element.innerHTML = "<" +elementName + " " +
|
if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " +
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
this._children(element.firstChild, arguments[2]);
|
this._children(element, arguments[2]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
return element.firstChild;
|
return element;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">";
|
elementName = elementName.toUpperCase(); var parentTag = this.NODEMAP[elementName] || 'div'; var parentElement = document.createElement(parentTag); parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; var element = parentElement.firstChild || null; if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; if(!element) element = document.createElement(elementName); if(!element) return;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
this._children(element.firstChild, arguments[1]);
|
this._children(element, arguments[1]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
if(attrs.length) element.innerHTML = "<" +elementName + " " +
|
if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " +
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
this._children(element.firstChild, arguments[2]);
|
this._children(element, arguments[2]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
return element.firstChild;
|
return element;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">";
|
elementName = elementName.toUpperCase(); var parentTag = this.NODEMAP[elementName] || 'div'; var parentElement = document.createElement(parentTag); parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; var element = parentElement.firstChild || null; if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; if(!element) element = document.createElement(elementName); if(!element) return;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
this._children(element.firstChild, arguments[1]);
|
this._children(element, arguments[1]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
if(attrs.length) element.innerHTML = "<" +elementName + " " +
|
if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " +
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
this._children(element.firstChild, arguments[2]);
|
this._children(element, arguments[2]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
return element.firstChild;
|
return element;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
parentElement.innerHTML = "<" + elementName + "></" + elementName + ">";
|
try { parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; } catch(e) {}
|
node: function(elementName) { elementName = elementName.toUpperCase(); // try innerHTML approach var parentTag = this.NODEMAP[elementName] || 'div'; var parentElement = document.createElement(parentTag); parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; var element = parentElement.firstChild || null; // see if browser added wrapping tags if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; // fallback to createElement approach if(!element) element = document.createElement(elementName); // abort if nothing could be created if(!element) return; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; element = parentElement.firstChild || null; // workaround firefox 1.0.X bug if(!element) { element = document.createElement(elementName); for(attr in arguments[1]) element[attr == 'class' ? 'className' : attr] = arguments[1][attr]; } if(element.tagName != elementName) element = parentElement.getElementsByTagName(elementName)[0]; } } // text, or array of children if(arguments[2]) this._children(element, arguments[2]); return element; },
|
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/4df7afea089756426d1dea8303c5bc88b19a36a8/builder.js/clean/src/builder.js
|
parentElement.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">";
|
try { parentElement.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } catch(e) {}
|
node: function(elementName) { elementName = elementName.toUpperCase(); // try innerHTML approach var parentTag = this.NODEMAP[elementName] || 'div'; var parentElement = document.createElement(parentTag); parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; var element = parentElement.firstChild || null; // see if browser added wrapping tags if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; // fallback to createElement approach if(!element) element = document.createElement(elementName); // abort if nothing could be created if(!element) return; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; element = parentElement.firstChild || null; // workaround firefox 1.0.X bug if(!element) { element = document.createElement(elementName); for(attr in arguments[1]) element[attr == 'class' ? 'className' : attr] = arguments[1][attr]; } if(element.tagName != elementName) element = parentElement.getElementsByTagName(elementName)[0]; } } // text, or array of children if(arguments[2]) this._children(element, arguments[2]); return element; },
|
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/4df7afea089756426d1dea8303c5bc88b19a36a8/builder.js/clean/src/builder.js
|
var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">";
|
elementName = elementName.toUpperCase(); var parentTag = this.NODEMAP[elementName] || 'div'; var parentElement = document.createElement(parentTag); parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; var element = parentElement.firstChild || null; if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; if(!element) element = document.createElement(elementName); if(!element) return;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/railties/html/javascripts/util.js
|
this._children(element.firstChild, arguments[1]);
|
this._children(element, arguments[1]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/railties/html/javascripts/util.js
|
if(attrs.length) element.innerHTML = "<" +elementName + " " +
|
if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " +
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/railties/html/javascripts/util.js
|
this._children(element.firstChild, arguments[2]);
|
this._children(element, arguments[2]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/railties/html/javascripts/util.js
|
return element.firstChild;
|
return element;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/railties/html/javascripts/util.js
|
var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">";
|
elementName = elementName.toUpperCase(); var parentTag = this.NODEMAP[elementName] || 'div'; var parentElement = document.createElement(parentTag); parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; var element = parentElement.firstChild || null; if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; if(!element) element = document.createElement(elementName); if(!element) return;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
this._children(element.firstChild, arguments[1]);
|
this._children(element, arguments[1]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
if(attrs.length) element.innerHTML = "<" +elementName + " " +
|
if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " +
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
this._children(element.firstChild, arguments[2]);
|
this._children(element, arguments[2]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
return element.firstChild;
|
return element;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">";
|
elementName = elementName.toUpperCase(); var parentTag = this.NODEMAP[elementName] || 'div'; var parentElement = document.createElement(parentTag); parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; var element = parentElement.firstChild || null; if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; if(!element) element = document.createElement(elementName); if(!element) return;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
this._children(element.firstChild, arguments[1]);
|
this._children(element, arguments[1]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
if(attrs.length) element.innerHTML = "<" +elementName + " " +
|
if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " +
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
this._children(element.firstChild, arguments[2]);
|
this._children(element, arguments[2]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
return element.firstChild;
|
return element;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
node: function(elementName) { elementName = elementName.toUpperCase(); // Firefox is picky about parent tags var parentTag = this.NODEMAP[elementName] || 'div'; var element = document.createElement(parentTag); element.innerHTML = "<" + elementName + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) { element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; } } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/3876b691cea6d9d7cbc896ce11dfb3d9f14f7385/util.js/clean/src/util.js
|
||
var element = document.createElement(parentTag); element.innerHTML = "<" + elementName + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode;
|
if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; if(!element) element = document.createElement(elementName); if(!element) return;
|
node: function(elementName) { elementName = elementName.toUpperCase(); // Firefox is picky about parent tags var parentTag = this.NODEMAP[elementName] || 'div'; var element = document.createElement(parentTag); element.innerHTML = "<" + elementName + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) { element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; } } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/3876b691cea6d9d7cbc896ce11dfb3d9f14f7385/util.js/clean/src/util.js
|
this._children(element.firstChild, arguments[1]);
|
this._children(element, arguments[1]);
|
node: function(elementName) { elementName = elementName.toUpperCase(); // Firefox is picky about parent tags var parentTag = this.NODEMAP[elementName] || 'div'; var element = document.createElement(parentTag); element.innerHTML = "<" + elementName + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) { element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; } } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/3876b691cea6d9d7cbc896ce11dfb3d9f14f7385/util.js/clean/src/util.js
|
element.innerHTML = "<" +elementName + " " +
|
parentElement.innerHTML = "<" +elementName + " " +
|
node: function(elementName) { elementName = elementName.toUpperCase(); // Firefox is picky about parent tags var parentTag = this.NODEMAP[elementName] || 'div'; var element = document.createElement(parentTag); element.innerHTML = "<" + elementName + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) { element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; } } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/3876b691cea6d9d7cbc896ce11dfb3d9f14f7385/util.js/clean/src/util.js
|
if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode;
|
element = parentElement.firstChild || null; if(!element) { element = document.createElement(elementName); for(attr in arguments[1]) element[attr == 'class' ? 'className' : attr] = arguments[1][attr]; } if(element.tagName != elementName) element = parentElement.getElementsByTagName(elementName)[0];
|
node: function(elementName) { elementName = elementName.toUpperCase(); // Firefox is picky about parent tags var parentTag = this.NODEMAP[elementName] || 'div'; var element = document.createElement(parentTag); element.innerHTML = "<" + elementName + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) { element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; } } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/3876b691cea6d9d7cbc896ce11dfb3d9f14f7385/util.js/clean/src/util.js
|
this._children(element.firstChild, arguments[2]);
|
this._children(element, arguments[2]);
|
node: function(elementName) { elementName = elementName.toUpperCase(); // Firefox is picky about parent tags var parentTag = this.NODEMAP[elementName] || 'div'; var element = document.createElement(parentTag); element.innerHTML = "<" + elementName + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) { element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; } } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/3876b691cea6d9d7cbc896ce11dfb3d9f14f7385/util.js/clean/src/util.js
|
return element.firstChild;
|
return element;
|
node: function(elementName) { elementName = elementName.toUpperCase(); // Firefox is picky about parent tags var parentTag = this.NODEMAP[elementName] || 'div'; var element = document.createElement(parentTag); element.innerHTML = "<" + elementName + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) { element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; if(element.firstChild.tagName != elementName) element = element.getElementsByTagName(elementName)[0].parentNode; } } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/3876b691cea6d9d7cbc896ce11dfb3d9f14f7385/util.js/clean/src/util.js
|
var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">";
|
elementName = elementName.toUpperCase(); var parentTag = this.NODEMAP[elementName] || 'div'; var parentElement = document.createElement(parentTag); parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; var element = parentElement.firstChild || null; if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; if(!element) element = document.createElement(elementName); if(!element) return;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
this._children(element.firstChild, arguments[1]);
|
this._children(element, arguments[1]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
if(attrs.length) element.innerHTML = "<" +elementName + " " +
|
if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " +
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
this._children(element.firstChild, arguments[2]);
|
this._children(element, arguments[2]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
return element.firstChild;
|
return element;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">";
|
elementName = elementName.toUpperCase(); var parentTag = this.NODEMAP[elementName] || 'div'; var parentElement = document.createElement(parentTag); parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; var element = parentElement.firstChild || null; if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; if(!element) element = document.createElement(elementName); if(!element) return;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/actionpack/lib/action_view/helpers/javascripts/util.js
|
this._children(element.firstChild, arguments[1]);
|
this._children(element, arguments[1]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/actionpack/lib/action_view/helpers/javascripts/util.js
|
if(attrs.length) element.innerHTML = "<" +elementName + " " +
|
if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " +
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/actionpack/lib/action_view/helpers/javascripts/util.js
|
this._children(element.firstChild, arguments[2]);
|
this._children(element, arguments[2]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/actionpack/lib/action_view/helpers/javascripts/util.js
|
return element.firstChild;
|
return element;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/actionpack/lib/action_view/helpers/javascripts/util.js
|
var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">";
|
elementName = elementName.toUpperCase(); var parentTag = this.NODEMAP[elementName] || 'div'; var parentElement = document.createElement(parentTag); parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; var element = parentElement.firstChild || null; if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; if(!element) element = document.createElement(elementName); if(!element) return;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
this._children(element.firstChild, arguments[1]);
|
this._children(element, arguments[1]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
if(attrs.length) element.innerHTML = "<" +elementName + " " +
|
if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " +
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
this._children(element.firstChild, arguments[2]);
|
this._children(element, arguments[2]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
return element.firstChild;
|
return element;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">";
|
elementName = elementName.toUpperCase(); var parentTag = this.NODEMAP[elementName] || 'div'; var parentElement = document.createElement(parentTag); parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; var element = parentElement.firstChild || null; if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; if(!element) element = document.createElement(elementName); if(!element) return;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
this._children(element.firstChild, arguments[1]);
|
this._children(element, arguments[1]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
if(attrs.length) element.innerHTML = "<" +elementName + " " +
|
if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " +
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
this._children(element.firstChild, arguments[2]);
|
this._children(element, arguments[2]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
return element.firstChild;
|
return element;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/railties/html/javascripts/util.js
|
var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">";
|
elementName = elementName.toUpperCase(); var parentTag = this.NODEMAP[elementName] || 'div'; var parentElement = document.createElement(parentTag); parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; var element = parentElement.firstChild || null; if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; if(!element) element = document.createElement(elementName); if(!element) return;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
this._children(element.firstChild, arguments[1]);
|
this._children(element, arguments[1]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
if(attrs.length) element.innerHTML = "<" +elementName + " " +
|
if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " +
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
this._children(element.firstChild, arguments[2]);
|
this._children(element, arguments[2]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
return element.firstChild;
|
return element;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/buggy/actionpack/lib/action_view/helpers/javascripts/util.js
|
var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">";
|
elementName = elementName.toUpperCase(); var parentTag = this.NODEMAP[elementName] || 'div'; var parentElement = document.createElement(parentTag); parentElement.innerHTML = "<" + elementName + "></" + elementName + ">"; var element = parentElement.firstChild || null; if(element && (element.tagName != elementName)) element = element.getElementsByTagName(elementName)[0]; if(!element) element = document.createElement(elementName); if(!element) return;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/actionpack/lib/action_view/helpers/javascripts/util.js
|
this._children(element.firstChild, arguments[1]);
|
this._children(element, arguments[1]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/actionpack/lib/action_view/helpers/javascripts/util.js
|
if(attrs.length) element.innerHTML = "<" +elementName + " " +
|
if(attrs.length) { parentElement.innerHTML = "<" +elementName + " " +
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/actionpack/lib/action_view/helpers/javascripts/util.js
|
this._children(element.firstChild, arguments[2]);
|
this._children(element, arguments[2]);
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/actionpack/lib/action_view/helpers/javascripts/util.js
|
return element.firstChild;
|
return element;
|
node: function(elementName) { var element = document.createElement('div'); element.innerHTML = "<" + elementName + "></" + elementName + ">"; // attributes (or text) if(arguments[1]) if(this._isStringOrNumber(arguments[1]) || (arguments[1] instanceof Array)) { this._children(element.firstChild, arguments[1]); } else { var attrs = this._attributes(arguments[1]); if(attrs.length) element.innerHTML = "<" +elementName + " " + attrs + "></" + elementName + ">"; } // text, or array of children if(arguments[2]) this._children(element.firstChild, arguments[2]); return element.firstChild; },
|
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/7d101d58400acaff232091485c8e140f0a37cbaf/util.js/clean/actionpack/lib/action_view/helpers/javascripts/util.js
|
if (this.isLastNode) {
|
if (this.isLastNode) {
|
function nodeImageSrc() { var srcStr = ""; if (this.isLastNode) //the last child in the children array { if (this.nChildren == 0) srcStr = ICONPATH + "ftv2lastnode.gif" else if (this.isOpen) srcStr = ICONPATH + "ftv2mlastnode.gif" else srcStr = ICONPATH + "ftv2plastnode.gif" } else { if (this.nChildren == 0) srcStr = ICONPATH + "ftv2node.gif" else if (this.isOpen) srcStr = ICONPATH + "ftv2mnode.gif" else srcStr = ICONPATH + "ftv2pnode.gif" } return srcStr;}
|
5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/10ba7e2a5c2d92957e2e2af83e2170a8ccca3aea/ftiens4.js/clean/trunk/cacti/include/treeview/ftiens4.js
|
srcStr = ICONPATH + "ftv2mlastnode.gif"
|
srcStr = ICONPATH + "ftv2mlastnode.gif"
|
function nodeImageSrc() { var srcStr = ""; if (this.isLastNode) //the last child in the children array { if (this.nChildren == 0) srcStr = ICONPATH + "ftv2lastnode.gif" else if (this.isOpen) srcStr = ICONPATH + "ftv2mlastnode.gif" else srcStr = ICONPATH + "ftv2plastnode.gif" } else { if (this.nChildren == 0) srcStr = ICONPATH + "ftv2node.gif" else if (this.isOpen) srcStr = ICONPATH + "ftv2mnode.gif" else srcStr = ICONPATH + "ftv2pnode.gif" } return srcStr;}
|
5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/10ba7e2a5c2d92957e2e2af83e2170a8ccca3aea/ftiens4.js/clean/trunk/cacti/include/treeview/ftiens4.js
|
srcStr = ICONPATH + "ftv2plastnode.gif" } else {
|
srcStr = ICONPATH + "ftv2plastnode.gif" } else {
|
function nodeImageSrc() { var srcStr = ""; if (this.isLastNode) //the last child in the children array { if (this.nChildren == 0) srcStr = ICONPATH + "ftv2lastnode.gif" else if (this.isOpen) srcStr = ICONPATH + "ftv2mlastnode.gif" else srcStr = ICONPATH + "ftv2plastnode.gif" } else { if (this.nChildren == 0) srcStr = ICONPATH + "ftv2node.gif" else if (this.isOpen) srcStr = ICONPATH + "ftv2mnode.gif" else srcStr = ICONPATH + "ftv2pnode.gif" } return srcStr;}
|
5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/10ba7e2a5c2d92957e2e2af83e2170a8ccca3aea/ftiens4.js/clean/trunk/cacti/include/treeview/ftiens4.js
|
}
|
}
|
function nodeImageSrc() { var srcStr = ""; if (this.isLastNode) //the last child in the children array { if (this.nChildren == 0) srcStr = ICONPATH + "ftv2lastnode.gif" else if (this.isOpen) srcStr = ICONPATH + "ftv2mlastnode.gif" else srcStr = ICONPATH + "ftv2plastnode.gif" } else { if (this.nChildren == 0) srcStr = ICONPATH + "ftv2node.gif" else if (this.isOpen) srcStr = ICONPATH + "ftv2mnode.gif" else srcStr = ICONPATH + "ftv2pnode.gif" } return srcStr;}
|
5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/10ba7e2a5c2d92957e2e2af83e2170a8ccca3aea/ftiens4.js/clean/trunk/cacti/include/treeview/ftiens4.js
|
function noop() {};
|
function noop() { };
|
function noop() {};
|
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/6d8d70a71e2334171f8c7cf273d18621b0a7a2fb/selenium-executionloop.js/buggy/code/javascript/selenium-executionloop.js
|
function noop() {};
|
function noop() { };
|
function noop() {};
|
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/7dd47c65612a0b0e397f45eeb9c6a7b343ca9250/selenium-executionloop.js/clean/code/javascript/selenium-executionloop.js
|
while (s.substring(0, 1) == " ") s = s.substring(1); while (s.length > 0 && s.substring(s.length - 1, 1) == " ") s = s.substring(0, s.length - 2);
|
while (s.substr(0, 1) == " ") s = s.substr(1); while (s.length > 0 && s.substr(s.length - 1, 1) == " ") s = s.substr(0, s.length - 2);
|
function normalize(s) { while (s.indexOf("\n") > -1) s = s.replace("\n", ' '); while (s.indexOf("\t") > -1) s = s.replace("\t", ' '); while (s.indexOf(' ') > -1) s = s.replace(' ', ' '); // TODO leading, trailing space? seems to work for leading, not trailing while (s.substring(0, 1) == " ") s = s.substring(1); while (s.length > 0 && s.substring(s.length - 1, 1) == " ") s = s.substring(0, s.length - 2); return s;}
|
952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/acaf2f3cc32a6781b1b116b2d37f39fc2d4472e2/cq.js/clean/cq.js
|
if (s == null) return null;
|
function normalize(s) { while (s.indexOf("\n") > -1) s = s.replace("\n", ' '); while (s.indexOf("\t") > -1) s = s.replace("\t", ' '); while (s.indexOf(' ') > -1) s = s.replace(' ', ' '); // TODO leading, trailing space? seems to work for leading, not trailing while (s.substr(0, 1) == " ") s = s.substr(1); while (s.length > 0 && s.substr(s.length - 1, 1) == " ") s = s.substr(0, s.length - 2); return s;}
|
952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js
|
|
while (s.indexOf("\t") > -1) s = s.replace("\t", ' ');
|
function normalize(s) { while (s.indexOf("\r") > -1) s = s.replace("\r", ' '); while (s.indexOf("\n") > -1) s = s.replace("\n", ' '); while (s.indexOf(' ') > -1) s = s.replace(' ', ' '); return s;} // normalize
|
952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/e9e0c41d98459297114cf8e4230419bde34d9db4/cq.js/buggy/cq.js
|
|
function normalizeSpace(s) { return trim(s.replace(/[\n\t\s]+/g, ' ')); }
|
function normalizeSpace(s) { return trim(s.replace(/[\n\t\s]+/g, ' ')); }
|
function normalizeSpace(s) { return trim(s.replace(/[\n\t\s]+/g, ' '));}
|
952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/2a746c51cb453135daac5b466cc200a56d6f3d98/cq.js/clean/cq.js
|
return text.replace(nbspPattern, " ");
|
if (browserVersion.isSafari) { return replaceAll(text, String.fromCharCode(160), " "); } else { return text.replace(nbspPattern, " "); }
|
function normalizeSpaces(text){ // IE has already done this conversion, so doing it again will remove multiple nbsp if (browserVersion.isIE) { return text; } // Replace multiple spaces with a single space // TODO - this shouldn't occur inside PRE elements text = text.replace(/\ +/g, " "); // Replace with a space var nbspPattern = new RegExp(String.fromCharCode(160), "g"); return text.replace(nbspPattern, " ");}
|
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/bdf50299ec90235355e5c177afdd0f378929ba91/htmlutils.js/clean/code/javascript/core/scripts/htmlutils.js
|
var pat = String.fromCharCode(160); var re = new RegExp(pat, "g");
|
var pat = String.fromCharCode(160); var re = new RegExp(pat, "g");
|
function normalizeSpaces(text){ // IE has already done this conversion, so doing it again will remove multiple nbsp if (browserVersion.isIE) { return text; } // Replace multiple spaces with a single space // TODO - this shouldn't occur inside PRE elements text = text.replace(/\ +/g, " "); // Replace with a space var pat = String.fromCharCode(160); // Opera doesn't like /\240/g var re = new RegExp(pat, "g"); return text.replace(re, " ");}
|
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/409c1704b4cf230ddff8734c8f4835b0c22da435/htmlutils.js/clean/code/javascript/core/scripts/htmlutils.js
|
notify: function(eventName) {
|
notify: function(eventName, draggable) {
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
this.observers[i][eventName]();
|
this.observers[i][eventName](draggable);
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
notify: function(eventName) {
|
notify: function(eventName, draggable) {
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
this.observers[i][eventName]();
|
this.observers[i][eventName](draggable);
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
notify: function(eventName) {
|
notify: function(eventName, draggable) {
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
this.observers[i][eventName]();
|
this.observers[i][eventName](draggable);
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
notify: function(eventName) {
|
notify: function(eventName, draggable) {
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
this.observers[i][eventName]();
|
this.observers[i][eventName](draggable);
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
notify: function(eventName) {
|
notify: function(eventName, draggable) {
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
this.observers[i][eventName]();
|
this.observers[i][eventName](draggable);
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
notify: function(eventName) {
|
notify: function(eventName, draggable) {
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
this.observers[i][eventName]();
|
this.observers[i][eventName](draggable);
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
notify: function(eventName) {
|
notify: function(eventName, draggable) {
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
this.observers[i][eventName]();
|
this.observers[i][eventName](draggable);
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
if(draggable.options[eventName]) draggable.options[eventName](this);
|
notify: function(eventName, draggable, event) { // 'onStart', 'onEnd', 'onDrag' if(this[eventName+'Count'] > 0) this.observers.each( function(o) { if(o[eventName]) o[eventName](eventName, draggable, event); }); },
|
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/e321fea35b6ecd3ecdf4ed7662ff8917ab1af51f/dragdrop.js/clean/src/dragdrop.js
|
|
notify: function(eventName) {
|
notify: function(eventName, draggable) {
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
this.observers[i][eventName]();
|
this.observers[i][eventName](draggable);
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](draggable);
|
this.observers.invoke(eventName, draggable);
|
notify: function(eventName, draggable) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](draggable); }
|
742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/dragdrop.js/clean/public/javascripts/dragdrop.js
|
notify: function(eventName) {
|
notify: function(eventName, draggable) {
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
this.observers[i][eventName]();
|
this.observers[i][eventName](draggable);
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
notify: function(eventName) {
|
notify: function(eventName, draggable) {
|
notify: function(eventName) { // 'onStart', 'onEnd' for(var i = 0; i < this.observers.length; i++) this.observers[i][eventName](); }
|
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/cadcd9e7144394ecc9df01961191d20e5e219a37/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.