diff --git a/js/TexttestFixture.html b/js/TexttestFixture.html new file mode 100644 index 00000000..cf453495 --- /dev/null +++ b/js/TexttestFixture.html @@ -0,0 +1,54 @@ + + + + +Gilded Rose Texttest Fixture + + + + + + + + + + + diff --git a/js/src/gilded_rose.js b/js/src/gilded_rose.js index c6517b3c..4d28da89 100644 --- a/js/src/gilded_rose.js +++ b/js/src/gilded_rose.js @@ -6,13 +6,6 @@ function Item(name, sell_in, quality) { var items = [] -items.push(new Item('+5 Dexterity Vest', 10, 20)); -items.push(new Item('Aged Brie', 2, 0)); -items.push(new Item('Elixir of the Mongoose', 5, 7)); -items.push(new Item('Sulfuras, Hand of Ragnaros', 0, 80)); -items.push(new Item('Backstage passes to a TAFKAL80ETC concert', 15, 20)); -items.push(new Item('Conjured Mana Cake', 3, 6)); - function update_quality() { for (var i = 0; i < items.length; i++) { if (items[i].name != 'Aged Brie' && items[i].name != 'Backstage passes to a TAFKAL80ETC concert') {