From a2aec8d20db49282631fbb27f459a97aef33f7ea Mon Sep 17 00:00:00 2001 From: piecedigital Date: Sun, 8 Mar 2015 23:20:23 -0400 Subject: [PATCH 1/2] initial commit --- seed_data/bonfires.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed_data/bonfires.json b/seed_data/bonfires.json index 8b30d40bc3..c298c97db7 100644 --- a/seed_data/bonfires.json +++ b/seed_data/bonfires.json @@ -621,7 +621,7 @@ "name": "Cash Register", "difficulty": "4.02", "description": [ - "Design a cash register drawer function that accepts purchase price as the first argument, payment as the second argument, and cash-in-drawer (cid) as the third argument. cid is a 2d array listing available currency. Return the string \"Insufficient Funds\" if change due is less than the cash-in-drawer. Return the string \"Closed\" if cash-in-drawer is equal to the change due. Otherwise, return change in coin and bills, sorted in highest to lowest order." + "Design a cash register drawer function that accepts purchase price as the first argument, payment as the second argument, and cash-in-drawer (cid) as the third argument.", "cid is a 2d array listing available currency.", "Return the string \"Insufficient Funds\" if cash-in-drawer is less than the change due. Return the string \"Closed\" if cash-in-drawer is equal to the change due.", "Otherwise, return change in coin and bills, sorted in highest to lowest order." ], "challengeSeed": "function drawer(price, cash, cid) {\n var change;\r\n // Here is your change, ma'am.\r\n return change;\r\n}\r\n\r\n// Example cash-in-drawer array:\r\n// [['PENNY', 1.01],\r\n// ['NICKEL', 2.05],\r\n// ['DIME', 3.10],\r\n// ['QUARTER', 4.25],\r\n// ['ONE', 90.00],\r\n// ['FIVE', 55.00],\r\n// ['TEN', 20.00],\r\n// ['TWENTY', 60.00],\r\n// ['ONE HUNDRED', 100.00]]\n\ndrawer(19.50, 20.00, [['PENNY', 1.01], ['NICKEL', 2.05], ['DIME', 3.10], ['QUARTER', 4.25], ['ONE', 90.00], ['FIVE', 55.00], ['TEN', 20.00], ['TWENTY', 60.00], ['ONE HUNDRED', 100.00]]);", "tests": [ From 6f18936ee972e9458af54aff4e71a017a0f4f178 Mon Sep 17 00:00:00 2001 From: jameskopacz Date: Mon, 9 Mar 2015 16:18:12 -0500 Subject: [PATCH 2/2] Pointer on upvote button and reply button mouseover --- public/css/main.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/css/main.less b/public/css/main.less index 37fc8a39ce..4dac6d3dc6 100644 --- a/public/css/main.less +++ b/public/css/main.less @@ -797,6 +797,10 @@ iframe.iphone { text-align: center; } +.big-ion-up-arrow #upvote, #reply-to-main-post { + cursor: pointer; +} + .story-up-votes { padding-top: 0px; margin-left: -5px;