rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
13
136k
meta
stringlengths
132
347
testDateFormattingWithPadding: function() { with(this) { I18n.locale = "pt"; // 2009-04-26 19:35:44 (Sunday) var date = new Date(2009, 3, 9, 7, 8, 9); // 24-hour assertEqual("07", I18n.strftime(date, "%H")); // 12-hour assertEqual("07", I18n.strftime(date, "%I")); // minutes assertEqual("08", I18n.strftime(da...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testDateFormattingWithPadding: function() { with(this) { I18n.locale = "pt"; // 2009-04-26 19:35:44 (Sunday) var date = new Date(2009, 3, 9, 7, 8, 9); // 24-hour assertEqual("07", I18n.strftime(date, "%H")); // 12-hour assertEqual("07", I18n.strftime(date, "%I")); // minutes assertEqual("08", I18n.strftime(da...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testDateFormattingWithPadding: function() { with(this) { I18n.locale = "pt"; // 2009-04-26 19:35:44 (Sunday) var date = new Date(2009, 3, 9, 7, 8, 9); // 24-hour assertEqual("07", I18n.strftime(date, "%H")); // 12-hour assertEqual("07", I18n.strftime(date, "%I")); // minutes assertEqual("08", I18n.strftime(da...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testDateFormattingWithPadding: function() { with(this) { I18n.locale = "pt"; // 2009-04-26 19:35:44 (Sunday) var date = new Date(2009, 3, 9, 7, 8, 9); // 24-hour assertEqual("07", I18n.strftime(date, "%H")); // 12-hour assertEqual("07", I18n.strftime(date, "%I")); // minutes assertEqual("08", I18n.strftime(da...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testDateFormattingWithPadding: function() { with(this) { I18n.locale = "pt"; // 2009-04-26 19:35:44 (Sunday) var date = new Date(2009, 3, 9, 7, 8, 9); // 24-hour assertEqual("07", I18n.strftime(date, "%H")); // 12-hour assertEqual("07", I18n.strftime(date, "%I")); // minutes assertEqual("08", I18n.strftime(da...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testDateFormattingWithPadding: function() { with(this) { I18n.locale = "pt"; // 2009-04-26 19:35:44 (Sunday) var date = new Date(2009, 3, 9, 7, 8, 9); // 24-hour assertEqual("07", I18n.strftime(date, "%H")); // 12-hour assertEqual("07", I18n.strftime(date, "%I")); // minutes assertEqual("08", I18n.strftime(da...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testDateFormattingWithPadding: function() { with(this) { I18n.locale = "pt"; // 2009-04-26 19:35:44 (Sunday) var date = new Date(2009, 3, 9, 7, 8, 9); // 24-hour assertEqual("07", I18n.strftime(date, "%H")); // 12-hour assertEqual("07", I18n.strftime(date, "%I")); // minutes assertEqual("08", I18n.strftime(da...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testDateFormattingWithPadding: function() { with(this) { I18n.locale = "pt"; // 2009-04-26 19:35:44 (Sunday) var date = new Date(2009, 3, 9, 7, 8, 9); // 24-hour assertEqual("07", I18n.strftime(date, "%H")); // 12-hour assertEqual("07", I18n.strftime(date, "%I")); // minutes assertEqual("08", I18n.strftime(da...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testDateFormattingWithPositiveTimezone: function() { with(this) { I18n.locale = "pt"; var date = new Date(2009, 3, 26, 19, 35, 44); date.getTimezoneOffset = function() { return -345; }; assertMatch(/^(\+|-)[\d]{4}$/, I18n.strftime(date, "%z")); assertEqual("+0545", I18n.strftime(date, "%z")); }},
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testDateFormattingWithPositiveTimezone: function() { with(this) { I18n.locale = "pt"; var date = new Date(2009, 3, 26, 19, 35, 44); date.getTimezoneOffset = function() { return -345; }; assertMatch(/^(\+|-)[\d]{4}$/, I18n.strftime(date, "%z")); assertEqual("+0545", I18n.strftime(date, "%z")); }},
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testDateFormattingWithPositiveTimezone: function() { with(this) { I18n.locale = "pt"; var date = new Date(2009, 3, 26, 19, 35, 44); date.getTimezoneOffset = function() { return -345; }; assertMatch(/^(\+|-)[\d]{4}$/, I18n.strftime(date, "%z")); assertEqual("+0545", I18n.strftime(date, "%z")); }},
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testDefaultValueForPluralize: function() { with(this) { options = {defaultValue: { none: "No things here!", one: "There is {{count}} thing here!", other: "There are {{count}} things here!" }}; assertEqual("No things here!", I18n.pluralize(0, "things", options)); assertEqual("There is 1 thing here!", I18n.plu...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testDefaultValueForPluralizeShouldNotBeUsedWhenScopeExist: function() { with(this) { options = {defaultValue: { none: "No things here!", one: "There is {{count}} thing here!", other: "There are {{count}} things here!" }}; assertEqual("You have no messages", I18n.pluralize(0, "inbox", options)); assertEqual("...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
}},
}}
testDefaultValueForPluralizeShouldNotBeUsedWhenScopeExist: function() { with(this) { options = {defaultValue: { none: "No things here!", one: "There is {{count}} thing here!", other: "There are {{count}} things here!" }}; assertEqual("You have no messages", I18n.pluralize(0, "inbox", options)); assertEqual...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/c308bf2242ea4597fb51f8b19fe9491e9921b2bd/i18n-test.js/clean/test/i18n-test.js
diffs = [[DIFF_EQUAL, 'x'], [DIFF_DELETE, 'a'], [DIFF_INSERT, 'abc'], [DIFF_DELETE, 'dc'], [DIFF_EQUAL, 'y']]; dmp.diff_cleanupMerge(diffs); assertEquivalent([[DIFF_EQUAL, 'xa'], [DIFF_DELETE, 'd'], [DIFF_INSERT, 'b'], [DIFF_EQUAL, 'cy']], diffs);
function testDiffCleanupMerge() { // Cleanup a messy diff. // Null case. var diffs = []; dmp.diff_cleanupMerge(diffs); assertEquivalent([], diffs); // No change case. diffs = [[DIFF_EQUAL, 'a'], [DIFF_DELETE, 'b'], [DIFF_INSERT, 'c']]; dmp.diff_cleanupMerge(diffs); assertEquivalent([[DIFF_EQUAL, 'a'], [DIFF_DE...
195 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/195/1c790bd8fa68cede2c6ff6c0e532bbad231ee959/diff_match_patch_test.js/buggy/javascript/diff_match_patch_test.js
assertEquivalent(['abc', 'z', '1234', '0', '56789'], dmp.diff_halfMatch('abc56789z', '1234567890')); assertEquivalent(['a', 'xyz', '1', '7890', '23456'], dmp.diff_halfMatch('a23456xyz', '1234567890'));
function testDiffHalfMatch() { // Detect a halfmatch. // No match. assertEquals(null, dmp.diff_halfMatch('1234567890', 'abcdef')); // Single Match. assertEquivalent(['12', '90', 'a', 'z', '345678'], dmp.diff_halfMatch('1234567890', 'a345678z')); assertEquivalent(['a', 'z', '12', '90', '345678'], dmp.diff_halfMatc...
195 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/195/1c790bd8fa68cede2c6ff6c0e532bbad231ee959/diff_match_patch_test.js/buggy/javascript/diff_match_patch_test.js
for (var i = 0; i < 100; i++) source += ("var a" + i + " = i;");
for (var i = 0; i < 100; i++) source += ("var a" + i + " = " + i + ";");
function testInitSlowCaseExtension() { var source = ""; // Introduce 100 properties on the context extension object to force // it in slow case. for (var i = 0; i < 100; i++) source += ("var a" + i + " = i;"); source += "const x = 10; assertEquals(10, x); x = 11; assertEquals(10, x)"; eval(source);}
262 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/262/e0bbcf1e6ef82dc06231de19d914e50fe98071c4/const-eval-init.js/clean/test/mjsunit/const-eval-init.js
testLocalizeDateStrings: function() { with(this) { I18n.locale = "pt"; assertEqual("29/11/2009", I18n.localize("date.formats.default", "2009-11-29")); assertEqual("07 de Janeiro", I18n.localize("date.formats.short", "2009-01-07")); assertEqual("07 de Janeiro de 2009", I18n.localize("date.formats.long", "2009-01-07...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
assertEqual("1,234,567.00", I18n.localize("number", 1234567));
assertEqual("1,234,567.000", I18n.localize("number", 1234567));
testLocalizeNumbers: function() { with(this) { assertEqual("1,234,567.00", I18n.localize("number", 1234567)); }},
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/c308bf2242ea4597fb51f8b19fe9491e9921b2bd/i18n-test.js/clean/test/i18n-test.js
testMissingTranslationWithCountOption: function() { with(this) { actual = I18n.translate("invalid", {count: 1}); assertEqual('[missing "en.invalid" translation]', actual); I18n.translations.en.inbox.one = null; actual = I18n.translate("inbox", {count: 1}); assertEqual('[missing "en.inbox.one" translation]', actua...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testNumbersConsideringOptions: function() { with(this) { options = { precision: 2, separator: ",", delimiter: "." }; assertEqual("1,00", I18n.toNumber(1, options)); assertEqual("12,00", I18n.toNumber(12, options)); assertEqual("123,00", I18n.toNumber(123, options)); assertEqual("1.234,00", I18n.toNumber(12...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
assertEqual("1.00", I18n.toNumber(1, options)); assertEqual("12.00", I18n.toNumber(12, options)); assertEqual("123.00", I18n.toNumber(123, options)); assertEqual("1,234.00", I18n.toNumber(1234, options)); assertEqual("123,456.00", I18n.toNumber(123456, options)); assertEqual("1,234,567.00", I18n.toNumber(1234567, optio...
assertEqual("1,00", I18n.toNumber(1, options)); assertEqual("12,00", I18n.toNumber(12, options)); assertEqual("123,00", I18n.toNumber(123, options)); assertEqual("1.234,00", I18n.toNumber(1234, options)); assertEqual("123.456,00", I18n.toNumber(123456, options)); assertEqual("1.234.567,00", I18n.toNumber(1234567, optio...
testNumbersConsideringOptions: function() { with(this) { options = { precision: 2, separator: ",", delimiter: "." }; assertEqual("1.00", I18n.toNumber(1, options)); assertEqual("12.00", I18n.toNumber(12, options)); assertEqual("123.00", I18n.toNumber(123, options)); assertEqual("1,234.00", I18n.toNumber(...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/c308bf2242ea4597fb51f8b19fe9491e9921b2bd/i18n-test.js/clean/test/i18n-test.js
testNumbersWithDifferentPrecisions: function() { with(this) { options = {separator: ".", delimiter: ","}; options["precision"] = 2; assertEqual("1.98", I18n.toNumber(1.98, options)); options["precision"] = 3; assertEqual("1.980", I18n.toNumber(1.98, options)); options["precision"] = 2; assertEqual("1.99", I18n....
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testNumbersWithDifferentPrecisions: function() { with(this) { options = {separator: ".", delimiter: ","}; options["precision"] = 2; assertEqual("1.98", I18n.toNumber(1.98, options)); options["precision"] = 3; assertEqual("1.980", I18n.toNumber(1.98, options)); options["precision"] = 2; assertEqual("1.99", I18n....
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testNumbersWithDifferentPrecisions: function() { with(this) { options = {separator: ".", delimiter: ","}; options["precision"] = 2; assertEqual("1.98", I18n.toNumber(1.98, options)); options["precision"] = 3; assertEqual("1.980", I18n.toNumber(1.98, options)); options["precision"] = 2; assertEqual("1.99", I18n....
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testNumbersWithDifferentPrecisions: function() { with(this) { options = {separator: ".", delimiter: ","}; options["precision"] = 2; assertEqual("1.98", I18n.toNumber(1.98, options)); options["precision"] = 3; assertEqual("1.980", I18n.toNumber(1.98, options)); options["precision"] = 2; assertEqual("1.99", I18n....
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testNumbersWithDifferentPrecisions: function() { with(this) { options = {separator: ".", delimiter: ","}; options["precision"] = 2; assertEqual("1.98", I18n.toNumber(1.98, options)); options["precision"] = 3; assertEqual("1.980", I18n.toNumber(1.98, options)); options["precision"] = 2; assertEqual("1.99", I18n....
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
options = {separator: ",", delimiter: "."};
options = {separator: ".", delimiter: ","};
testNumbersWithDifferentPrecisions: function() { with(this) { options = {separator: ",", delimiter: "."}; options["precision"] = 2; assertEqual("1.98", I18n.toNumber(1.98, options)); options["precision"] = 3; assertEqual("1.980", I18n.toNumber(1.98, options)); options["precision"] = 3; assertEqual("1.980"...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/c308bf2242ea4597fb51f8b19fe9491e9921b2bd/i18n-test.js/clean/test/i18n-test.js
options["precision"] = 3; assertEqual("1.980", I18n.toNumber(1.98, options));
testNumbersWithDifferentPrecisions: function() { with(this) { options = {separator: ",", delimiter: "."}; options["precision"] = 2; assertEqual("1.98", I18n.toNumber(1.98, options)); options["precision"] = 3; assertEqual("1.980", I18n.toNumber(1.98, options)); options["precision"] = 3; assertEqual("1.980"...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/c308bf2242ea4597fb51f8b19fe9491e9921b2bd/i18n-test.js/clean/test/i18n-test.js
testNumbersWithFullTranslationAndDefaultOptions: function() { with(this) { I18n.translations.en.number = { format: { delimiter: ".", separator: ",", precision: 2 } } assertEqual("1.234,00", I18n.toNumber(1234)); }},
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testNumbersWithPartialTranslationAndDefaultOptions: function() { with(this) { I18n.translations.en.number = { format: { precision: 2 } } assertEqual("1,234.00", I18n.toNumber(1234)); }},
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
[document, document.body, document.documentElement].each (function(node) { this.assertEqual(document.body, Element.getOffsetParent(node)); }, this);
testOffsetParent: function() { this.assertEqual('body_absolute', $('absolute_absolute').getOffsetParent().id, '#body_absolute should be parent of #absolute_absolute'); this.assertEqual('body_absolute', $('absolute_relative').getOffsetParent().id, '#body_absolute should be parent of #absolute_relative')...
6684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6684/e4503ee9912be5abff287b88f7c27a9f43632fdd/dom_test.js/buggy/test/unit/dom_test.js
expected = new Date(Date.UTC(2010, 2, 3, 0, 43, 0)); assertEqual(expected.toString(), I18n.parseDate("2010-03-03T00:43:00+00:00").toString());
testParseDate: function() { with(this) { expected = new Date(2009, 0, 24, 0, 0, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24").toString()); expected = new Date(2009, 0, 24, 15, 33, 44); assertEqual(expected.toString(), I18n.parseDate("2009-01-24 15:33:44").toString()); expected = new Date(2009,...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/9ab725321bfc2c07c4b46a11bf78a1d4a9a18c14/i18n-test.js/buggy/test/i18n-test.js
testParseDate: function() { with(this) { expected = new Date(2009, 0, 24, 0, 0, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24").toString()); expected = new Date(2009, 0, 24, 0, 15, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24 00:15:00").toString()); expected = new Date(2009, 0...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testParseDate: function() { with(this) { expected = new Date(2009, 0, 24, 0, 0, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24").toString()); expected = new Date(2009, 0, 24, 0, 15, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24 00:15:00").toString()); expected = new Date(2009, 0...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testParseDate: function() { with(this) { expected = new Date(2009, 0, 24, 0, 0, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24").toString()); expected = new Date(2009, 0, 24, 0, 15, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24 00:15:00").toString()); expected = new Date(2009, 0...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testParseDate: function() { with(this) { expected = new Date(2009, 0, 24, 0, 0, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24").toString()); expected = new Date(2009, 0, 24, 0, 15, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24 00:15:00").toString()); expected = new Date(2009, 0...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testParseDate: function() { with(this) { expected = new Date(2009, 0, 24, 0, 0, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24").toString()); expected = new Date(2009, 0, 24, 0, 15, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24 00:15:00").toString()); expected = new Date(2009, 0...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testParseDate: function() { with(this) { expected = new Date(2009, 0, 24, 0, 0, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24").toString()); expected = new Date(2009, 0, 24, 0, 15, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24 00:15:00").toString()); expected = new Date(2009, 0...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testParseDate: function() { with(this) { expected = new Date(2009, 0, 24, 0, 0, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24").toString()); expected = new Date(2009, 0, 24, 0, 15, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24 00:15:00").toString()); expected = new Date(2009, 0...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testParseDate: function() { with(this) { expected = new Date(2009, 0, 24, 0, 0, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24").toString()); expected = new Date(2009, 0, 24, 0, 15, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24 00:15:00").toString()); expected = new Date(2009, 0...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
expected = new Date(Date.UTC(2010, 2, 3, 0, 43, 0)); assertEqual(expected.toString(), I18n.parseDate("2010-03-03T00:43:00+00:00").toString());
testParseDate: function() { with(this) { expected = new Date(2009, 0, 24, 0, 0, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24").toString()); expected = new Date(2009, 0, 24, 15, 33, 44); assertEqual(expected.toString(), I18n.parseDate("2009-01-24 15:33:44").toString()); expected = new Date(2009,...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/7797a63fd1316a0a986515e74637ab6516ae0418/i18n-test.js/buggy/test/i18n-test.js
expected = new Date(2009, 0, 24, 0, 15, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24 00:15:00").toString()); expected = new Date(2009, 0, 24, 0, 0, 15); assertEqual(expected.toString(), I18n.parseDate("2009-01-24 00:00:15").toString());
testParseDate: function() { with(this) { expected = new Date(2009, 0, 24, 0, 0, 0); assertEqual(expected.toString(), I18n.parseDate("2009-01-24").toString()); expected = new Date(2009, 0, 24, 15, 33, 44); assertEqual(expected.toString(), I18n.parseDate("2009-01-24 15:33:44").toString()); expected = new Date(2009,...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/36751ccc1e7bcb085a2d429c8dd0f59576586f5a/i18n-test.js/buggy/test/i18n-test.js
var patches = dmp.patch_make('The quick brown fox jumps over the lazy dog.', 'That quick brown fox jumped over a lazy dog.'); var results = dmp.patch_apply(patches, 'The quick brown fox jumps over the lazy dog.');
patches = dmp.patch_make('The quick brown fox jumps over the lazy dog.', 'That quick brown fox jumped over a lazy dog.'); results = dmp.patch_apply(patches, 'The quick brown fox jumps over the lazy dog.');
function testPatchApply() { dmp.Match_Distance = 1000; dmp.Match_Threshold = 0.5; dmp.Patch_DeleteThreshold = 0.5; // Exact match. var patches = dmp.patch_make('The quick brown fox jumps over the lazy dog.', 'That quick brown fox jumped over a lazy dog.'); var results = dmp.patch_apply(patches, 'The quick brown f...
195 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/195/41af51b30d328df592384330ecbba21fcf82cd47/diff_match_patch_test.js/buggy/javascript/diff_match_patch_test.js
assertEqual("1234%", I18n.toPercentage(1234, {delimiter: "", precision: 0}));
assertEqual("1_234%", I18n.toPercentage(1234, {delimiter: "_", precision: 0}));
testPercentageWithCustomOptions: function() { with(this) { assertEqual("1234%", I18n.toPercentage(1234, {delimiter: "", precision: 0})); }},
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/154f6569f59f66888d2efea379b7fea8b588f3f8/i18n-test.js/buggy/test/i18n-test.js
assertEqual("1,234.000%", I18n.toPercentage(1234));
assertEqual("1234.000%", I18n.toPercentage(1234));
testPercentageWithDefaults: function() { with(this) { assertEqual("1,234.000%", I18n.toPercentage(1234)); }},
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/154f6569f59f66888d2efea379b7fea8b588f3f8/i18n-test.js/buggy/test/i18n-test.js
testPercentageWithTranslation: function() { with(this) { I18n.translations.en.number = { percentage: { format: { precision: 2, delimiter: ".", separator: "," } } } assertEqual("1.234,00%", I18n.toPercentage(1234)); }},
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testPercentageWithTranslationAndCustomOptions: function() { with(this) { I18n.translations.en.number = { percentage: { format: { precision: 2, delimiter: ".", separator: "," } } } assertEqual("1-234+0000%", I18n.toPercentage(1234, {precision: 4, delimiter: "-", separator: "+"})); }},
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
}},
}}
testPercentageWithTranslationAndCustomOptions: function() { with(this) { I18n.translations.en.number = { percentage: { format: { precision: 2, delimiter: ".", separator: "," } } } assertEqual("1-234+0000%", I18n.toPercentage(1234, {precision: 4, delimiter: "-", separator: "+"})); }},
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/490b5111ec17159771795d6a6ef11940f7191de3/i18n-test.js/buggy/test/i18n-test.js
testPluralizeWithMultiplePlaceholders: function() { with(this) { actual = I18n.pluralize(1, "unread", {unread: 5}); assertEqual("You have 1 new message (5 unread)", actual); actual = I18n.pluralize(10, "unread", {unread: 2}); assertEqual("You have 10 new messages (2 unread)", actual); actual = I18n.pluralize(0, "...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testPluralizeWithMultiplePlaceholders: function() { with(this) { actual = I18n.pluralize(1, "unread", {unread: 5}); assertEqual("You have 1 new message (5 unread)", actual); actual = I18n.pluralize(10, "unread", {unread: 2}); assertEqual("You have 10 new messages (2 unread)", actual); actual = I18n.pluralize(0, "...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testPrepareOptions: function() { with(this) { options = I18n.prepareOptions( {name: "Mary Doe"}, {name: "John Doe", role: "user"} ); assertEqual("Mary Doe", options["name"]); assertEqual("user", options["role"]); }},
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testPrepareOptionsWithMultipleOptions: function() { with(this) { options = I18n.prepareOptions( {name: "Mary Doe"}, {name: "John Doe", role: "user"}, {age: 33}, {email: "mary@doe.com", url: "http://marydoe.com"}, {role: "admin", email: "john@doe.com"} ); assertEqual("Mary Doe", options["name"]); assertEq...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
'tickprocessor-test.log', 'tickprocessor-test.gc-state']
'tickprocessor-test.log', 'tickprocessor-test.gc-state'], 'FunctionInfo': [ false, false, null, 'tickprocessor-test-func-info.log', 'tickprocessor-test.func-info']
(function testProcessing() { var testData = { 'Default': [ false, false, null, 'tickprocessor-test.log', 'tickprocessor-test.default'], 'SeparateIc': [ true, false, null, 'tickprocessor-test.log', 'tickprocessor-test.separate-ic'], 'IgnoreUnknown': [ false, true, null, 'tickproce...
262 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/262/999e3fca909774207358c6a50d183740ddfedfc9/tickprocessor.js/buggy/test/mjsunit/tools/tickprocessor.js
}},
}}
testReturnTranslationForCustomScopeSeparator: function() { with(this) { I18n.defaultSeparator = "•"; actual = I18n.translate("greetings•stranger"); assertEqual("Hello stranger!", actual); }},
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
var minimum = new Array(521,0); var webKitFields = RegExp("( AppleWebKit/)([^ ]+)").exec(navigator.userAgent); if (!webKitFields || webKitFields.length < 3) return false; var version = webKitFields[2].split("."); for (var i = 0; i < minimum.length; i++) { var toInt = parseInt(version[i]); var versionField = isNaN(toInt...
var minimum = new Array(521,0); var webKitFields = RegExp("( AppleWebKit/)([^ ]+)").exec(navigator.userAgent); if (!webKitFields || webKitFields.length < 3) return false; var version = webKitFields[2].split("."); for (var i = 0; i < minimum.length; i++) { var toInt = parseInt(version[i]); var versionField = isNaN(toInt...
function testSafari3(){ var minimum = new Array(521,0); var webKitFields = RegExp("( AppleWebKit/)([^ ]+)").exec(navigator.userAgent); if (!webKitFields || webKitFields.length < 3) return false; var version = webKitFields[2].split("."); for (var i = 0; i < minimum.length; i++) { var toInt = parseI...
8560 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8560/ad9814612d62f8069f4c5993934c66dfc5b804f9/common.js/clean/web/javascript/common.js
if (versionField > minimumField) return true; if (versionField < minimumField) return false; } return true;
if (versionField > minimumField) return true; if (versionField < minimumField) return false; } return true;
function testSafari3(){ var minimum = new Array(521,0); var webKitFields = RegExp("( AppleWebKit/)([^ ]+)").exec(navigator.userAgent); if (!webKitFields || webKitFields.length < 3) return false; var version = webKitFields[2].split("."); for (var i = 0; i < minimum.length; i++) { var toInt = parseI...
8560 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8560/ad9814612d62f8069f4c5993934c66dfc5b804f9/common.js/clean/web/javascript/common.js
this.assertHashEqual({ length: 'foo', bar: 'baz' }, el.serialize(true));
this.assertHashEqual(hash, el.serialize(true)); var form = $('form_with_troublesome_input_names'); this.assertHashEqual(hash, form.serialize(true));
testSerializeFormTroublesomeNames: function() { var el = new Element('form', { action: '/' }); var input = new Element('input', { type: 'text', name: 'length', value: 'foo' }); var input2 = new Element('input', { type: 'text', name: 'bar', value: 'baz' })...
6684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6684/c05412b76203a2d8bf383822d2ae0c07f00dc1f2/form_test.js/buggy/test/unit/form_test.js
name + " doesn't contain expected[" + i + "]");
name + " doesn't contain expected[" + i + "] stack = " + e.stack);
function testTrace(name, fun, expected, unexpected) { var threw = false; try { fun(); } catch (e) { for (var i = 0; i < expected.length; i++) { assertTrue(e.stack.indexOf(expected[i]) != -1, name + " doesn't contain expected[" + i + "]"); } if (unexpected) { for (var i = 0; i < ...
262 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/262/b2f444f6e618b5fdbdc8b3c3892c46b4f79de3b4/stack-traces.js/clean/test/mjsunit/stack-traces.js
testTranslationWithCountOptionAndMultiplePlaceholders: function() { with(this) { actual = I18n.translate("unread", {unread: 5, count: 1}); assertEqual("You have 1 new message (5 unread)", actual); actual = I18n.translate("unread", {unread: 2, count: 10}); assertEqual("You have 10 new messages (2 unread)", actual);...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
testTranslationWithCountOptionAndMultiplePlaceholders: function() { with(this) { actual = I18n.translate("unread", {unread: 5, count: 1}); assertEqual("You have 1 new message (5 unread)", actual); actual = I18n.translate("unread", {unread: 2, count: 10}); assertEqual("You have 10 new messages (2 unread)", actual);...
4820 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/4820/5b0f24fc3155382ac91e2f68c1b35dd605eff726/i18n-test.js/buggy/test/i18n-test.js
area:[1,"<map>","</map>"],_default:[0,"",""]};O.optgroup=O.option;O.tbody=O.tfoot=O.colgroup=O.caption=O.thead;O.th=O.td;if(!c.support.htmlSerialize)O._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof ...
true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:...
area:[1,"<map>","</map>"],_default:[0,"",""]};O.optgroup=O.option;O.tbody=O.tfoot=O.colgroup=O.caption=O.thead;O.th=O.td;if(!c.support.htmlSerialize)O._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof ...
2459 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2459/224f99709ae7b631dc0e80310148eb2c54d2198a/jquery.js/clean/default_www/frontend/core/js/jquery/jquery.js
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","...
"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};P...
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","...
3959 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/3959/6ffc2de1d5816f49b1cdf002161144b28f2dc6e5/jquery.js/clean/javascript/jquery.js
col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(funct...
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","...
col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(funct...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/e67dc72e11289d294cc6b462fc98149983bd62f4/jquery.js/clean/wp-includes/js/jquery/jquery.js
if ( typeof text != "object" && text != null )
if ( jQuery.isFunction(text) ) { return this.each(function(i) { var self = jQuery(this); self.text( text.call(this, i, self.text()) ); }); } if ( typeof text !== "object" && text !== undefined ) {
text: function( text ) { if ( typeof text != "object" && text != null ) return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) ); var ret = ""; jQuery.each( text || this, function(){ jQuery.each( this.childNodes, function(){ if ( this.nodeType != 8 ) ret += this...
7481 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/7481/dab47d32976aaaf622fe19a0f6372d9c7d38a3b0/jquery-latest.js/buggy/public/javascripts/jquery-latest.js
var ret = ""; jQuery.each( text || this, function(){ jQuery.each( this.childNodes, function(){ if ( this.nodeType != 8 ) ret += this.nodeType != 1 ? this.nodeValue : jQuery.fn.text( [ this ] ); }); }); return ret;
return jQuery.text( this );
text: function( text ) { if ( typeof text != "object" && text != null ) return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) ); var ret = ""; jQuery.each( text || this, function(){ jQuery.each( this.childNodes, function(){ if ( this.nodeType != 8 ) ret += this...
7481 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/7481/dab47d32976aaaf622fe19a0f6372d9c7d38a3b0/jquery-latest.js/buggy/public/javascripts/jquery-latest.js
_default:[0,"",""]};y.optgroup=y.option;y.tbody=y.tfoot=y.colgroup=y.caption=y.thead;y.th=y.td;if(!d.support.htmlSerialize)y._default=[1,"div<div>","</div>"];d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var e=d(this);return e.text(a.call(this,b,e.text()))});if(typeof a!=="object"&&a!==v...
text: function(a){return "text"==a.type;},
_default:[0,"",""]};y.optgroup=y.option;y.tbody=y.tfoot=y.colgroup=y.caption=y.thead;y.th=y.td;if(!d.support.htmlSerialize)y._default=[1,"div<div>","</div>"];d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var e=d(this);return e.text(a.call(this,b,e.text()))});if(typeof a!=="object"&&a!==v...
5677 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5677/bb76d586bec69eabec79913009e9ba30d248e123/jquery.min.js/clean/src/web/skeleton/jquery.min.js
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","...
true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,j,o){return!!l(o[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:...
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/8e2f21f44411204c60060f830cb1a800533462d2/jquery.js/clean/wp-includes/js/jquery/jquery.js
(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&...
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","...
(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&...
8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/4120b09b68ebe356eaf79e35f7e2d6ee441dee08/jquery.js/clean/js/jquery.js
return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,...
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","...
return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,...
8560 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8560/4d748e5cbfcbd91691b089e42cffdf43918e6201/jquery.min.js/buggy/web/javascript/jquery/jquery.min.js
text: function(elem){ return "text" === elem.type; },
"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};P...
text: function(elem){ return "text" === elem.type; },
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/337f8a7f8f1bd9e61727ac292aa76724b4cf7a46/jquery.js/clean/wp-includes/js/jquery/jquery.js
text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g...
col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(funct...
text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/59fd2fb902fce80768d38770b0d96a19623d08d2/jquery.js/buggy/wp-includes/js/jquery/jquery.js
(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&...
legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};G.optgroup=G.option;G.tbody=G.tfoot=G.colgrou...
(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/e7ae3f3a40051447a962c694d60d04cd24452918/jquery.js/clean/wp-includes/js/jquery/jquery.js
(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&...
col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(funct...
(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&...
2459 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2459/dc03aa7fb2043bfce0a64ba716d55c8d7489daea/jquery.js/buggy/default_www/backend/core/js/jquery/jquery.js
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","...
area:[1,"<map>","</map>"],_default:[0,"",""]};O.optgroup=O.option;O.tbody=O.tfoot=O.colgroup=O.caption=O.thead;O.th=O.td;if(!c.support.htmlSerialize)O._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof ...
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","...
8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/debb161f7671ff5bddc8def2221db94ff111ff1b/jquery.js/clean/js/jquery.js
area:[1,"<map>","</map>"],_default:[0,"",""]};O.optgroup=O.option;O.tbody=O.tfoot=O.colgroup=O.caption=O.thead;O.th=O.td;if(!c.support.htmlSerialize)O._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof ...
"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};P...
area:[1,"<map>","</map>"],_default:[0,"",""]};O.optgroup=O.option;O.tbody=O.tfoot=O.colgroup=O.caption=O.thead;O.th=O.td;if(!c.support.htmlSerialize)O._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof ...
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
var p=null,q=null,r=[],s=o;while(s){if(s.type==1){if(!u.lastElement)u.lastElement=s;var t=s.getName();if(c&&s.$.scopeName!='HTML')t=s.$.scopeName.toLowerCase()+':'+t;if(!q){if(!p&&l[t])p=s;if(m[t])if(!p&&t=='div'&&!n(s))p=s;else q=s;}r.push(s);if(t=='body')break;}s=s.getParent();}u.block=p;u.blockLimit=q;u.elements=r;}...
},onAttribute:function(q,r,s){var t=this._.attributes[r];if(t){var u=t.filter(s,q,this);if(u===false)return false;if(typeof u!='undefined')return u;}return s;}}});function l(q,r){for(var s=0;q&&s<r.length;s++){var t=r[s];q=q.replace(t[0],t[1]);}return q;};function m(q,r,s){if(typeof r=='function')r=[r];var t,u,v=q.leng...
var p=null,q=null,r=[],s=o;while(s){if(s.type==1){if(!u.lastElement)u.lastElement=s;var t=s.getName();if(c&&s.$.scopeName!='HTML')t=s.$.scopeName.toLowerCase()+':'+t;if(!q){if(!p&&l[t])p=s;if(m[t])if(!p&&t=='div'&&!n(s))p=s;else q=s;}r.push(s);if(t=='body')break;}s=s.getParent();}u.block=p;u.blockLimit=q;u.elements=r;}...
8656 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8656/debb161f7671ff5bddc8def2221db94ff111ff1b/ckeditor.js/buggy/ckeditor/ckeditor.js
var obj = new SFNode('Transform2D'); obj.children[0] = new SFNode('Shape'); obj.children[0].appearance = new SFNode('Appearance'); obj.children[0].appearance.material = new SFNode('Material2D'); obj.children[0].appearance.material.filled = TRUE; obj.children[0].appearance.material.emissiveColor = new SFColor(0, 0, 0); ...
var obj = new SFNode('Transform2D'); obj.children[0] = new SFNode('Shape'); obj.children[0].appearance = new SFNode('Appearance'); obj.children[0].appearance.material = new SFNode('Material2D'); obj.children[0].appearance.material.filled = TRUE; obj.children[0].appearance.material.emissiveColor = new SFColor(0, 0, 0); ...
function text_label(label, justify){ var obj = new SFNode('Transform2D'); obj.children[0] = new SFNode('Shape'); obj.children[0].appearance = new SFNode('Appearance'); obj.children[0].appearance.material = new SFNode('Material2D'); obj.children[0].appearance.material.filled = TRUE; obj.children[0].app...
5629 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5629/065749275af591a8e9dae438d9ec67122549b57c/gui.js/clean/gui/gui.js
var obj = new SFNode('Transform2D'); obj.children[0] = rectangle(); obj.children[0].set_color(0.7, 0.7, 0.8);
var obj = new SFNode('Transform2D'); obj.children[0] = rectangle(); obj.children[0].set_color(0.7, 0.7, 0.8);
function text_rect(label){ var obj = new SFNode('Transform2D'); obj.children[0] = rectangle(); obj.children[0].set_color(0.7, 0.7, 0.8); obj.children[1] = new SFNode('Shape'); obj.children[1].appearance = new SFNode('Appearance'); obj.children[1].appearance.material = new SFNode('Material2D'); obj.children[1].ap...
5629 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5629/065749275af591a8e9dae438d9ec67122549b57c/gui.js/clean/gui/gui.js
obj.children[1] = new SFNode('Shape'); obj.children[1].appearance = new SFNode('Appearance'); obj.children[1].appearance.material = new SFNode('Material2D'); obj.children[1].appearance.material.filled = TRUE; obj.children[1].appearance.material.emissiveColor = new SFColor(0, 0, 0); obj.children[1].geometry = new SFNode...
obj.children[1] = new SFNode('Shape'); obj.children[1].appearance = new SFNode('Appearance'); obj.children[1].appearance.material = new SFNode('Material2D'); obj.children[1].appearance.material.filled = TRUE; obj.children[1].appearance.material.emissiveColor = new SFColor(0, 0, 0); obj.children[1].geometry = new SFNode...
function text_rect(label){ var obj = new SFNode('Transform2D'); obj.children[0] = rectangle(); obj.children[0].set_color(0.7, 0.7, 0.8); obj.children[1] = new SFNode('Shape'); obj.children[1].appearance = new SFNode('Appearance'); obj.children[1].appearance.material = new SFNode('Material2D'); obj.children[1].ap...
5629 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5629/065749275af591a8e9dae438d9ec67122549b57c/gui.js/clean/gui/gui.js
obj.set_size = function(w, h) { this.children[0].set_size(w, h); };
obj.set_size = function(w, h) { this.children[0].set_size(w, h); };
function text_rect(label){ var obj = new SFNode('Transform2D'); obj.children[0] = rectangle(); obj.children[0].set_color(0.7, 0.7, 0.8); obj.children[1] = new SFNode('Shape'); obj.children[1].appearance = new SFNode('Appearance'); obj.children[1].appearance.material = new SFNode('Material2D'); obj.children[1].ap...
5629 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5629/065749275af591a8e9dae438d9ec67122549b57c/gui.js/clean/gui/gui.js
obj.over = false; obj.on_over = function(value) { this.children[0].set_color(0.7, value ? 0.5 : 0.7, 0.8); this.over = value; }; Browser.addRoute(obj.children[2], 'isOver', obj, obj.on_over);
obj.over = false; obj.on_over = function(value) { this.children[0].set_color(0.7, value ? 0.5 : 0.7, 0.8); this.over = value; }; Browser.addRoute(obj.children[2], 'isOver', obj, obj.on_over);
function text_rect(label){ var obj = new SFNode('Transform2D'); obj.children[0] = rectangle(); obj.children[0].set_color(0.7, 0.7, 0.8); obj.children[1] = new SFNode('Shape'); obj.children[1].appearance = new SFNode('Appearance'); obj.children[1].appearance.material = new SFNode('Material2D'); obj.children[1].ap...
5629 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5629/065749275af591a8e9dae438d9ec67122549b57c/gui.js/clean/gui/gui.js
obj.down = false; obj.button_click = null; obj.on_active = function(value) { if (value) { this.down = true; } else { if (this.down && this.over && this.button_click) this.button_click(); this.down = false; } }; Browser.addRoute(obj.children[2], 'isActive', obj, obj.on_active);
obj.down = false; obj.button_click = null; obj.on_active = function(value) { if (value) { this.down = true; } else { if (this.down && this.over && this.button_click) this.button_click(); this.down = false; } }; Browser.addRoute(obj.children[2], 'isActive', obj, obj.on_active);
function text_rect(label){ var obj = new SFNode('Transform2D'); obj.children[0] = rectangle(); obj.children[0].set_color(0.7, 0.7, 0.8); obj.children[1] = new SFNode('Shape'); obj.children[1].appearance = new SFNode('Appearance'); obj.children[1].appearance.material = new SFNode('Material2D'); obj.children[1].ap...
5629 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5629/065749275af591a8e9dae438d9ec67122549b57c/gui.js/clean/gui/gui.js
return obj;
return obj;
function text_rect(label){ var obj = new SFNode('Transform2D'); obj.children[0] = rectangle(); obj.children[0].set_color(0.7, 0.7, 0.8); obj.children[1] = new SFNode('Shape'); obj.children[1].appearance = new SFNode('Appearance'); obj.children[1].appearance.material = new SFNode('Material2D'); obj.children[1].ap...
5629 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/5629/065749275af591a8e9dae438d9ec67122549b57c/gui.js/clean/gui/gui.js
textarea: function(element) { return [element.name, element.value];
textarea: function(element, value) { if (Object.isUndefined(value)) return element.value; else element.value = value;
textarea: function(element) { return [element.name, element.value]; },
6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/prototype.js/clean/web/src/main/webapp/js/prototype.js
console.log("textareas_message_handler: "+JSON.stringify(msg));
function textareas_message_handler(msg, port) { console.log("textareas_message_handler: "+JSON.stringify(msg)); // What was the bidding? var cmd = msg.msg; if (cmd == "find_edit") { findActiveTextArea(); } else if (cmd == "update") { var id = msg.id; var content = msg.text; updateTextArea(id, content); ...
7431 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/7431/79d30fd7575b91d5f00b454f2df1208f85a8d8c4/textareas.js/clean/textareas.js
this.updateEvents = function() { updateEvent(this.text, 'focus', this.focusListener); updateEvent(this.text, 'dblclick', this.dblclickListener); if (this.image) updateEvent(this.image, 'click', this.clickListener); }
function textAreaTracker(text){ this.edit_id = "eta_"+page_edit_id; page_edit_id = page_edit_id + 1; this.text = text; this.text.setAttribute("edit_id", this.edit_id); // The text areas event handlers we attach this.focusListener = setFocused; this.dblclickListener = function(){sendTextArea(this);}...
7431 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/7431/9001a4b83b9338d1ed6420768f18edc225d8301b/textareas.js/buggy/textareas.js
this.text.addEventListener('keydown', this.keydownListener);
function textAreaTracker(text){ this.edit_id = "eta_"+page_edit_id; page_edit_id = page_edit_id + 1; this.text = text; this.text.setAttribute("edit_id", this.edit_id); // The text areas event handlers we attach this.focusListener = setFocused; this.dblclickListener = function(){sendTextArea(this);}...
7431 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/7431/10846032d8d4fd588cf1d0facaad0a0dad9b024b/textareas.js/clean/textareas.js
with ({a:15}) {
with ({a:15}) {
function the_full_monty(a, b) { var x = 3; var y = 4; eval('var i = 5'); eval('var j = 6'); function f(a, b) { var x = 9; var y = 10; eval('var i = 11'); eval('var j = 12'); with ({j:13}){ return function() { var x = 14; with ({a:15}) { with ({b:16}) { de...
262 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/262/5c7fd0e59b9ce05c08df3469b8a30540ed3437e0/debug-scopes.js/clean/test/mjsunit/debug-scopes.js
var ThemeViewer;(function(a){ThemeViewer=function(b){function d(){var f=a("#filters :checked").length;var g=a("#filter-click").text();if(g.indexOf("(")!=-1){g=g.substr(0,g.indexOf("("))}if(f==0){a("#filter-click").text(g)}else{a("#filter-click").text(g+" ("+f+")")}}function e(){a("#filter-click, #mini-filter-click").un...
var ThemeViewer;(function(a){ThemeViewer=function(b){function d(){var f=a("#filter-box :checked").length;var g=a("#filter-click").text();if(g.indexOf("(")!=-1){g=g.substr(0,g.indexOf("("))}if(f==0){a("#filter-click").text(g)}else{a("#filter-click").text(g+" ("+f+")")}}function e(){a("#filter-click, #mini-filter-click")...
var ThemeViewer;(function(a){ThemeViewer=function(b){function d(){var f=a("#filters :checked").length;var g=a("#filter-click").text();if(g.indexOf("(")!=-1){g=g.substr(0,g.indexOf("("))}if(f==0){a("#filter-click").text(g)}else{a("#filter-click").text(g+" ("+f+")")}}function e(){a("#filter-click, #mini-filter-click").un...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/d07633a4b75042f05cfca4e0c0fb53dfb1bfa9a8/theme.js/clean/wp-admin/js/theme.js
var count = $( '#filters :checked' ).length;
var count = $( '#filter-box :checked' ).length;
ThemeViewer = function( args ) { function filter_count() { var count = $( '#filters :checked' ).length; var text = $( '#filter-click' ).text(); if ( text.indexOf( '(' ) != -1 ) text = text.substr( 0, text.indexOf( '(' ) ); if ( count == 0 ) $( '#filter-click' ).text( text ); else $( '#filter-click...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/d07633a4b75042f05cfca4e0c0fb53dfb1bfa9a8/theme.dev.js/clean/wp-admin/js/theme.dev.js
$( '#filters' ).slideToggle();
$( '#filter-box' ).slideToggle();
ThemeViewer = function( args ) { function filter_count() { var count = $( '#filters :checked' ).length; var text = $( '#filter-click' ).text(); if ( text.indexOf( '(' ) != -1 ) text = text.substr( 0, text.indexOf( '(' ) ); if ( count == 0 ) $( '#filter-click' ).text( text ); else $( '#filter-click...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/d07633a4b75042f05cfca4e0c0fb53dfb1bfa9a8/theme.dev.js/clean/wp-admin/js/theme.dev.js
$( '#filters :checkbox' ).unbind( 'click' ).click( function() {
$( '#filter-box :checkbox' ).unbind( 'click' ).click( function() {
ThemeViewer = function( args ) { function filter_count() { var count = $( '#filters :checked' ).length; var text = $( '#filter-click' ).text(); if ( text.indexOf( '(' ) != -1 ) text = text.substr( 0, text.indexOf( '(' ) ); if ( count == 0 ) $( '#filter-click' ).text( text ); else $( '#filter-click...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/d07633a4b75042f05cfca4e0c0fb53dfb1bfa9a8/theme.dev.js/clean/wp-admin/js/theme.dev.js
}); $('#filter-box :submit').unbind( 'click' ).click(function() { var features = []; $('#filter-box :checked').each(function() { features.push($(this).val()); }); listTable.update_rows({'features': features}, true, function() { $( '#filter-click' ).toggleClass( 'current' ); $( '#filter-box' ).slideToggle(); $( '#curr...
ThemeViewer = function( args ) { function filter_count() { var count = $( '#filters :checked' ).length; var text = $( '#filter-click' ).text(); if ( text.indexOf( '(' ) != -1 ) text = text.substr( 0, text.indexOf( '(' ) ); if ( count == 0 ) $( '#filter-click' ).text( text ); else $( '#filter-click...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/d07633a4b75042f05cfca4e0c0fb53dfb1bfa9a8/theme.dev.js/clean/wp-admin/js/theme.dev.js
if (str.endsWith(", The")) return "The " + str.substring(0, str.length-5); if (str.endsWith(", A")) return "A " + str.substring(0, str.length-3); return str; };
if (str.endsWith(", The")) return "The " + str.substring(0, str.length-5); if (str.endsWith(", A")) return "A " + str.substring(0, str.length-3); return str; };
this.theReverser = function(str) { if (str.endsWith(", The")) return "The " + str.substring(0, str.length-5); if (str.endsWith(", A")) return "A " + str.substring(0, str.length-3); return str; };
2684 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/2684/f5a9f7ef8d556b3359fab3994dac1ddd87440bb3/abc_tokenizer.js/clean/abc_tokenizer.js
for (var i = 0; i < arguments.length; i++) {
for (var i = 0, length = arguments.length; i < length; i++) {
these: function() { var returnValue; for (var i = 0; i < arguments.length; i++) { var lambda = arguments[i]; try { returnValue = lambda(); break; } catch (e) {} } return returnValue; }
6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/prototype.js/clean/web/src/main/webapp/js/prototype.js
} catch (e) {}
} catch (e) { }
these: function() { var returnValue; for (var i = 0; i < arguments.length; i++) { var lambda = arguments[i]; try { returnValue = lambda(); break; } catch (e) {} } return returnValue; }
6136 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/6136/5543d40f16e51501a8d1e97b08f3ff550d8f9214/prototype.js/clean/web/src/main/webapp/js/prototype.js
var thickDims,tbWidth,tbHeight;jQuery(document).ready(function(a){thickDims=function(){var f=a("#TB_window"),d=a(window).height(),b=a(window).width(),c,e;c=(tbWidth&&tbWidth<b-90)?tbWidth:b-90;e=(tbHeight&&tbHeight<d-60)?tbHeight:d-60;if(f.size()){f.width(c).height(e);a("#TB_iframeContent").width(c).height(e-27);f.css(...
var thickDims,tbWidth,tbHeight;jQuery(document).ready(function($){thickDims=function(){var tbWindow=$("#TB_window"),H=$(window).height(),W=$(window).width(),w,h;w=(tbWidth&&tbWidth<W-90)?tbWidth:W-90;h=(tbHeight&&tbHeight<H-60)?tbHeight:H-60;if(tbWindow.size()){tbWindow.width(w).height(h);$("#TB_iframeContent").width(w...
var thickDims,tbWidth,tbHeight;jQuery(document).ready(function(a){thickDims=function(){var f=a("#TB_window"),d=a(window).height(),b=a(window).width(),c,e;c=(tbWidth&&tbWidth<b-90)?tbWidth:b-90;e=(tbHeight&&tbHeight<d-60)?tbHeight:d-60;if(f.size()){f.width(c).height(e);a("#TB_iframeContent").width(c).height(e-27);f.css(...
10574 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/10574/b2833ded1021604acea8297098390852c6b8531a/theme-preview.js/clean/wp-admin/js/theme-preview.js
console.error(msg+" at D:"+this.stack.length+" S:"+this.currentContext.step);
throwerror:function(msg) { $clear(this.timerid); console.error(msg+" at D:"+this.stack.length+" S:"+this.currentContext.step); this.whendone(false,msg); throw "NS terminating"; //need to throw in order not to return to calling function }.protect(),
782 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/782/994b8cc6dead5e342e6538a105b654f1cb246f4f/ns.js/clean/js/ns.js
if (config.tabbrowser.mTabs.length > 1) config.tabbrowser.removeTab(tab);
if (config.tabbrowser.mTabs.length > 1 && !tab.hasAttribute("first-tab")) config.tabbrowser.closeTab(tab);
Thunderbird: function (tab) { if (config.tabbrowser.mTabs.length > 1) config.tabbrowser.removeTab(tab); else liberator.beep(); },
8883 /local1/tlutelli/issta_data/temp/all_js/javascript/2010_temp/2010/8883/b1036015268f5e12714336fb6fe486707297a2e7/tabs.js/buggy/common/content/tabs.js