rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
13
136k
meta
stringlengths
132
347
Calendar=function(d,c,f,a){this.activeDiv=null;this.currentDateEl=null;this.getDateStatus=null;this.getDateToolTip=null;this.getDateText=null;this.timeout=null;this.onSelected=f||null;this.onClose=a||null;this.dragging=false;this.hidden=false;this.minYear=1970;this.maxYear=2050;this.dateFormat=Calendar._TT.DEF_DATE_FOR...
Calendar=function(d,c,f,a){this.activeDiv=null;this.currentDateEl=null;this.getDateStatus=null;this.getDateToolTip=null;this.getDateText=null;this.timeout=null;this.onSelected=f||null;this.onClose=a||null;this.dragging=false;this.hidden=false;this.minYear=1970;this.maxYear=2050;this.dateFormat=Calendar._TT.DEF_DATE_FOR...
Calendar=function(d,c,f,a){this.activeDiv=null;this.currentDateEl=null;this.getDateStatus=null;this.getDateToolTip=null;this.getDateText=null;this.timeout=null;this.onSelected=f||null;this.onClose=a||null;this.dragging=false;this.hidden=false;this.minYear=1970;this.maxYear=2050;this.dateFormat=Calendar._TT.DEF_DATE_FOR...
3959 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/3959/471900e25447546fd1890cc9d0bf55fbc3f08e0e/calendar.js/buggy/javascript/jscalendar/calendar.js
if (!val) {return; } if (val.constructor == Date) {return val; }
if (!val) { return; } if (val.constructor == Date) { return val; }
function parseDate(val) { if (!val) {return; } if (val.constructor == Date) {return val; } if (typeof val == 'string') { // rfc3339? var els = val.split("-"); if (els.length == 3) { return new Date(integer(els[0]), integer(els[1]) -1, integer(els[2])); } // invalid offset if (!/^\d+$/.t...
7610 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/7610/006b689e5f8c3b22a231cc4bde61db41ebf4bc81/dateinput.js/buggy/src/dateinput/dateinput.js
if (!/^\d+$/.test(val)) { return; }
if (!/^-?\d+$/.test(val)) { return; }
function parseDate(val) { if (!val) { return; } if (val.constructor == Date) { return val; } if (typeof val == 'string') { // rfc3339? var els = val.split("-"); if (els.length == 3) { return new Date(integer(els[0]), integer(els[1]) -1, integer(els[2])); } // invalid offset if (!/^\d+$/...
7610 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/7610/5ea29c44443cb67f780f4aa4faf170e8ca89cc87/dateinput.js/buggy/src/dateinput/dateinput.js
var ret = parseNum(); if (tokens.length === 0) throw "Expected slash in meter"; var tok = tokens.shift(); if (tok.token !== '/') throw "Expected slash in meter"; tok = tokens.shift(); if (tok.type !== 'number') throw "Expected bottom number of meter"; ret.den = tok.token; ret.value = ret.value / parseInt(ret.den); ret...
var ret = parseNum(); if (tokens.length === 0) throw "Expected slash in meter"; var tok = tokens.shift(); if (tok.token !== '/') throw "Expected slash in meter"; tok = tokens.shift(); if (tok.type !== 'number') throw "Expected bottom number of meter"; ret.den = tok.token; ret.value = ret.value / parseInt(ret.den); ret...
var parseFraction = function() { // handles this much: parseNum slash decimal var ret = parseNum(); if (tokens.length === 0) throw "Expected slash in meter"; var tok = tokens.shift(); if (tok.token !== '/') throw "Expected slash in meter"; tok = tokens.shift(); if (tok.type !== '...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
return { newline: true };
return {newline: true};
this.parseHeader = function(line) { if (line.startsWith('%%')) { var err = this.addDirective(line.substring(2)); if (err) warn(err, line, 2); return {}; } line = tokenizer.stripComment(line); if (line.length === 0) return {}; if (line.length >= 2) { if (line[1] === ':') { var nextLine = ""; if (li...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js
return { words: true };
return {words: true};
this.parseHeader = function(line) { if (line.startsWith('%%')) { var err = this.addDirective(line.substring(2)); if (err) warn(err, line, 2); return {}; } line = tokenizer.stripComment(line); if (line.length === 0) return {}; if (line.length >= 2) { if (line[1] === ':') { var nextLine = ""; if (li...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js
return { regular: true, str: line+nextLine };
return {regular: true, str: line+nextLine};
this.parseHeader = function(line) { if (line.startsWith('%%')) { var err = this.addDirective(line.substring(2)); if (err) warn(err, line, 2); return {}; } line = tokenizer.stripComment(line); if (line.length === 0) return {}; if (line.length >= 2) { if (line[1] === ':') { var nextLine = ""; if (li...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js
return { recurse: true, str: nextLine };
return {recurse: true, str: nextLine};
this.parseHeader = function(line) { if (line.startsWith('%%')) { var err = this.addDirective(line.substring(2)); if (err) warn(err, line, 2); return {}; } line = tokenizer.stripComment(line); if (line.length === 0) return {}; if (line.length >= 2) { if (line[1] === ':') { var nextLine = ""; if (li...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js
return { regular: true, str: line };
return {regular: true, str: line};
this.parseHeader = function(line) { if (line.startsWith('%%')) { var err = this.addDirective(line.substring(2)); if (err) warn(err, line, 2); return {}; } line = tokenizer.stripComment(line); if (line.length === 0) return {}; if (line.length >= 2) { if (line[1] === ':') { var nextLine = ""; if (li...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js
if (line.startsWith('%%')) { var err = this.addDirective(line.substring(2)); if (err) warn(err, line, 2);
if (line.startsWith('%%')) { var err = this.addDirective(line.substring(2)); if (err) warn(err, line, 2); return {}; } line = tokenizer.stripComment(line); if (line.length === 0) return {}; if (line.length >= 2) { if (line[1] === ':') { var nextLine = ""; if (line.indexOf('\x12') >= 0 && line[0] !== 'w') { nextLine = ...
this.parseHeader = function(line) { if (line.startsWith('%%')) { var err = this.addDirective(line.substring(2)); if (err) warn(err, line, 2); return {}; } line = tokenizer.stripComment(line); if (line.length === 0) return {}; if (line.length >= 2) { if (line[1] === ':') { var nextLine = "...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
line = tokenizer.stripComment(line); if (line.length === 0) return {};
}
this.parseHeader = function(line) { if (line.startsWith('%%')) { var err = this.addDirective(line.substring(2)); if (err) warn(err, line, 2); return {}; } line = tokenizer.stripComment(line); if (line.length === 0) return {}; if (line.length >= 2) { if (line[1] === ':') { var nextLine = "...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
if (line.length >= 2) { if (line[1] === ':') { var nextLine = ""; if (line.indexOf('\x12') >= 0 && line[0] !== 'w') { nextLine = line.substring(line.indexOf('\x12')+1); line = line.substring(0, line.indexOf('\x12')); } var field = metaTextHeaders[line[0]]; if (field !== undefined) { tune.addMetaText(field, tokenizer.tr...
return { regular: true, str: line }; };
this.parseHeader = function(line) { if (line.startsWith('%%')) { var err = this.addDirective(line.substring(2)); if (err) warn(err, line, 2); return {}; } line = tokenizer.stripComment(line); if (line.length === 0) return {}; if (line.length >= 2) { if (line[1] === ':') { var nextLine = "...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")...
!F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J...
"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")...
3959 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/3959/6ffc2de1d5816f49b1cdf002161144b28f2dc6e5/jquery.js/clean/javascript/jquery.js
return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return z.JSON&&z.JSON.par...
"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")...
return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return z.JSON&&z.JSON.par...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/e67dc72e11289d294cc6b462fc98149983bd62f4/jquery.js/clean/wp-includes/js/jquery/jquery.js
null||!v.test(i)||isNaN(i)},type:function(i){return i==null?String(i):L[x.call(i)]||"object"},isPlainObject:function(i){if(!i||b.type(i)!=="object"||i.nodeType||b.isWindow(i))return false;if(i.constructor&&!C.call(i,"constructor")&&!C.call(i.constructor.prototype,"isPrototypeOf"))return false;for(var r in i);return r==...
!F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J...
null||!v.test(i)||isNaN(i)},type:function(i){return i==null?String(i):L[x.call(i)]||"object"},isPlainObject:function(i){if(!i||b.type(i)!=="object"||i.nodeType||b.isWindow(i))return false;if(i.constructor&&!C.call(i,"constructor")&&!C.call(i.constructor.prototype,"isPrototypeOf"))return false;for(var r in i);return r==...
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
parseJSON: function( data ) { if ( typeof data !== "string" || !data ) { return null; } data = jQuery.trim( data ); if ( rvalidchars.test(data.replace(rvalidescape, "@") .replace(rvalidtokens, "]") .replace(rvalidbraces, "")) ) { return window.JSON && window.JSON.parse ? window.JSON.parse( data ) : (new Function...
!F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J...
parseJSON: function( data ) { if ( typeof data !== "string" || !data ) { return null; } // Make sure leading/trailing whitespace is removed (IE can't handle it) data = jQuery.trim( data ); // Make sure the incoming data is actual JSON // Logic borrowed from http://json.org/json2.js if ( rvalidchars.test(dat...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/337f8a7f8f1bd9e61727ac292aa76724b4cf7a46/jquery.js/clean/wp-includes/js/jquery/jquery.js
"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")...
null||!v.test(i)||isNaN(i)},type:function(i){return i==null?String(i):L[x.call(i)]||"object"},isPlainObject:function(i){if(!i||b.type(i)!=="object"||i.nodeType||b.isWindow(i))return false;if(i.constructor&&!C.call(i,"constructor")&&!C.call(i.constructor.prototype,"isPrototypeOf"))return false;for(var r in i);return r==...
"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")...
8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/debb161f7671ff5bddc8def2221db94ff111ff1b/jquery.js/clean/js/jquery.js
null||!v.test(i)||isNaN(i)},type:function(i){return i==null?String(i):L[x.call(i)]||"object"},isPlainObject:function(i){if(!i||b.type(i)!=="object"||i.nodeType||b.isWindow(i))return false;if(i.constructor&&!C.call(i,"constructor")&&!C.call(i.constructor.prototype,"isPrototypeOf"))return false;for(var r in i);return r==...
!F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J...
null||!v.test(i)||isNaN(i)},type:function(i){return i==null?String(i):L[x.call(i)]||"object"},isPlainObject:function(i){if(!i||b.type(i)!=="object"||i.nodeType||b.isWindow(i))return false;if(i.constructor&&!C.call(i,"constructor")&&!C.call(i.constructor.prototype,"isPrototypeOf"))return false;for(var r in i);return r==...
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
return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return z.JSON&&z.JSON.par...
"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")...
return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return z.JSON&&z.JSON.par...
8560 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8560/4d748e5cbfcbd91691b089e42cffdf43918e6201/jquery.min.js/clean/web/javascript/jquery/jquery.min.js
"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")...
null||!v.test(i)||isNaN(i)},type:function(i){return i==null?String(i):L[x.call(i)]||"object"},isPlainObject:function(i){if(!i||b.type(i)!=="object"||i.nodeType||b.isWindow(i))return false;if(i.constructor&&!C.call(i,"constructor")&&!C.call(i.constructor.prototype,"isPrototypeOf"))return false;for(var r in i);return r==...
"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/8e2f21f44411204c60060f830cb1a800533462d2/jquery.js/buggy/wp-includes/js/jquery/jquery.js
var f = %CompileString(text, true);
var f = %CompileString(s, true);
function ParseJSONUnfiltered(text) { var s = $String(text); var f = %CompileString(text, true); return f();}
262 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/262/0f4a33050805b39908d8f9c786d28aff58b0ba09/json.js/buggy/src/json.js
multilineVars.clef = { type: retClef.token, verticalPos: calcMiddle(retClef.token, 0) };
multilineVars.clef = {type: retClef.token, verticalPos: calcMiddle(retClef.token, 0)};
this.parseKey = function(str) // (and clef) { var origStr = str; // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|tenor|alto|alto2|alto1|none [+8|-8]] // -- or -- the key can be "none" // First get the key letter: turn that into a index into...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js
ret.accidentals = []; keys[key].each(function(k) { ret.accidentals.push(Object.clone(k)); });
ret = this.deepCopyKey(keys[key]);
this.parseKey = function(str) // (and clef) { var origStr = str; // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|tenor|alto|alto2|alto1|none [+8|-8]] // -- or -- the key can be "none" // First get the key letter: turn that into a index into...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js
multilineVars.clef = { type: retClef.token, verticalPos: calcMiddle(retClef.token, 0) };
multilineVars.clef = {type: retClef.token, verticalPos: calcMiddle(retClef.token, 0)};
this.parseKey = function(str) // (and clef) { var origStr = str; // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|tenor|alto|alto2|alto1|none [+8|-8]] // -- or -- the key can be "none" // First get the key letter: turn that into a index into...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js
var setMiddle = function(str) {
var setClefMiddle = function(str) {
this.parseKey = function(str) // (and clef) { str = tokenizer.stripComment(str); var origStr = str; if (str.length === 0) { // an empty K: field is the same as K:none str = 'none'; } // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|teno...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f7c7e4a972bba135a553a5fbd23c045ebc24ee52/abc_parse_header.js/buggy/abc_parse_header.js
setMiddle(str);
setClefMiddle(str);
this.parseKey = function(str) // (and clef) { str = tokenizer.stripComment(str); var origStr = str; if (str.length === 0) { // an empty K: field is the same as K:none str = 'none'; } // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|teno...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f7c7e4a972bba135a553a5fbd23c045ebc24ee52/abc_parse_header.js/buggy/abc_parse_header.js
var ret = {};
var ret = { root: 'none', acc: '', mode: '' };
this.parseKey = function(str) // (and clef) { str = tokenizer.stripComment(str); var origStr = str; if (str.length === 0) { // an empty K: field is the same as K:none str = 'none'; } // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|teno...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f7c7e4a972bba135a553a5fbd23c045ebc24ee52/abc_parse_header.js/buggy/abc_parse_header.js
ret = this.deepCopyKey({accidentals: keys[key]}); ret.root = retPitch.token; ret.acc = retAcc.token || ""; ret.mode = retMode.token || "";
ret = this.deepCopyKey({accidentals: keys[key]}); ret.root = retPitch.token; ret.acc = retAcc.token || ""; ret.mode = retMode.token || "";
this.parseKey = function(str) // (and clef) { str = tokenizer.stripComment(str); var origStr = str; if (str.length === 0) { // an empty K: field is the same as K:none str = 'none'; } // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|teno...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f7c7e4a972bba135a553a5fbd23c045ebc24ee52/abc_parse_header.js/buggy/abc_parse_header.js
ret.root = "HP"; ret.acc = ""; ret.mode = "";
ret.root = "HP";
this.parseKey = function(str) // (and clef) { str = tokenizer.stripComment(str); var origStr = str; if (str.length === 0) { // an empty K: field is the same as K:none str = 'none'; } // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|teno...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f7c7e4a972bba135a553a5fbd23c045ebc24ee52/abc_parse_header.js/buggy/abc_parse_header.js
ret.root = "Hp"; ret.acc = ""; ret.mode = "";
ret.root = "Hp";
this.parseKey = function(str) // (and clef) { str = tokenizer.stripComment(str); var origStr = str; if (str.length === 0) { // an empty K: field is the same as K:none str = 'none'; } // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|teno...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f7c7e4a972bba135a553a5fbd23c045ebc24ee52/abc_parse_header.js/buggy/abc_parse_header.js
ret.root = "none"; ret.acc = ""; ret.mode = "";
this.parseKey = function(str) // (and clef) { str = tokenizer.stripComment(str); var origStr = str; if (str.length === 0) { // an empty K: field is the same as K:none str = 'none'; } // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|teno...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f7c7e4a972bba135a553a5fbd23c045ebc24ee52/abc_parse_header.js/buggy/abc_parse_header.js
setMiddle(str);
setClefMiddle(str);
this.parseKey = function(str) // (and clef) { str = tokenizer.stripComment(str); var origStr = str; if (str.length === 0) { // an empty K: field is the same as K:none str = 'none'; } // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|teno...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f7c7e4a972bba135a553a5fbd23c045ebc24ee52/abc_parse_header.js/buggy/abc_parse_header.js
{ var origStr = str;
{ var origStr = str;
this.parseKey = function(str) // (and clef) { var origStr = str; // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|tenor|alto|alto2|alto1|none [+8|-8]] // -- or -- the key can be "none" // First get the key letter: turn that into a ind...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
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);
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); } }; var retClef = tokenizer.getClef(str); if (retClef.token !== undefined && (r...
this.parseKey = function(str) // (and clef) { var origStr = str; // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|tenor|alto|alto2|alto1|none [+8|-8]] // -- or -- the key can be "none" // First get the key letter: turn that into a ind...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
}; var retClef = tokenizer.getClef(str); if (retClef.token !== undefined && (retClef.explicit === true || retClef.token !== 'none')) {
} } retClef = tokenizer.getClef(str); if (retClef.len > 0) { if (retClef.warn) warn("error parsing clef:" + retClef.warn, origStr, 0); else {
this.parseKey = function(str) // (and clef) { var origStr = str; // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|tenor|alto|alto2|alto1|none [+8|-8]] // -- or -- the key can be "none" // First get the key letter: turn that into a ind...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
return {foundClef: true};
this.parseKey = function(str) // (and clef) { var origStr = str; // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|tenor|alto|alto2|alto1|none [+8|-8]] // -- or -- the key can be "none" // First get the key letter: turn that into a ind...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
var ret = {}; var retPitch = tokenizer.getKeyPitch(str); if (retPitch.len > 0) { var key = retPitch.token; str = str.substring(retPitch.len); var retAcc = tokenizer.getSharpFlat(str); if (retAcc.len > 0) { key += retAcc.token; str = str.substring(retAcc.len); } var retMode = tokenizer.getMode(str); if (retMode.len > ...
if (ret.regularKey === undefined && ret.extraAccidentals === undefined && retClef.token === undefined) { warn("error parsing key: ", origStr, 0); return {}; } var result = {}; if (retClef.token !== undefined) result.foundClef = true; if (ret.regularKey !== undefined || ret.extraAccidentals !== undefined) { multilineVa...
this.parseKey = function(str) // (and clef) { var origStr = str; // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|tenor|alto|alto2|alto1|none [+8|-8]] // -- or -- the key can be "none" // First get the key letter: turn that into a ind...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
if (str.length === 0) { str = 'none'; }
this.parseKey = function(str) // (and clef) { var origStr = str; // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|tenor|alto|alto2|alto1|none [+8|-8]] // -- or -- the key can be "none" // First get the key letter: turn that into a index into...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/4cdfce595a8f9d93cff8b5236768d677a69741ea/abc_parse_header.js/clean/abc_parse_header.js
multilineVars.clef = retClef.token;
multilineVars.clef = { type: retClef.token }; str = str.substring(retClef.len); setMiddle(str);
var parseKey = function(str) // (and clef) { var origStr = str; // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|tenor|alto|alto2|alto1|none [+8|-8]] // -- or -- the key can be "none" // First get the key letter: turn that into a inde...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js
multilineVars.clef = retClef.token;
multilineVars.clef = { type: retClef.token}; str = str.substring(retClef.len); setMiddle(str);
var parseKey = function(str) // (and clef) { var origStr = str; // The format is: // [space][tonic[#|b][ ][3-letter-mode][ignored-chars][space]][ accidentals...][ clef=treble|bass|bass3|tenor|alto|alto2|alto1|none [+8|-8]] // -- or -- the key can be "none" // First get the key letter: turn that into a inde...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js
tune.appendStartingElement('clef', -1, -1, {type: multilineVars.clef});
tune.appendStartingElement('clef', -1, -1, multilineVars.clef);
var parseLine = function(line) { if (line.startsWith('%%')) { var err = addDirective(line.substring(2)); if (err) warn(err, line, 2); return; } line = tokenizer.stripComment(line); if (line.length === 0) return; if (line.length >= 2) { if (line[1] === ':') { var field = metaTextHeaders[li...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js
var len = line.substring(2).gsub(" ", ""); var len_arr = len.split('/'); if (len_arr.length === 2) { var n = parseInt(len_arr[0]); var d = parseInt(len_arr[1]); if (d > 0) { var q = n / d; multilineVars.default_length = q*8; multilineVars.havent_set_length = false; } }
setDefaultLength(line, 2, line.length);
var parseLine = function(line) { if (line.startsWith('%%')) { var err = addDirective(line.substring(2)); if (err) warn(err, line, 2); return; } line = tokenizer.stripComment(line); if (line.length === 0) return; if (line.length >= 2) { if (line[1] === ':') { var field = metaTextHeaders[li...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js
parseRegularMusicLine(line);
if (nextLine.length) nextLine = "\x12" + nextLine; parseRegularMusicLine(line+nextLine); nextLine = "";
var parseLine = function(line) { if (line.startsWith('%%')) { var err = addDirective(line.substring(2)); if (err) warn(err, line, 2); return; } line = tokenizer.stripComment(line); if (line.length === 0) return; if (line.length >= 2) { if (line[1] === ':') { var field = metaTextHeaders[li...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js
if (nextLine.length > 0) parseLine(nextLine);
var parseLine = function(line) { if (line.startsWith('%%')) { var err = addDirective(line.substring(2)); if (err) warn(err, line, 2); return; } line = tokenizer.stripComment(line); if (line.length === 0) return; if (line.length >= 2) { if (line[1] === ':') { var field = metaTextHeaders[li...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js
var ret = header.parseHeader(line); if (ret.regular) parseRegularMusicLine(ret.str); if (ret.newline) startNewLine(); if (ret.words) addWords(tune.getCurrentVoice(), line.substring(2)); if (ret.recurse) parseLine(ret.str); };
var ret = header.parseHeader(line); if (ret.regular) parseRegularMusicLine(ret.str); if (ret.newline) startNewLine(); if (ret.words) addWords(tune.getCurrentVoice(), line.substring(2)); if (ret.recurse) parseLine(ret.str); };
var parseLine = function(line) { var ret = header.parseHeader(line); if (ret.regular) parseRegularMusicLine(ret.str); if (ret.newline) startNewLine(); if (ret.words) addWords(tune.getCurrentVoice(), line.substring(2)); if (ret.recurse) parseLine(ret.str); };
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse.js/clean/abc_parse.js
setTempo(line, 2, line.length);
var tempo = setTempo(line, 2, line.length); if (tempo.type === 'delaySet') multilineVars.tempo = tempo.tempo; else if (tempo.type === 'immediate') tune.metaText.tempo = tempo.tempo;
var parseLine = function(line) { if (line.startsWith('%%')) { var err = addDirective(line.substring(2)); if (err) warn(err, line, 2); return; } line = tokenizer.stripComment(line); if (line.length === 0) return; if (line.length >= 2) { if (line[1] === ':') { var nextLine = ""; if (lin...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js
case 'm': warn("Unknown header", line, 0);
var parseLine = function(line) { if (line.startsWith('%%')) { var err = addDirective(line.substring(2)); if (err) warn(err, line, 2); return; } line = tokenizer.stripComment(line); if (line.length === 0) return; if (line.length >= 2) { if (line[1] === ':') { var nextLine = ""; if (lin...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js
case 'U': addUserDefinition(line, 2, line.length); break;
var parseLine = function(line) { if (line.startsWith('%%')) { var err = addDirective(line.substring(2)); if (err) warn(err, line, 2); return; } line = tokenizer.stripComment(line); if (line.length === 0) return; if (line.length >= 2) { if (line[1] === ':') { var field = metaTextHeaders[li...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/428481b43b5bb6c57aec5a856e5005f65972534f/abc_parse.js/clean/abc_parse.js
var mid = pitches[str[0]]; for (i = 1; i < str.length; i++) { if (str[i] === ',') mid -= 7; else if (str[i] === ',') mid += 7; } return mid; };
var mid = pitches[str[0]]; for (var i = 1; i < str.length; i++) { if (str[i] === ',') mid -= 7; else if (str[i] === ',') mid += 7; } return mid; };
var parseMiddle = function(str) { var mid = pitches[str[0]]; for (i = 1; i < str.length; i++) { if (str[i] === ',') mid -= 7; else if (str[i] === ',') mid += 7; } return mid; };
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
var ret = { value: 0, num: "" };
var ret = {value: 0, num: ""};
var parseNum = function() { // handles this much: [open_paren] decimal [ plus|dot decimal ]... [close_paren] 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 mete...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js
var ret = { value: 0, num: "" };
var ret = { value: 0, num: "" };
var parseNum = function() { // handles this much: [open_paren] decimal [ plus|dot decimal ]... [close_paren] 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...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
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 += tok.token;
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 += tok.token; if (tokens.length === 0 || tokens[0].token === '/') return ret; tok = tokens.shift(); if (tok.token === ')') {
var parseNum = function() { // handles this much: [open_paren] decimal [ plus|dot decimal ]... [close_paren] 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...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
tok = tokens.shift(); if (tok.token === ')') { if (tokens.length === 0 || tokens[0].token === '/') return ret; throw "Unexpected paren in meter"; } if (tok.token !== '.' && tok.token !== '+') throw "Expected top number of meter"; ret.num += tok.token; if (tokens.length === 0) throw "Expected top number of meter"; tok =...
throw "Unexpected paren in meter";
var parseNum = function() { // handles this much: [open_paren] decimal [ plus|dot decimal ]... [close_paren] 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...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
return ret; };
if (tok.token !== '.' && tok.token !== '+') throw "Expected top number of meter"; ret.num += tok.token; if (tokens.length === 0) throw "Expected top number of meter"; tok = tokens.shift(); } return ret; };
var parseNum = function() { // handles this much: [open_paren] decimal [ plus|dot decimal ]... [close_paren] 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...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
function parseOptions(opts) { $.extend(true, options, opts); if (options.grid.borderColor == null) options.grid.borderColor = options.grid.color; // backwards compatibility, to be removed in future if (options.xaxis.noTicks && options.xaxis.ticks == nul...
1484 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/1484/479fa2785057565e0ba6a45b3905ba473f60ff53/jquery.flot.js/buggy/jquery.flot.js
multilineVars.havent_set_length = false;
var parseRegularMusicLine = function(line) { resolveTempo(); multilineVars.havent_set_length = false; // To late to set this now. multilineVars.is_in_header = false; // We should have gotten a key header by now, but just in case, this is definitely out of the header. var i = 0; var startOfLine = multilineVa...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js
bar.number = ret[2];
bar.ending = ret[2];
var parseRegularMusicLine = function(line) { resolveTempo(); multilineVars.havent_set_length = false; // To late to set this now. multilineVars.is_in_header = false; // We should have gotten a key header by now, but just in case, this is definitely out of the header. var i = 0; var startOfLine = multilineVa...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js
if (multilineVars.barNumOnNextNote) { el.barNumber = multilineVars.barNumOnNextNote; multilineVars.barNumOnNextNote = null; }
var parseRegularMusicLine = function(line) { resolveTempo(); multilineVars.havent_set_length = false; // To late to set this now. multilineVars.is_in_header = false; // We should have gotten a key header by now, but just in case, this is definitely out of the header. var i = 0; var startOfLine = multilineVa...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js
i += ret[0];
i = ret[0];
var parseRegularMusicLine = function(line) { resolveTempo(); //multilineVars.havent_set_length = false; // To late to set this now. multilineVars.is_in_header = false; // We should have gotten a key header by now, but just in case, this is definitely out of the header. var i = 0; var startOfLine = multiline...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js
if (el.gracenote !== undefined) warn("Can't have a grace note before a barline", line, i);
if (el.gracenotes !== undefined) { el.pitch = null; el.rest_type = 'spacer'; tune.appendElement('note', -1, -1, el); el = {}; }
var parseRegularMusicLine = function(line) { resolveTempo(); //multilineVars.havent_set_length = false; // To late to set this now. multilineVars.is_in_header = false; // We should have gotten a key header by now, but just in case, this is definitely out of the header. var i = 0; var startOfLine = multiline...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/964f9a50d8704a8d8cc830959baa9ce80345ad79/post.js/clean/wp-admin/js/post.js
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(a){var out=[];jQuery.each(a,function(key,val){val=jQuery.trim(val);if(val&&jQuery.inArray(val,out)==-1){out.push(val)}});return out}(function($){tagBox={clean:function(tags){ret...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(a){var out=[];jQuery.each(a,function(key,val){val=jQuery.trim(val);if(val&&jQuery.inArray(val,out)==-1){out.push(val)}});return out}(function($){tagBox={clean:function(tags){ret...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/c2271518e9d53c145f888d452c175fdc2b4a0200/post.js/clean/wp-admin/js/post.js
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(a){var out=[];jQuery.each(a,function(key,val){val=jQuery.trim(val);if(val&&jQuery.inArray(val,out)==-1){out.push(val)}});return out}(function($){tagBox={clean:function(tags){ret...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/6288de4b34eb87a24c28c900b2c6bcd241b097fa/post.js/clean/wp-admin/js/post.js
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/75c0e8d7b0866815cd7f531b387d7e940a518105/post.js/buggy/wp-admin/js/post.js
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(a){var out=[];jQuery.each(a,function(key,val){val=jQuery.trim(val);if(val&&jQuery.inArray(val,out)==-1){out.push(val)}});return out}(function($){tagBox={clean:function(tags){ret...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/1b2405d5677e2253b61d467d0e5288556f7b1146/post.js/clean/wp-admin/js/post.js
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(a){var out=[];jQuery.each(a,function(key,val){val=jQuery.trim(val);if(val&&jQuery.inArray(val,out)==-1){out.push(val)}});return out}(function($){tagBox={clean:function(tags){ret...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(a){var out=[];jQuery.each(a,function(key,val){val=jQuery.trim(val);if(val&&jQuery.inArray(val,out)==-1){out.push(val)}});return out}(function($){tagBox={clean:function(tags){ret...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(a){var out=[];jQuery.each(a,function(key,val){val=jQuery.trim(val);if(val&&jQuery.inArray(val,out)==-1){out.push(val)}});return out}(function($){tagBox={clean:function(tags){ret...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/689a9bed1ba9ed444c2e4895ace34e75d59f01e6/post.js/buggy/wp-admin/js/post.js
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/30ffd75c8c34893183c03626f1c3de2e2d1b8e26/post.js/clean/wp-admin/js/post.js
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/b8fb6434ffdfa1fcc33eb0e586f83d12fbcf6028/post.js/clean/wp-admin/js/post.js
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(a){var out=[];jQuery.each(a,function(key,val){val=jQuery.trim(val);if(val&&jQuery.inArray(val,out)==-1){out.push(val)}});return out}(function($){tagBox={clean:function(tags){ret...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(a){var out=[];jQuery.each(a,function(key,val){val=jQuery.trim(val);if(val&&jQuery.inArray(val,out)==-1){out.push(val)}});return out}(function($){tagBox={clean:function(tags){ret...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(a){var out=[];jQuery.each(a,function(key,val){val=jQuery.trim(val);if(val&&jQuery.inArray(val,out)==-1){out.push(val)}});return out}(function($){tagBox={clean:function(tags){ret...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/560c524bf1e5fe52e4798ad1823074714caeda74/post.js/buggy/wp-admin/js/post.js
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(a){var out=[];jQuery.each(a,function(key,val){val=jQuery.trim(val);if(val&&jQuery.inArray(val,out)==-1){out.push(val)}});return out}(function($){tagBox={clean:function(tags){ret...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(a){var out=[];jQuery.each(a,function(key,val){val=jQuery.trim(val);if(val&&jQuery.inArray(val,out)==-1){out.push(val)}});return out}(function($){tagBox={clean:function(tags){ret...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(a){var out=[];jQuery.each(a,function(key,val){val=jQuery.trim(val);if(val&&jQuery.inArray(val,out)==-1){out.push(val)}});return out}(function($){tagBox={clean:function(tags){ret...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/51dac4a8c61f888c09dbd51ddc3a2c502be79491/post.js/clean/wp-admin/js/post.js
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/714e695c08eadfc9f15f2908709c9e27c2401a23/post.js/buggy/wp-admin/js/post.js
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
var tagBox,commentsBox,editPermalink,makeSlugeditClickable,WPSetThumbnailHTML,WPSetThumbnailID,WPRemoveThumbnail;function array_unique_noempty(b){var c=[];jQuery.each(b,function(a,d){d=jQuery.trim(d);if(d&&jQuery.inArray(d,c)==-1){c.push(d)}});return c}(function(a){tagBox={clean:function(b){return b.replace(/\s*,\s*/g,...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/0d2c5a59d9a9fe73894e87d141786caf874bf379/post.js/clean/wp-admin/js/post.js
a._djScaytConfig={baseUrl:y,addOnLoad:[function(){a.fireOnce('scaytReady');}],isDebug:false};a.document.getHead().append(a.document.createElement('script',{attributes:{type:'text/javascript',src:x}}));return null;},parseUrl:function(u){var v;if(u.match&&(v=u.match(/(.*)[\/\\](.*?\.\w+)$/)))return{path:v[1],file:v[2]};e...
});a.on('scaytReady',o,s);a.on('scaytReady',function(){this.engineLoaded=true;},this,null,0);this.engineLoaded=-1;var t=document.location.protocol;t=t.search(/https?:/)!=-1?t:'http:';var u='svc.spellchecker.net/scayt25/loader__base.js',v=s.config.scayt_srcUrl||t+'
a._djScaytConfig={baseUrl:y,addOnLoad:[function(){a.fireOnce('scaytReady');}],isDebug:false};a.document.getHead().append(a.document.createElement('script',{attributes:{type:'text/javascript',src:x}}));return null;},parseUrl:function(u){var v;if(u.match&&(v=u.match(/(.*)[\/\\](.*?\.\w+)$/)))return{path:v[1],file:v[2]};e...
8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/debb161f7671ff5bddc8def2221db94ff111ff1b/ckeditor.js/buggy/ckeditor/ckeditor.js
multilineVars.staves.push({ index: multilineVars.staves.length, meter: multilineVars.origMeter });
multilineVars.staves.push({index: multilineVars.staves.length, meter: multilineVars.origMeter});
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on the line ...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js
if (staffInfo.clef) s.clef = { type: staffInfo.clef, verticalPos: staffInfo.verticalPos };
if (staffInfo.clef) s.clef = {type: staffInfo.clef, verticalPos: staffInfo.verticalPos};
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on the line ...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b469218ea3fed3fd3b63e64dfa8a3d3cd05c473d/abc_parse_header.js/clean/abc_parse_header.js
staffInfo.clef = staffInfo.clef.replace(/[',]/g, ""); if (staffInfo.clef.indexOf('+16') != -1) { oct += 14; staffInfo.clef = staffInfo.clef.replace('+16', '');
if (staffInfo.clef !== undefined) { staffInfo.clef = staffInfo.clef.replace(/[',]/g, ""); if (staffInfo.clef.indexOf('+16') != -1) { oct += 14; staffInfo.clef = staffInfo.clef.replace('+16', ''); } staffInfo.middle = calcMiddle(staffInfo.clef, oct);
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b9fe51368ab7ac2f2cd1784d6b85847085c5d12d/abc_parse_header.js/buggy/abc_parse_header.js
staffInfo.middle = calcMiddle(staffInfo.clef, oct);
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/b9fe51368ab7ac2f2cd1784d6b85847085c5d12d/abc_parse_header.js/buggy/abc_parse_header.js
var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; var id = tokenizer.getToken(line, start, end); if (id.length === 0) { warn("Expected a voice id", line, start); return; } var isNew = false; if (multilineVars.voices[id] === undefined) { multilineVars.voices[id] = {}; isNew = true; i...
var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; var id = tokenizer.getToken(line, start, end); if (id.length === 0) { warn("Expected a voice id", line, start); return; } var isNew = false; if (multilineVars.voices[id] === undefined) { multilineVars.voices[id] = {}; isNew = true; i...
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
var staffInfo = {startStaff: isNew}; var addNextTokenToStaffInfo = function(name) { var attr = tokenizer.getVoiceToken(line, start, end); if (attr.warn !== undefined) warn("Expected value for " + name + " in voice: " + attr.warn, line, start); else if (attr.token.length === 0 && line[start] !== '"') warn("Expected valu...
var staffInfo = {startStaff: isNew}; var addNextTokenToStaffInfo = function(name) { var attr = tokenizer.getVoiceToken(line, start, end); if (attr.warn !== undefined) warn("Expected value for " + name + " in voice: " + attr.warn, line, start); else if (attr.token.length === 0 && line[start] !== '"') warn("Expected valu...
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
while (start < end) { var token = tokenizer.getVoiceToken(line, start, end); start += token.len;
while (start < end) { var token = tokenizer.getVoiceToken(line, start, end); start += token.len;
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
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.warn) { warn("Error parsing voice: " + token.warn, line, start); } else { var attr = null; switch (token.token) { case 'clef': case 'cl': addNextTokenToStaffInfo('clef'); var oct = 0;
if (token.warn) { warn("Error parsing voice: " + token.warn, line, start); } else { var attr = null; switch (token.token) { case 'clef': case 'cl': addNextTokenToStaffInfo('clef'); var oct = 0;
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
if (staffInfo.clef !== undefined) { staffInfo.clef = staffInfo.clef.replace(/[',]/g, ""); if (staffInfo.clef.indexOf('+16') != -1) { oct += 14; staffInfo.clef = staffInfo.clef.replace('+16', ''); } staffInfo.middle = calcMiddle(staffInfo.clef, oct);
if (staffInfo.clef !== undefined) { staffInfo.clef = staffInfo.clef.replace(/[',]/g, ""); if (staffInfo.clef.indexOf('+16') !== -1) { oct += 14; staffInfo.clef = staffInfo.clef.replace('+16', '');
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
break; case 'treble': case 'bass': case 'tenor': case 'alto': case 'none': case 'treble\'': case 'bass\'': case 'tenor\'': case 'alto\'': case 'none\'': case 'treble\'\'': case 'bass\'\'': case 'tenor\'\'': case 'alto\'\'': case 'none\'\'': case 'treble,': case 'bass,': case 'tenor,': case 'alto,': case 'none,': case '...
staffInfo.middle = calcMiddle(staffInfo.clef, oct); } break; case 'treble': case 'bass': case 'tenor': case 'alto': case 'none': case 'treble\'': case 'bass\'': case 'tenor\'': case 'alto\'': case 'none\'': case 'treble\'\'': case 'bass\'\'': case 'tenor\'\'': case 'alto\'\'': case 'none\'\'': case 'treble,': case 'bas...
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
staffInfo.clef = token.token.replace(/[',]/g, ""); staffInfo.middle = calcMiddle(staffInfo.clef, oct2); break; case 'staves': case 'stave': case 'stv': addNextTokenToStaffInfo('staves'); break; case 'brace': case 'brc': addNextTokenToStaffInfo('brace'); break; case 'bracket': case 'brk': addNextTokenToStaffInfo('bracke...
staffInfo.clef = token.token.replace(/[',]/g, ""); staffInfo.middle = calcMiddle(staffInfo.clef, oct2); break; case 'staves': case 'stave': case 'stv': addNextTokenToStaffInfo('staves'); break; case 'brace': case 'brc': addNextTokenToStaffInfo('brace'); break; case 'bracket': case 'brk': addNextTokenToStaffInfo('bracke...
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
start += tokenizer.eatWhiteSpace(line, start);
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
if (staffInfo.startStaff || multilineVars.staves.length === 0) { multilineVars.staves.push({ index: multilineVars.staves.length, meter: multilineVars.origMeter }); if (!multilineVars.score_is_present) multilineVars.staves[multilineVars.staves.length-1].numVoices = 0;
if (staffInfo.startStaff || multilineVars.staves.length === 0) { multilineVars.staves.push({ index: multilineVars.staves.length, meter: multilineVars.origMeter }); if (!multilineVars.score_is_present) multilineVars.staves[multilineVars.staves.length-1].numVoices = 0; } if (multilineVars.voices[id].staffNum === undefi...
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
if (multilineVars.voices[id].staffNum === undefined) { multilineVars.voices[id].staffNum = multilineVars.staves.length-1; var vi = 0; for(var v in multilineVars.voices) { if(multilineVars.voices.hasOwnProperty(v)) { if (multilineVars.voices[v].staffNum === multilineVars.voices[id].staffNum) vi++; } } multilineVars.voi...
multilineVars.voices[id].index = vi-1; } var s = multilineVars.staves[multilineVars.voices[id].staffNum]; if (!multilineVars.score_is_present) s.numVoices++; if (staffInfo.clef) s.clef = { type: staffInfo.clef, middle: staffInfo.middle }; if (staffInfo.spacing) s.spacing_below_offset = staffInfo.spacing; if (staffInfo....
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
if (staffInfo.name) {if (s.name) s.name.push(staffInfo.name); else s.name = [ staffInfo.name ];} if (staffInfo.subname) {if (s.subname) s.subname.push(staffInfo.subname); else s.subname = [ staffInfo.subname ];}
if (staffInfo.name) {if (s.name) s.name.push(staffInfo.name); else s.name = [ staffInfo.name ];} if (staffInfo.subname) {if (s.subname) s.subname.push(staffInfo.subname); else s.subname = [ staffInfo.subname ];}
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
this.setCurrentVoice(id); };
this.setCurrentVoice(id); };
this.parseVoice = function(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on th...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_parse_header.js/buggy/abc_parse_header.js
else if (attr.token.length === 0)
else if (attr.token.length === 0 && line[start] !== '"')
function parseVoice(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on the line ...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js
if (staffInfo.clef) s.clef = staffInfo.clef;
if (staffInfo.clef) s.clef = { type: staffInfo.clef, middle: staffInfo.middle };
function parseVoice(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on the line ...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/66c5771dcec8aa949d4f3e38d5c1edaf2264c555/abc_parse.js/buggy/abc_parse.js
if (multilineVars.staves.length > 1) { multilineVars.staves[0].bracket = 'start'; for (var b = 1; b < multilineVars.staves.length-1; b++) multilineVars.staves[b].bracket = "continue"; multilineVars.staves[multilineVars.staves.length-1].bracket = 'end'; }
function parseVoice(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on the line ...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js
var s = multilineVars.staves[multilineVars.staves.length-1];
var s = multilineVars.staves[multilineVars.voices[id].staffNum];
function parseVoice(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on the line ...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js
if (staffInfo.subname) {if (s.subname) s.name.push(staffInfo.subname); else s.subname = [ staffInfo.subname ];}
if (staffInfo.subname) {if (s.subname) s.subname.push(staffInfo.subname); else s.subname = [ staffInfo.subname ];}
function parseVoice(line, i, e) { //First truncate the string to the first non-space character after V: through either the //end of the line or a % character. Then remove trailing spaces, too. var ret = tokenizer.getMeat(line, i, e); var start = ret.start; var end = ret.end; //The first thing on the line ...
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/05b2dde631d4eb1677f46195c6c62184e7d629aa/abc_parse.js/clean/abc_parse.js
htmlText += ' ' + xmlDocNode.attributes[i].nodeName + '=&quot;' + xmlDocNode.attributes[i].value + '&quot;';
htmlText += ' ' + xmlDocNode.attributes[i].nodeName + '=&quot;' + xmlDocNode.attributes[i].value + '&quot;';
var parseXmlToHtml = function(xmlDocNode, indent) { var htmlText; var isLeaf = isLeafNode(xmlDocNode); // Create opening tag with attributes htmlText = indent + '<span class="tag">&lt;' + xmlDocNode.tagName; for ( var i = 0; i < xmlDocNode.attributes.length; i++) { html...
6764 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6764/ce6e30f73846e1454d45b3ae80df69e03b836e58/genericparser.js/clean/src/main/webapp/js/genericparser.js
htmlText += '<span class="tag">' + (isLeaf ? '' : indent) + '&lt;/' + xmlDocNode.tagName + '&gt;</span><br/>';
htmlText += '<span class="tag">' + (isLeaf ? '' : indent) + '&lt;/' + xmlDocNode.tagName + '&gt;</span><br/>';
var parseXmlToHtml = function(xmlDocNode, indent) { var htmlText; var isLeaf = isLeafNode(xmlDocNode); // Create opening tag with attributes htmlText = indent + '<span class="tag">&lt;' + xmlDocNode.tagName; for ( var i = 0; i < xmlDocNode.attributes.length; i++) { html...
6764 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6764/ce6e30f73846e1454d45b3ae80df69e03b836e58/genericparser.js/clean/src/main/webapp/js/genericparser.js
if (isLeaf) htmlText += xmlDocNode.textContent; else
if (isLeaf) { var textContent = xmlDocNode.textContent ? xmlDocNode.textContent : xmlDocNode.text; htmlText += textContent; } else {
var parseXmlToHtml = function(xmlDocNode, indent) { var htmlText; var isLeaf = isLeafNode(xmlDocNode); // Create opening tag with attributes htmlText = indent + '<span class="tag">&lt;' + xmlDocNode.tagName; for ( var i = 0; i < xmlDocNode.attributes.length; i++) { html...
6764 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6764/598271bac71a093c85c96c5b0bda9f0b842edede/genericparser.js/clean/src/main/webapp/js/genericparser.js
}
var parseXmlToHtml = function(xmlDocNode, indent) { var htmlText; var isLeaf = isLeafNode(xmlDocNode); // Create opening tag with attributes htmlText = indent + '<span class="tag">&lt;' + xmlDocNode.tagName; for ( var i = 0; i < xmlDocNode.attributes.length; i++) { html...
6764 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6764/598271bac71a093c85c96c5b0bda9f0b842edede/genericparser.js/clean/src/main/webapp/js/genericparser.js
partition: function(iterator) {
partition: function(iterator, context) { iterator = iterator || Prototype.K;
partition: function(iterator) { var trues = [], falses = []; this.each(function(value, index) { ((iterator || Prototype.K)(value, index) ? trues : falses).push(value); }); return [trues, falses]; },
6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/prototype.js/clean/web/src/main/webapp/js/prototype.js
((iterator || Prototype.K)(value, index) ?
(iterator.call(context, value, index) ?
partition: function(iterator) { var trues = [], falses = []; this.each(function(value, index) { ((iterator || Prototype.K)(value, index) ? trues : falses).push(value); }); return [trues, falses]; },
6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/prototype.js/clean/web/src/main/webapp/js/prototype.js