rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 13 136k | meta stringlengths 132 347 |
|---|---|---|---|
line = tokenizer.stripComment(line); if (line === 'C') { if (multilineVars.havent_set_length === true) multilineVars.default_length = 0.125; return {type: 'common_time'}; } else if (line === 'C|') { if (multilineVars.havent_set_length === true) multilineVars.default_length = 0.125; return {type: 'cut_time'}; } else if ... | line = tokenizer.stripComment(line); if (line === 'C') { if (multilineVars.havent_set_length === true) multilineVars.default_length = 0.125; return {type: 'common_time'}; } else if (line === 'C|') { if (multilineVars.havent_set_length === true) multilineVars.default_length = 0.125; return {type: 'cut_time'}; } else if ... | this.setMeter = function(line) { line = tokenizer.stripComment(line); if (line === 'C') { if (multilineVars.havent_set_length === true) multilineVars.default_length = 0.125; return {type: 'common_time'}; } else if (line === 'C|') { if (multilineVars.havent_set_length === true) multilineVars.def... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js |
else { var tokens = tokenizer.tokenize(line, 0, line.length); try { var parseNum = function() { var ret = { value: 0, num: "" }; var tok = tokens.shift(); if (tok.token === '(') tok = tokens.shift(); while (1) { if (tok.type !== 'number') throw "Expected top number of meter"; ret.value += parseInt(tok.token); ret.nu... | } return null; }; | this.setMeter = function(line) { line = tokenizer.stripComment(line); if (line === 'C') { if (multilineVars.havent_set_length === true) multilineVars.default_length = 0.125; return {type: 'common_time'}; } else if (line === 'C|') { if (multilineVars.havent_set_length === true) multilineVars.def... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js |
var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') { | var setMeter = function(line) { line = tokenizer.stripComment(line); if (line === 'C') { | var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') { multilineVars.meter = {type: 'common_time'}; multilineVars.havent_set_length = false; } else if (meter === 'C|') { multilineVars.meter = {type: 'cut_time'}; multilineVars.havent_set_length = false; } else ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js |
multilineVars.havent_set_length = false; } else if (meter === 'C|') { | if (multilineVars.havent_set_length === true) multilineVars.default_length = 1; } else if (line === 'C|') { | var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') { multilineVars.meter = {type: 'common_time'}; multilineVars.havent_set_length = false; } else if (meter === 'C|') { multilineVars.meter = {type: 'cut_time'}; multilineVars.havent_set_length = false; } else ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js |
multilineVars.havent_set_length = false; } else if (meter.length === 0 || meter.toLowerCase() === 'none') | if (multilineVars.havent_set_length === true) multilineVars.default_length = 1; } else if (line.length === 0 || line.toLowerCase() === 'none') { | var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') { multilineVars.meter = {type: 'common_time'}; multilineVars.havent_set_length = false; } else if (meter === 'C|') { multilineVars.meter = {type: 'cut_time'}; multilineVars.havent_set_length = false; } else ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js |
var a = meter.split('/'); if (a.length === 2) multilineVars.meter = {type: 'specified', num: a[0].strip(), den: a[1].strip()}; | var tokens = tokenizer.tokenize(line, 0, line.length); try { var parseNum = function() { var ret = { value: 0, num: "" }; var tok = tokens.shift(); if (tok.token === '(') tok = tokens.shift(); while (1) { if (tok.type !== 'number') throw "Expected top number of meter"; ret.value += parseInt(tok.token); ret.num += to... | var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') { multilineVars.meter = {type: 'common_time'}; multilineVars.havent_set_length = false; } else if (meter === 'C|') { multilineVars.meter = {type: 'cut_time'}; multilineVars.havent_set_length = false; } else ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js |
multilineVars.default_length = multilineVars.meter.num/multilineVars.meter.den < 0.75 ? 0.5 : 1; multilineVars.havent_set_length = false; | multilineVars.default_length = totalLength < 0.75 ? 0.5 : 1; | var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') { multilineVars.meter = {type: 'common_time'}; multilineVars.havent_set_length = false; } else if (meter === 'C|') { multilineVars.meter = {type: 'cut_time'}; multilineVars.havent_set_length = false; } else ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js |
} catch (e) { warn(e, line, 0); } | var setMeter = function(meter) { meter = tokenizer.stripComment(meter); if (meter === 'C') { multilineVars.meter = {type: 'common_time'}; multilineVars.havent_set_length = false; } else if (meter === 'C|') { multilineVars.meter = {type: 'cut_time'}; multilineVars.havent_set_length = false; } else ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js | |
var i = tokenizer.skipWhiteSpace(str); str = str.substring(i); if (str.startsWith('m=') || str.startsWith('middle=')) { str = str.substring(str.indexOf('=')+1); multilineVars.clef.middle = parseMiddle(str); } }; | var i = tokenizer.skipWhiteSpace(str); str = str.substring(i); if (str.startsWith('m=') || str.startsWith('middle=')) { str = str.substring(str.indexOf('=')+1); multilineVars.clef.middle = parseMiddle(str); } }; | var setMiddle = function(str) { var i = tokenizer.skipWhiteSpace(str); str = str.substring(i); if (str.startsWith('m=') || str.startsWith('middle=')) { str = str.substring(str.indexOf('=')+1); multilineVars.clef.middle = parseMiddle(str); } }; | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js |
null&&c.data("ec.storage."+a[b],c[0].style[a[b]])},restore:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.css(a[b],c.data("ec.storage."+a[b]))},setMode:function(c,a){if(a=="toggle")a=c.is(":hidden")?"show":"hide";return a},getBaseline:function(c,a){var b;switch(c[0]){case "top":b=0;break;case "middle":b=0.5;br... | [{add:a,remove:c},b,d,e])}});f.extend(f.effects,{version:"1.8.6",save:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.data("ec.storage."+a[b],c[0].style[a[b]])},restore:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.css(a[b],c.data("ec.storage."+a[b]))},setMode:function(c,a){if(a=="toggle")a=c.is(":hid... | null&&c.data("ec.storage."+a[b],c[0].style[a[b]])},restore:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.css(a[b],c.data("ec.storage."+a[b]))},setMode:function(c,a){if(a=="toggle")a=c.is(":hidden")?"show":"hide";return a},getBaseline:function(c,a){var b;switch(c[0]){case "top":b=0;break;case "middle":b=0.5;br... | 3959 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/3959/6ffc2de1d5816f49b1cdf002161144b28f2dc6e5/jquery-ui.js/buggy/javascript/jquery-ui.js |
if (popupContainer === undefined || popupContainer == null) return; | setMRUdatabases: function() { //return; // alert("set"); // get the popup menu for this list of logins and subgroups // var container = this._currentWindow.document.getElementById("KeeFox_ChangeDB-Button"); var popupContainer = this._currentWindow.document.getElementById("KeeFox_ChangeD... | 2656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2656/3493c6e90936247e4528a0cd55f33cd21a635ec2/KFToolBar.js/clean/Firefox addon/KeeFox/chrome/content/KFToolBar.js | |
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS... | "marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),l=c.css(a,"top"),k=c.css(a,"left"),o=e==="absolute"&&c.inArray("auto",[l,k])>-1;e={};var x={};if(o)x=f.position();l=o?x.t... | c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS... | 3959 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/3959/6ffc2de1d5816f49b1cdf002161144b28f2dc6e5/jquery.js/clean/javascript/jquery.js |
bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.posi... | c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS... | bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.posi... | 10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/e67dc72e11289d294cc6b462fc98149983bd62f4/jquery.js/clean/wp-includes/js/jquery/jquery.js |
"marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),k=c.css(a,"top"),l=c.css(a,"left"),n=e==="absolute"&&c.inArray("auto",[k,l])>-1;e={};var s={};if(n)s=f.position();k=n?s.t... | "marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),l=c.css(a,"top"),k=c.css(a,"left"),o=e==="absolute"&&c.inArray("auto",[l,k])>-1;e={};var x={};if(o)x=f.position();l=o?x.t... | "marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),k=c.css(a,"top"),l=c.css(a,"left"),n=e==="absolute"&&c.inArray("auto",[k,l])>-1;e={};var s={};if(n)s=f.position();k=n?s.t... | 2459 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2459/224f99709ae7b631dc0e80310148eb2c54d2198a/jquery.js/buggy/default_www/frontend/core/js/jquery/jquery.js |
-b.elemWidth:b.my[0]==="right"?b.elemWidth:0,g=-2*b.offset[0];a.left+=a.left<0?e+b.targetWidth+g:d>0?e-b.targetWidth+g:0}},top:function(a,b){if(b.at[1]!=="center"){var d=c(window);d=a.top+b.elemHeight-d.height()-d.scrollTop();var e=b.my[1]==="top"?-b.elemHeight:b.my[1]==="bottom"?b.elemHeight:0,g=b.at[1]==="top"?b.targ... | a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.co... | -b.elemWidth:b.my[0]==="right"?b.elemWidth:0,g=-2*b.offset[0];a.left+=a.left<0?e+b.targetWidth+g:d>0?e-b.targetWidth+g:0}},top:function(a,b){if(b.at[1]!=="center"){var d=c(window);d=a.top+b.elemHeight-d.height()-d.scrollTop();var e=b.my[1]==="top"?-b.elemHeight:b.my[1]==="bottom"?b.elemHeight:0,g=b.at[1]==="top"?b.targ... | 3959 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/3959/6ffc2de1d5816f49b1cdf002161144b28f2dc6e5/jquery-ui.js/buggy/javascript/jquery-ui.js |
setOffset: function( elem, options, i ) { var position = jQuery.css( elem, "position" ); if ( position === "static" ) { elem.style.position = "relative"; } var curElem = jQuery( elem ), curOffset = curElem.offset(), curCSSTop = jQuery.css( elem, "top" ), curCSSLeft = jQuery.css( elem, "left" ), calculatePosition = (... | "marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),l=c.css(a,"top"),k=c.css(a,"left"),o=e==="absolute"&&c.inArray("auto",[l,k])>-1;e={};var x={};if(o)x=f.position();l=o?x.t... | setOffset: function( elem, options, i ) { var position = jQuery.css( elem, "position" ); // set position first, in-case top/left are set even on static elem if ( position === "static" ) { elem.style.position = "relative"; } var curElem = jQuery( elem ), curOffset = curElem.offset(), curCSSTop = jQuery.css( ... | 10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/337f8a7f8f1bd9e61727ac292aa76724b4cf7a46/jquery.js/clean/wp-includes/js/jquery/jquery.js |
b.left+=a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.t... | a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.co... | b.left+=a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.t... | 10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/2fdac1ebbdba127489a58801f9e124cb3526654d/ui.position.js/buggy/wp-includes/js/jquery/ui.position.js |
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS... | "marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),k=c.css(a,"top"),l=c.css(a,"left"),n=e==="absolute"&&c.inArray("auto",[k,l])>-1;e={};var s={};if(n)s=f.position();k=n?s.t... | c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS... | 8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/debb161f7671ff5bddc8def2221db94ff111ff1b/jquery.js/clean/js/jquery.js |
"marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),k=c.css(a,"top"),l=c.css(a,"left"),n=e==="absolute"&&c.inArray("auto",[k,l])>-1;e={};var s={};if(n)s=f.position();k=n?s.t... | "marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),l=c.css(a,"top"),k=c.css(a,"left"),o=e==="absolute"&&c.inArray("auto",[l,k])>-1;e={};var x={};if(o)x=f.position();l=o?x.t... | "marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),k=c.css(a,"top"),l=c.css(a,"left"),n=e==="absolute"&&c.inArray("auto",[k,l])>-1;e={};var s={};if(n)s=f.position();k=n?s.t... | 2459 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2459/224f99709ae7b631dc0e80310148eb2c54d2198a/jquery.js/buggy/default_www/backend/core/js/jquery/jquery.js |
bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.posi... | c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS... | bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.posi... | 8560 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8560/4d748e5cbfcbd91691b089e42cffdf43918e6201/jquery.min.js/clean/web/javascript/jquery/jquery.min.js |
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS... | "marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),k=c.css(a,"top"),l=c.css(a,"left"),n=e==="absolute"&&c.inArray("auto",[k,l])>-1;e={};var s={};if(n)s=f.position();k=n?s.t... | c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS... | 10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/8e2f21f44411204c60060f830cb1a800533462d2/jquery.js/buggy/wp-includes/js/jquery/jquery.js |
d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;d.offset.initialize();if(d.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(d.curCSS(a,"marginTop",true))||0;e+=parseFloat(d.curCSS(a,"marginLeft",true))||0}return{top:b,left:e}},setOffset:function(a,b,e){if(/static/.test(d.curCSS... | c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;e+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:e}},setOffset:function(a,b,e){if(/static/.test(c.curCSS... | d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;d.offset.initialize();if(d.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(d.curCSS(a,"marginTop",true))||0;e+=parseFloat(d.curCSS(a,"marginLeft",true))||0}return{top:b,left:e}},setOffset:function(a,b,e){if(/static/.test(d.curCSS... | 5677 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5677/bb76d586bec69eabec79913009e9ba30d248e123/jquery.min.js/buggy/src/web/skeleton/jquery.min.js |
return this;},setOpacity:function(i){if(c){i=Math.round(i*100);this.setStyle('filter',i>=100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+i+')');}else this.setStyle('opacity',i);},unselectable:b.gecko?function(){this.$.style.MozUserSelect='none';}:b.webkit?function(){this.$.style.KhtmlUserSelect='none';}:funct... | },setAttribute:(function(){var i=function(j,k){this.$.setAttribute(j,k);return this;};if(c&&(b.ie7Compat||b.ie6Compat))return function(j,k){var l=this;if(j=='class')l.$.className=k;else if(j=='style')l.$.style.cssText=k;else if(j=='tabindex')l.$.tabIndex=k;else if(j=='checked')l.$.checked=k;else i.apply(l,arguments);re... | return this;},setOpacity:function(i){if(c){i=Math.round(i*100);this.setStyle('filter',i>=100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+i+')');}else this.setStyle('opacity',i);},unselectable:b.gecko?function(){this.$.style.MozUserSelect='none';}:b.webkit?function(){this.$.style.KhtmlUserSelect='none';}:funct... | 8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/debb161f7671ff5bddc8def2221db94ff111ff1b/ckeditor.js/buggy/ckeditor/ckeditor.js |
element = hasLayout($(element)); | element = hasLayout_IE($(element)); | function setOpacity_IE(element, value) { element = hasLayout($(element)); var filter = Element.getStyle(element, 'filter'), style = element.style; if (value == 1 || value === '') { // Remove the `alpha` filter from IE's `filter` CSS property. If there // is anything left after removal, put... | 6684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6684/e5c8fcead6331b7ca2a2eddc735b07a784afa3d6/dom.js/clean/src/dom/dom.js |
style = element.style; | style = element.style; | function setOpacity_IE(element, value) { element = hasLayout($(element)); var filter = Element.getStyle(element, 'filter'), style = element.style; if (value == 1 || value === '') { // Remove the `alpha` filter from IE's `filter` CSS property. If there // is anything left after removal, put... | 6684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6684/e5c8fcead6331b7ca2a2eddc735b07a784afa3d6/dom.js/clean/src/dom/dom.js |
else style.removeAttribute('filter'); | else style.removeAttribute('filter'); | function setOpacity_IE(element, value) { element = hasLayout($(element)); var filter = Element.getStyle(element, 'filter'), style = element.style; if (value == 1 || value === '') { // Remove the `alpha` filter from IE's `filter` CSS property. If there // is anything left after removal, put... | 6684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6684/e5c8fcead6331b7ca2a2eddc735b07a784afa3d6/dom.js/clean/src/dom/dom.js |
(function($){$.imgAreaSelect={onKeyPress:null};$.imgAreaSelect.init=function(img,options){var $img=$(img),imgLoaded,$box=$('<div />'),$area=$('<div />'),$border1=$('<div />'),$border2=$('<div />'),$areaOpera,$outLeft=$('<div />'),$outTop=$('<div />'),$outRight=$('<div />'),$outBottom=$('<div />'),$handles=$([]),handleW... | (function($){var abs=Math.abs,max=Math.max,min=Math.min,round=Math.round;function div(){return $('<div/>')}$.imgAreaSelect=function(img,options){var $img=$(img),imgLoaded,$box=div(),$area=div(),$border=div().add(div()).add(div()).add(div()),$outer=div().add(div()).add(div()).add(div()),$handles=$([]),$areaOpera,left,to... | (function($){$.imgAreaSelect={onKeyPress:null};$.imgAreaSelect.init=function(img,options){var $img=$(img),imgLoaded,$box=$('<div />'),$area=$('<div />'),$border1=$('<div />'),$border2=$('<div />'),$areaOpera,$outLeft=$('<div />'),$outTop=$('<div />'),$outRight=$('<div />'),$outBottom=$('<div />'),$handles=$([]),handleW... | 8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/4120b09b68ebe356eaf79e35f7e2d6ee441dee08/jquery.imgareaselect.js/buggy/js/jquery.imgareaselect.js |
for (var i = 0; i < instance.options.array.length && ret.length < instance.options.choices ; i++) { | for (var i = 0; i < instance.options.array.length && ret.length < instance.options.choices ; i++) { | setOptions: function(options) { this.options = Object.extend({ choices: 10, partialSearch: true, partialChars: 2, ignoreCase: true, fullSearch: false, selector: function(instance) { var ret = []; // Beginning matches var partial = []; // Inside matches var... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/controls.js/buggy/web/src/main/webapp/js/controls.js |
var foundPos = instance.options.ignoreCase ? elem.toLowerCase().indexOf(entry.toLowerCase()) : | var foundPos = instance.options.ignoreCase ? elem.toLowerCase().indexOf(entry.toLowerCase()) : | setOptions: function(options) { this.options = Object.extend({ choices: 10, partialSearch: true, partialChars: 2, ignoreCase: true, fullSearch: false, selector: function(instance) { var ret = []; // Beginning matches var partial = []; // Inside matches var... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/controls.js/buggy/web/src/main/webapp/js/controls.js |
if (foundPos == 0 && elem.length != entry.length) { ret.push("<li><strong>" + elem.substr(0, entry.length) + "</strong>" + | if (foundPos == 0 && elem.length != entry.length) { ret.push("<li><strong>" + elem.substr(0, entry.length) + "</strong>" + | setOptions: function(options) { this.options = Object.extend({ choices: 10, partialSearch: true, partialChars: 2, ignoreCase: true, fullSearch: false, selector: function(instance) { var ret = []; // Beginning matches var partial = []; // Inside matches var... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/controls.js/buggy/web/src/main/webapp/js/controls.js |
} else if (entry.length >= instance.options.partialChars && | } else if (entry.length >= instance.options.partialChars && | setOptions: function(options) { this.options = Object.extend({ choices: 10, partialSearch: true, partialChars: 2, ignoreCase: true, fullSearch: false, selector: function(instance) { var ret = []; // Beginning matches var partial = []; // Inside matches var... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/controls.js/buggy/web/src/main/webapp/js/controls.js |
foundPos = instance.options.ignoreCase ? elem.toLowerCase().indexOf(entry.toLowerCase(), foundPos + 1) : | foundPos = instance.options.ignoreCase ? elem.toLowerCase().indexOf(entry.toLowerCase(), foundPos + 1) : | setOptions: function(options) { this.options = Object.extend({ choices: 10, partialSearch: true, partialChars: 2, ignoreCase: true, fullSearch: false, selector: function(instance) { var ret = []; // Beginning matches var partial = []; // Inside matches var... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/controls.js/buggy/web/src/main/webapp/js/controls.js |
ret = ret.concat(partial.slice(0, instance.options.choices - ret.length)) | ret = ret.concat(partial.slice(0, instance.options.choices - ret.length)); | setOptions: function(options) { this.options = Object.extend({ choices: 10, partialSearch: true, partialChars: 2, ignoreCase: true, fullSearch: false, selector: function(instance) { var ret = []; // Beginning matches var partial = []; // Inside matches var... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/controls.js/buggy/web/src/main/webapp/js/controls.js |
}, options || {}); | }, options || { }); | setOptions: function(options) { this.options = Object.extend({ choices: 10, partialSearch: true, partialChars: 2, ignoreCase: true, fullSearch: false, selector: function(instance) { var ret = []; // Beginning matches var partial = []; // Inside matches var... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/controls.js/buggy/web/src/main/webapp/js/controls.js |
(function(){var C="http: | var Xmla;(function(){var D="http: | (function(){var C="http://schemas.xmlsoap.org/soap/",d=C+"envelope/",g="SOAP-ENV",k="xmlns:"+g+'="'+d+'"',u=g+':encodingStyle="'+C+'encoding/"',i="urn:schemas-microsoft-com:",v=i+"xml-analysis",h='xmlns="'+v+'"',H="sql",j=i+"xml-sql",D="http://www.w3.org/2001/XMLSchema",c="xsd",E="http://www.w3.org/2001/XMLSchema-insta... | 2393 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2393/e59723b41b1805477095d03df583d3f3111d6691/Xmla-min.js/clean/js/Xmla-min.js |
"Content";Xmla.PROP_CONTENT_DATA="Data";Xmla.PROP_CONTENT_NONE="None";Xmla.PROP_CONTENT_SCHEMA="Schema";Xmla.PROP_CONTENT_SCHEMADATA="SchemaData";Xmla.prototype={listeners:null,soapMessage:null,response:null,responseText:null,responseXml:null,setOptions:function(a){h(this.options,a,true)},addListener:function(a){var b=... | "CustomFormat";Xmla.PROP_CONTENT="Content";Xmla.PROP_CONTENT_DATA="Data";Xmla.PROP_CONTENT_NONE="None";Xmla.PROP_CONTENT_SCHEMA="Schema";Xmla.PROP_CONTENT_SCHEMADATA="SchemaData";Xmla.prototype={listeners:null,soapMessage:null,response:null,responseText:null,responseXml:null,setOptions:function(a){g(this.options,a,true... | "Content";Xmla.PROP_CONTENT_DATA="Data";Xmla.PROP_CONTENT_NONE="None";Xmla.PROP_CONTENT_SCHEMA="Schema";Xmla.PROP_CONTENT_SCHEMADATA="SchemaData";Xmla.prototype={listeners:null,soapMessage:null,response:null,responseText:null,responseXml:null,setOptions:function(a){h(this.options,a,true)},addListener:function(a){var b=... | 2393 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2393/e59723b41b1805477095d03df583d3f3111d6691/Xmla-compiled.js/buggy/js/Xmla-compiled.js |
var requestHeaders = ['X-Requested-With', 'XMLHttpRequest', 'X-Prototype-Version', Prototype.Version, 'Accept', 'text/javascript, text/html, application/xml, text/xml, */*']; | var headers = { 'X-Requested-With': 'XMLHttpRequest', 'X-Prototype-Version': Prototype.Version, 'Accept': 'text/javascript, text/html, application/xml, text/xml, */*' }; | setRequestHeaders: function() { var requestHeaders = ['X-Requested-With', 'XMLHttpRequest', 'X-Prototype-Version', Prototype.Version, 'Accept', 'text/javascript, text/html, application/xml, text/xml, */*']; if (this.options.method == 'post') { requestHeaders.push('Content-type', this.optio... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/prototype.js/clean/web/src/main/webapp/js/prototype.js |
if (this.options.method == 'post') { requestHeaders.push('Content-type', this.options.contentType); | if (this.method == 'post') { headers['Content-type'] = this.options.contentType + (this.options.encoding ? '; charset=' + this.options.encoding : ''); | setRequestHeaders: function() { var requestHeaders = ['X-Requested-With', 'XMLHttpRequest', 'X-Prototype-Version', Prototype.Version, 'Accept', 'text/javascript, text/html, application/xml, text/xml, */*']; if (this.options.method == 'post') { requestHeaders.push('Content-type', this.optio... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/prototype.js/clean/web/src/main/webapp/js/prototype.js |
/* Force "Connection: close" for Mozilla browsers to work around * a bug where XMLHttpReqeuest sends an incorrect Content-length * header. See Mozilla Bugzilla #246651. | /* Force "Connection: close" for older Mozilla browsers to work * around a bug where XMLHttpRequest sends an incorrect * Content-length header. See Mozilla Bugzilla #246651. | setRequestHeaders: function() { var requestHeaders = ['X-Requested-With', 'XMLHttpRequest', 'X-Prototype-Version', Prototype.Version, 'Accept', 'text/javascript, text/html, application/xml, text/xml, */*']; if (this.options.method == 'post') { requestHeaders.push('Content-type', this.optio... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/prototype.js/clean/web/src/main/webapp/js/prototype.js |
if (this.transport.overrideMimeType) requestHeaders.push('Connection', 'close'); | if (this.transport.overrideMimeType && (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0,2005])[1] < 2005) headers['Connection'] = 'close'; | setRequestHeaders: function() { var requestHeaders = ['X-Requested-With', 'XMLHttpRequest', 'X-Prototype-Version', Prototype.Version, 'Accept', 'text/javascript, text/html, application/xml, text/xml, */*']; if (this.options.method == 'post') { requestHeaders.push('Content-type', this.optio... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/prototype.js/clean/web/src/main/webapp/js/prototype.js |
if (this.options.requestHeaders) requestHeaders.push.apply(requestHeaders, this.options.requestHeaders); | if (typeof this.options.requestHeaders == 'object') { var extras = this.options.requestHeaders; | setRequestHeaders: function() { var requestHeaders = ['X-Requested-With', 'XMLHttpRequest', 'X-Prototype-Version', Prototype.Version, 'Accept', 'text/javascript, text/html, application/xml, text/xml, */*']; if (this.options.method == 'post') { requestHeaders.push('Content-type', this.optio... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/prototype.js/clean/web/src/main/webapp/js/prototype.js |
for (var i = 0; i < requestHeaders.length; i += 2) this.transport.setRequestHeader(requestHeaders[i], requestHeaders[i+1]); | if (Object.isFunction(extras.push)) for (var i = 0, length = extras.length; i < length; i += 2) headers[extras[i]] = extras[i+1]; else $H(extras).each(function(pair) { headers[pair.key] = pair.value }); } for (var name in headers) this.transport.setRequestHeader(name, headers[name]); | setRequestHeaders: function() { var requestHeaders = ['X-Requested-With', 'XMLHttpRequest', 'X-Prototype-Version', Prototype.Version, 'Accept', 'text/javascript, text/html, application/xml, text/xml, */*']; if (this.options.method == 'post') { requestHeaders.push('Content-type', this.optio... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/prototype.js/clean/web/src/main/webapp/js/prototype.js |
setRequestHeaders: function() { var headers = { 'X-Requested-With': 'XMLHttpRequest', 'X-Prototype-Version': Prototype.Version, 'Accept': 'text/javascript, text/html, application/xml, text/xml, */*' }; if (this.method == 'post') { headers['Content-type'] = this.options.contentType + ... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/34175877c50897fdc4ecb46e3a9bd06ea70ff4fa/prototype.js/buggy/web/src/main/webapp/js/prototype.js | ||
setSelection : function(start, end) | this.setSelection = function(start, end) | setSelection : function(start, end) { //editAreaLoader.setSelectionRange('abc', pos, parseInt(pos)+1); $(this._id).setSelectionRange(start,end); $(this._id).focus(); }, | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/application.js/buggy/application.js |
}, | }; | setSelection : function(start, end) { //editAreaLoader.setSelectionRange('abc', pos, parseInt(pos)+1); $(this._id).setSelectionRange(start,end); $(this._id).focus(); }, | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/application.js/buggy/application.js |
if (!preventEvent) | if (!preventEvent && selectionIsSane()) | function setSelection(ranges, preventEvent) { var axis, range, axes = plot.getAxes(); var o = plot.getOptions(); if (o.selection.mode == "y") { selection.first.x = 0; selection.second.x = plot.width(); } else { a... | 1484 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/1484/e131b7761813b80aba708293f368caed8cc337d6/jquery.flot.selection.js/clean/jquery.flot.selection.js |
return{start:b,end:a.text.length}}else return a.selectionStart||a.selectionStart==0?{start:a.selectionStart,end:a.selectionEnd}:{start:-1,end:-1}};this.setSelectionRange=function(a,b,e){var k=$(a).val();if(typeof b!="number")b=-1;if(typeof e!="number")e=-1;if(b<0)b=0;if(e>k.length)e=k.length;if(e<b)e=b;if(b>e)b=e;a.foc... | end:b.length+a}}else{e=$(a).val();a=document.selection.createRange().duplicate();a.moveEnd("character",e.length);b=a.text==""?e.length:e.lastIndexOf(a.text);a=document.selection.createRange().duplicate();a.moveStart("character",-e.length);return{start:b,end:a.text.length}}else return a.selectionStart||a.selectionStart=... | return{start:b,end:a.text.length}}else return a.selectionStart||a.selectionStart==0?{start:a.selectionStart,end:a.selectionEnd}:{start:-1,end:-1}};this.setSelectionRange=function(a,b,e){var k=$(a).val();if(typeof b!="number")b=-1;if(typeof e!="number")e=-1;if(b<0)b=0;if(e>k.length)e=k.length;if(e<b)e=b;if(b>e)b=e;a.foc... | 5677 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5677/3b5851a0b7bf3537f85cb0ca962bb299b0ff8b6f/Wt.min.js/clean/src/web/skeleton/Wt.min.js |
"");return{start:a,end:b.length+a}}else{f=$(a).val();a=document.selection.createRange().duplicate();a.moveEnd("character",f.length);b=a.text==""?f.length:f.lastIndexOf(a.text);a=document.selection.createRange().duplicate();a.moveStart("character",-f.length);return{start:b,end:a.text.length}}else return a.selectionStart... | 0?{start:a.selectionStart,end:a.selectionEnd}:{start:-1,end:-1}};this.setSelectionRange=function(a,b,f){var l=$(a).val();if(typeof b!="number")b=-1;if(typeof f!="number")f=-1;if(b<0)b=0;if(f>l.length)f=l.length;if(f<b)f=b;if(b>f)b=f;a.focus();if(typeof a.selectionStart!=="undefined"){a.selectionStart=b;a.selectionEnd=f... | "");return{start:a,end:b.length+a}}else{f=$(a).val();a=document.selection.createRange().duplicate();a.moveEnd("character",f.length);b=a.text==""?f.length:f.lastIndexOf(a.text);a=document.selection.createRange().duplicate();a.moveStart("character",-f.length);return{start:b,end:a.text.length}}else return a.selectionStart... | 5677 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5677/ca3c6e1b6446cca6cde3b6ac8be698303e362058/Wt.min.js/buggy/src/web/skeleton/Wt.min.js |
if (elem.selectionStart != undefined) { | if (typeof elem.selectionStart !== 'undefined') { | this.setSelectionRange = function(elem, start, end) { /** * @preserve Includes jQuery Caret Range plugin * Copyright (c) 2009 Matt Zabriskie * Released under the MIT and GPL licenses. */ var val = $(elem).val(); if (typeof start != "number") start = -1; if (typeof end != "number") end = -1; if (start < 0) ... | 5677 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5677/9764be5213b30962ec04b94ad969bd447eb5c10a/Wt.js/buggy/src/web/skeleton/Wt.js |
end:b.length+a}}else{f=$(a).val();a=document.selection.createRange().duplicate();a.moveEnd("character",f.length);b=a.text==""?f.length:f.lastIndexOf(a.text);a=document.selection.createRange().duplicate();a.moveStart("character",-f.length);return{start:b,end:a.text.length}}else return a.selectionStart||a.selectionStart=... | "");return{start:a,end:b.length+a}}else{f=$(a).val();a=document.selection.createRange().duplicate();a.moveEnd("character",f.length);b=a.text==""?f.length:f.lastIndexOf(a.text);a=document.selection.createRange().duplicate();a.moveStart("character",-f.length);return{start:b,end:a.text.length}}else return a.selectionStart... | end:b.length+a}}else{f=$(a).val();a=document.selection.createRange().duplicate();a.moveEnd("character",f.length);b=a.text==""?f.length:f.lastIndexOf(a.text);a=document.selection.createRange().duplicate();a.moveStart("character",-f.length);return{start:b,end:a.text.length}}else return a.selectionStart||a.selectionStart=... | 5677 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5677/9764be5213b30962ec04b94ad969bd447eb5c10a/Wt.min.js/clean/src/web/skeleton/Wt.min.js |
this.setSelectionRange=function(a,b,e){var k=$(a).val();if(typeof b!="number")b=-1;if(typeof e!="number")e=-1;if(b<0)b=0;if(e>k.length)e=k.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveS... | this.setSelectionRange=function(a,b,e){var j=$(a).val();if(typeof b!="number")b=-1;if(typeof e!="number")e=-1;if(b<0)b=0;if(e>j.length)e=j.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveS... | this.setSelectionRange=function(a,b,e){var k=$(a).val();if(typeof b!="number")b=-1;if(typeof e!="number")e=-1;if(b<0)b=0;if(e>k.length)e=k.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveS... | 5677 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5677/39b9f5b40482b7e33a2708ec6d23efea2fa51ac4/Wt.min.js/clean/src/web/skeleton/Wt.min.js |
k.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",e-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.me... | k.length;if(e<b)e=b;if(b>e)b=e;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.selectionEnd=e}else if(document.selection){a=a.createTextRange();a.collapse(true);a.moveStart("character",b);a.moveEnd("character",e-b);a.select()}};this.isKeyPress=function(a){if(!a)a=window.event;if(a.altKey||a.ctrlKey||a.me... | function(a){var b,e;if(a.selectionStart!=undefined){b=a.selectionStart;e=a.selectionEnd}else if(document.selection){a=$(a).val();e=document.selection.createRange().duplicate();e.moveEnd("character",a.length);b=e.text==""?a.length:a.lastIndexOf(e.text);e=document.selection.createRange().duplicate();e.moveStart("characte... | 5677 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5677/65fe37986780ab872c458deb4869dc6cf286a0cf/Wt.min.js/buggy/src/web/skeleton/Wt.min.js |
a.selectionStart==0?{start:a.selectionStart,end:a.selectionEnd}:{start:-1,end:-1}};this.setSelectionRange=function(a,b,f){var h=$(a).val();if(typeof b!="number")b=-1;if(typeof f!="number")f=-1;if(b<0)b=0;if(f>h.length)f=h.length;if(f<b)f=b;if(b>f)b=f;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.select... | f.length);b=a.text==""?f.length:f.lastIndexOf(a.text);a=document.selection.createRange().duplicate();a.moveStart("character",-f.length);return{start:b,end:a.text.length}}else return a.selectionStart||a.selectionStart==0?{start:a.selectionStart,end:a.selectionEnd}:{start:-1,end:-1}};this.setSelectionRange=function(a,b,f... | a.selectionStart==0?{start:a.selectionStart,end:a.selectionEnd}:{start:-1,end:-1}};this.setSelectionRange=function(a,b,f){var h=$(a).val();if(typeof b!="number")b=-1;if(typeof f!="number")f=-1;if(b<0)b=0;if(f>h.length)f=h.length;if(f<b)f=b;if(b>f)b=f;a.focus();if(a.selectionStart!=undefined){a.selectionStart=b;a.select... | 5677 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5677/f66c0eb2940a2bd1ae4228c285fecc8162d03bfb/Wt.min.js/buggy/src/web/skeleton/Wt.min.js |
function(a){if(document.selection){var b=document.selection.createRange(),f=b.duplicate();f.moveToElementText(a);f.setEndPoint("EndToEnd",b);a=f.text.length-b.text.length;return{start:a,end:a+b.text.length}}else return{start:a.selectionStart,end:a.selectionEnd}};this.setSelectionRange=function(a,b,f){if(a.createTextRan... | y:f}};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollIntoView&&a.scrollIntoView(true)};this.getSelectionRange=function(a){if(document.selection){var b=document.selection.createRange(),f=b.duplicate();f.moveToElementText(a);f.setEndPoint("EndToEnd",b);a=f.text.length-b.text.length;return{start:a... | function(a){if(document.selection){var b=document.selection.createRange(),f=b.duplicate();f.moveToElementText(a);f.setEndPoint("EndToEnd",b);a=f.text.length-b.text.length;return{start:a,end:a+b.text.length}}else return{start:a.selectionStart,end:a.selectionEnd}};this.setSelectionRange=function(a,b,f){if(a.createTextRan... | 5677 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5677/a369471cf3758972a67918133124dc8066bd63aa/Wt.min.js/buggy/src/web/skeleton/Wt.min.js |
var options = Object.extend(this.options(element), arguments[2] || {}); var nodeMap = {}; | var options = Object.extend(this.options(element), arguments[2] || { }); var nodeMap = { }; | setSequence: function(element, new_sequence) { element = $(element); var options = Object.extend(this.options(element), arguments[2] || {}); var nodeMap = {}; this.findElements(element, options).each( function(n) { if (n.id.match(options.format)) nodeMap[n.id.match(options.format)[1]... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/dragdrop.js/buggy/web/src/main/webapp/js/dragdrop.js |
setSequence: function(element, new_sequence) { element = $(element); var options = Object.extend(this.options(element), arguments[2] || {}); var nodeMap = {}; this.findElements(element, options).each( function(n) { if (n.id.match(options.format)) nodeMap[n.id.match(options.format)[1]... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/dragdrop.js/buggy/web/src/main/webapp/js/dragdrop.js | ||
if (cb.value) { DokuCookie.setValue('size',cb.value); media_manager.size = cb.value; for (var i = 1 ; i <= 4 ; ++i) { | var id = cb.id.substring(cb.id.length -1); if (id) { DokuCookie.setValue('size',id); media_manager.size = id; for (var i = 1 ; i <=4 ; ++i) { | setsize: function(event,cb){ if (cb.value) { DokuCookie.setValue('size',cb.value); media_manager.size = cb.value; for (var i = 1 ; i <= 4 ; ++i) { media_manager.outSet("media__sizebtn" + i); } media_manager.inSet("media__sizebtn"+cb.value)... | 5490 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5490/ebb29737d32bc331541f78a1a47f33ba33919938/media.js/buggy/lib/scripts/media.js |
media_manager.inSet("media__sizebtn"+cb.value); | media_manager.inSet("media__sizebtn"+id); | setsize: function(event,cb){ if (cb.value) { DokuCookie.setValue('size',cb.value); media_manager.size = cb.value; for (var i = 1 ; i <= 4 ; ++i) { media_manager.outSet("media__sizebtn" + i); } media_manager.inSet("media__sizebtn"+cb.value)... | 5490 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5490/ebb29737d32bc331541f78a1a47f33ba33919938/media.js/buggy/lib/scripts/media.js |
if(this.isVertical()) { | if (this.isVertical()) { | setSpan: function(span, range) { if(this.isVertical()) { span.style.top = this.translateToPx(range.start); span.style.height = this.translateToPx(range.end - range.start + this.range.start); } else { span.style.left = this.translateToPx(range.start); span.style.width = this.translateToPx(ran... | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/slider.js/buggy/web/src/main/webapp/js/slider.js |
x.optimizeBookmark();x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.s... | x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.setStart(t,0);this.set... | x.optimizeBookmark();x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.s... | 8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/debb161f7671ff5bddc8def2221db94ff111ff1b/ckeditor.js/buggy/ckeditor/ckeditor.js |
x.optimizeBookmark();x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.s... | x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.setStart(t,0);this.set... | x.optimizeBookmark();x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.s... | 8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/debb161f7671ff5bddc8def2221db94ff111ff1b/ckeditor.js/buggy/ckeditor/ckeditor.js |
x.optimizeBookmark();x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.s... | x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.setStart(t,0);this.set... | x.optimizeBookmark();x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.s... | 8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/debb161f7671ff5bddc8def2221db94ff111ff1b/ckeditor.js/buggy/ckeditor/ckeditor.js |
x.optimizeBookmark();x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.s... | x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.setStart(t,0);this.set... | x.optimizeBookmark();x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.s... | 8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/debb161f7671ff5bddc8def2221db94ff111ff1b/ckeditor.js/buggy/ckeditor/ckeditor.js |
if(this.icon){var u=(this.iconOffset||0)*-16;m.push(' style="background-image:url(',a.getUrl(this.icon),');background-position:0 '+u+'px;"');}m.push('></span><span id="',o,'_label" class="cke_label">',this.label,'</span>');if(this.hasArrow)m.push('<span class="cke_buttonarrow">'+(b.hc?'▼':'')+'</span>');m.push('<... | },this);else if(q){q=l.getCommand(q);if(q){q.on('state',function(){this.setState(q.state);},this);p+='cke_'+(q.state==1?'on':q.state==0?'disabled':'off');}}if(!q)p+='cke_off';if(this.className)p+=' '+this.className;m.push('<span class="cke_button">','<a id="',o,'" class="',p,'"',n.gecko&&n.version>=10900&&!n.hc?'':'" h... | if(this.icon){var u=(this.iconOffset||0)*-16;m.push(' style="background-image:url(',a.getUrl(this.icon),');background-position:0 '+u+'px;"');}m.push('></span><span id="',o,'_label" class="cke_label">',this.label,'</span>');if(this.hasArrow)m.push('<span class="cke_buttonarrow">'+(b.hc?'▼':'')+'</span>');m.push('<... | 8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/debb161f7671ff5bddc8def2221db94ff111ff1b/ckeditor.js/buggy/ckeditor/ckeditor.js |
setStyle: function(element, style) { | setStyle: function(element, styles) { | setStyle: function(element, style) { element = $(element); for (var name in style) element.style[name.camelize()] = style[name]; return element; }, | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/prototype.js/clean/web/src/main/webapp/js/prototype.js |
for (var name in style) element.style[name.camelize()] = style[name]; | var elementStyle = element.style, match; if (Object.isString(styles)) { element.style.cssText += ';' + styles; return styles.include('opacity') ? element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]) : element; } for (var property in styles) if (property == 'opacity') element.setOpacity(styles[property]); else ... | setStyle: function(element, style) { element = $(element); for (var name in style) element.style[name.camelize()] = style[name]; return element; }, | 6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/prototype.js/clean/web/src/main/webapp/js/prototype.js |
if(!c&&l!=m)return false;for(var n=0;n<l;n++){var o=j[n];if((!c||o.specified&&o.nodeName!='_cke_expando')&&o.nodeValue!=i.getAttribute(o.nodeName))return false;}if(c)for(n=0;n<m;n++){o=k[n];if(o.specified&&o.nodeName!='_cke_expando'&&o.nodeValue!=this.getAttribute(o.nodeName))return false;}return true;},isVisible:funct... | },setAttribute:(function(){var i=function(j,k){this.$.setAttribute(j,k);return this;};if(c&&(b.ie7Compat||b.ie6Compat))return function(j,k){var l=this;if(j=='class')l.$.className=k;else if(j=='style')l.$.style.cssText=k;else if(j=='tabindex')l.$.tabIndex=k;else if(j=='checked')l.$.checked=k;else i.apply(l,arguments);re... | if(!c&&l!=m)return false;for(var n=0;n<l;n++){var o=j[n];if((!c||o.specified&&o.nodeName!='_cke_expando')&&o.nodeValue!=i.getAttribute(o.nodeName))return false;}if(c)for(n=0;n<m;n++){o=k[n];if(o.specified&&o.nodeName!='_cke_expando'&&o.nodeValue!=this.getAttribute(o.nodeName))return false;}return true;},isVisible:funct... | 8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/debb161f7671ff5bddc8def2221db94ff111ff1b/ckeditor.js/buggy/ckeditor/ckeditor.js |
if(!c&&l!=m)return false;for(var n=0;n<l;n++){var o=j[n];if((!c||o.specified&&o.nodeName!='_cke_expando')&&o.nodeValue!=i.getAttribute(o.nodeName))return false;}if(c)for(n=0;n<m;n++){o=k[n];if(o.specified&&o.nodeName!='_cke_expando'&&o.nodeValue!=this.getAttribute(o.nodeName))return false;}return true;},isVisible:funct... | },setAttribute:(function(){var i=function(j,k){this.$.setAttribute(j,k);return this;};if(c&&(b.ie7Compat||b.ie6Compat))return function(j,k){var l=this;if(j=='class')l.$.className=k;else if(j=='style')l.$.style.cssText=k;else if(j=='tabindex')l.$.tabIndex=k;else if(j=='checked')l.$.checked=k;else i.apply(l,arguments);re... | if(!c&&l!=m)return false;for(var n=0;n<l;n++){var o=j[n];if((!c||o.specified&&o.nodeName!='_cke_expando')&&o.nodeValue!=i.getAttribute(o.nodeName))return false;}if(c)for(n=0;n<m;n++){o=k[n];if(o.specified&&o.nodeName!='_cke_expando'&&o.nodeValue!=this.getAttribute(o.nodeName))return false;}return true;},isVisible:funct... | 8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/debb161f7671ff5bddc8def2221db94ff111ff1b/ckeditor.js/buggy/ckeditor/ckeditor.js |
setTabs : function(tab) { var t = this; if ( 'current' == tab.className ) return false; t.I('div_advanced').style.display = ( 'tab_advanced' == tab.id ) ? 'block' : 'none'; t.I('div_basic').style.display = ( 'tab_basic' == tab.id ) ? 'block' : 'none'; t.I('tab_basic').className = t.I('tab_advanced').className = ''; ta... | var tinymce=null,tinyMCEPopup,tinyMCE,wpImage;tinyMCEPopup={init:function(){var d=this,b,a,f,c,e;a=(""+document.location.search).replace(/^\?/,"").split("&");f={};for(c=0;c<a.length;c++){e=a[c].split("=");f[unescape(e[0])]=unescape(e[1])}if(f.mce_rdomain){document.domain=f.mce_rdomain}b=d.getWin();tinymce=b.tinymce;tin... | setTabs : function(tab) { var t = this; if ( 'current' == tab.className ) return false; t.I('div_advanced').style.display = ( 'tab_advanced' == tab.id ) ? 'block' : 'none'; t.I('div_basic').style.display = ( 'tab_basic' == tab.id ) ? 'block' : 'none'; t.I('tab_basic').className = t.I('tab_advanced').className = '... | 10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/61365a44c046fe2812bdbc16cc6993b6a4ed8684/editimage.js/buggy/wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.js |
return { type: 'immediate', tempo: tempo }; | return {type: 'immediate', tempo: tempo}; | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also b... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js |
return { type: delaySet?'delaySet':'immediate', tempo: tempo }; | return {type: delaySet?'delaySet':'immediate', tempo: tempo}; | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also b... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js |
return { type: 'none' }; | return {type: 'none'}; | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also b... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js |
try { var tokens = tokenizer.tokenize(line, start, end); | try { var tokens = tokenizer.tokenize(line, start, end); | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may a... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js |
if (tokens.length === 0) throw "Missing parameter in Q: field"; | if (tokens.length === 0) throw "Missing parameter in Q: field"; | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may a... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js |
var tempo = {}; var delaySet = true; var token = tokens.shift(); if (token.type === 'quote') { tempo.preString = token.token; | var tempo = {}; var delaySet = true; var token = tokens.shift(); if (token.type === 'quote') { tempo.preString = token.token; token = tokens.shift(); if (tokens.length === 0) { return { type: 'immediate', tempo: tempo }; } } if (token.type === 'alpha' && token.token === 'C') { if (tokens.length === 0) throw "Missing t... | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may a... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js |
if (tokens.length === 0) { return { type: 'immediate', tempo: tempo }; } } if (token.type === 'alpha' && token.token === 'C') { if (tokens.length === 0) throw "Missing tempo after C in Q: field"; | if (token.type !== 'number') throw "Expected number after = in Q: field"; tempo.duration = [1]; tempo.bpm = parseInt(token.token); } else if (token.type === 'number') { tempo.duration = [parseInt(token.token)]; if (tokens.length === 0) throw "Missing = after duration in Q: field"; | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may a... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js |
if (token.type === 'punct' && token.token === '=') { if (tokens.length === 0) throw "Missing tempo after = in Q: field"; | if (token.type !== 'punct' || token.token !== '=') throw "Expected = after duration in Q: field"; if (tokens.length === 0) throw "Missing tempo after = in Q: field"; token = tokens.shift(); if (token.type !== 'number') throw "Expected number after = in Q: field"; tempo.bpm = parseInt(token.token); } else throw "Expecte... | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may a... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js |
if (token.type !== 'number') throw "Expected number after = in Q: field"; tempo.duration = [1]; tempo.bpm = parseInt(token.token); } else if (token.type === 'number') { tempo.duration = [parseInt(token.token)]; if (tokens.length === 0) throw "Missing = after duration in Q: field"; token = tokens.shift(); if (token.typ... | if (token.type !== 'number') throw "Expected fraction in Q: field"; num = parseInt(token.token); | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may a... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js |
var den = parseInt(token.token); tempo.duration = [num/den]; while (tokens.length > 0 && tokens[0].token !== '=' && tokens[0].type !== 'quote') { token = tokens.shift(); if (token.type !== 'number') throw "Expected fraction in Q: field"; num = parseInt(token.token); token = tokens.shift(); if (token.type !== 'punct' ... | den = parseInt(token.token); tempo.duration.push(num/den); | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may a... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js |
} else throw "Unknown value in Q: field"; if (tokens.length !== 0) { | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may a... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js | |
if (token.type === 'quote') { tempo.postString = token.token; token = tokens.shift(); } if (tokens.length !== 0) throw "Unexpected string at end of Q: field"; | if (token.type !== 'punct' && token.token !== '=') throw "Expected = in Q: field"; token = tokens.shift(); if (token.type !== 'number') throw "Expected tempo in Q: field"; tempo.bpm = parseInt(token.token); | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may a... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js |
return { type: delaySet?'delaySet':'immediate', tempo: tempo }; } catch (msg) { warn(msg, line, start); return { type: 'none' }; | } else throw "Unknown value in Q: field"; if (tokens.length !== 0) { token = tokens.shift(); if (token.type === 'quote') { tempo.postString = token.token; token = tokens.shift(); } if (tokens.length !== 0) throw "Unexpected string at end of Q: field"; | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may a... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js |
}; | return { type: delaySet?'delaySet':'immediate', tempo: tempo }; } catch (msg) { warn(msg, line, start); return { type: 'none' }; } }; | this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may a... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js |
this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also b... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/706ad45e1d9619967cf93f65b4152aeb06f9c5a0/abc_parse_header.js/clean/abc_parse_header.js | ||
this.setTempo = function(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also b... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/706ad45e1d9619967cf93f65b4152aeb06f9c5a0/abc_parse_header.js/clean/abc_parse_header.js | ||
multilineVars.tempo = {}; | var tempo = {}; | function setTempo(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also be ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js |
multilineVars.tempo.preString = token.token; | tempo.preString = token.token; | function setTempo(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also be ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js |
tune.metaText.tempo = multilineVars.tempo; delete multilineVars.tempo; return; | return { type: 'immediate', tempo: tempo }; | function setTempo(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also be ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js |
multilineVars.tempo.duration = [1]; multilineVars.tempo.bpm = parseInt(token.token); | tempo.duration = [1]; tempo.bpm = parseInt(token.token); | function setTempo(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also be ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js |
multilineVars.tempo.duration = [parseInt(token.token)]; | tempo.duration = [parseInt(token.token)]; | function setTempo(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also be ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js |
multilineVars.tempo.bpm = parseInt(token.token); | tempo.bpm = parseInt(token.token); | function setTempo(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also be ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js |
multilineVars.tempo.duration = [1]; multilineVars.tempo.bpm = num; | tempo.duration = [1]; tempo.bpm = num; | function setTempo(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also be ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js |
multilineVars.tempo.duration = [num/den]; | tempo.duration = [num/den]; | function setTempo(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also be ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js |
multilineVars.tempo.duration.push(num/den); | tempo.duration.push(num/den); | function setTempo(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also be ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js |
multilineVars.tempo.bpm = parseInt(token.token); | tempo.bpm = parseInt(token.token); | function setTempo(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also be ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js |
multilineVars.tempo.postString = token.token; | tempo.postString = token.token; | function setTempo(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also be ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js |
if (!delaySet) { tune.metaText.tempo = multilineVars.tempo; delete multilineVars.tempo; } | return { type: delaySet?'delaySet':'immediate', tempo: tempo }; | function setTempo(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also be ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js |
return { type: 'none' }; | function setTempo(line, start, end) { //Q - tempo; can be used to specify the notes per minute, e.g. if //the default note length is an eighth note then Q:120 or Q:C=120 //is 120 eighth notes per minute. Similarly Q:C3=40 would be 40 //dotted quarter notes per minute. An absolute tempo may also be ... | 2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js | |
setter: function (opts) { const self = this; let classes = [v[1] for ([k, v] in Iterator(this.opts)) if (opts.indexOf(k) < 0)]; let css = classes.length ? classes.join(",") + "{ display: none; }" : ""; styles.addSheet(true, "taboptions", "chrome: tabs.tabsBound = Array.some(opts, function (k) k in self.opts); statuslin... | setter: function (value) { options.safeSetPref("accessibility.typeaheadfind.enablesound", !value, "See 'visualbell' option"); return value; | setter: function (opts) { const self = this; let classes = [v[1] for ([k, v] in Iterator(this.opts)) if (opts.indexOf(k) < 0)]; let css = classes.length ? classes.join(",") + "{ display: none; }" : ""; styles.addSheet(true, "tab... | 8883 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8883/5c13a4aee6d76c48021ae5803eaac42a16d50fce/liberator.js/buggy/common/content/liberator.js |
setter: function(value) { | setter: function (value) { | setter: function(value) { if (value) services.get("debugger").on(); else services.get("debugger").off(); }, | 8883 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8883/b6e5ab83487742b894ff68fbc8153452988623b1/javascript.js/buggy/common/content/javascript.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.