diff --git a/src/controllers/user.js b/src/controllers/user.js index f2892e06a8..3a8b302f97 100644 --- a/src/controllers/user.js +++ b/src/controllers/user.js @@ -167,17 +167,18 @@ function deleteTask(user, task) { */ -/* +/** This is called form deprecated.coffee's score function, and the req.headers are setup properly to handle the login Export it also so we can call it from deprecated.coffee */ - - api.scoreTask = function(req, res, next) { + + // FIXME this is all uglified from coffeescript compile, clean this up + var delta, direction, existing, id, task, user, _ref, _ref1, _ref2, _ref3, _ref4; _ref = req.params, id = _ref.id, direction = _ref.direction; - /* Send error responses for improper API call*/ + // Send error responses for improper API call if (!id) { return res.json(500, { err: ':id required' diff --git a/views/shared/modals/new-stuff.jade b/views/shared/modals/new-stuff.jade index 106b2d4f69..2fd2bdd8d3 100644 --- a/views/shared/modals/new-stuff.jade +++ b/views/shared/modals/new-stuff.jade @@ -14,10 +14,13 @@ div(modal='user.flags.rewrite !== false') .popover-content p. Hello my Habiteers! I have some amazing news to share with you, it's huge! - Has Habit ever crashed for you? (Joke). Well we re-wrote the website from the ground up + Has Habit ever crashed for you? (Joke). Well we re-wrote the website from the ground up to conquor those critical bugs once and for all (more from Tyler in a bit). If you haven't seen me for a while (due to a bug in the old site), be sure to catch up with me on the right side of the screen for any missed news. Importantly: - Android & iOS Apps are out! - They're open source, so help us make them awesome. + .alert.alert-success(style='margin-bottom:5px'). + Android & iOS Apps are out! + p. + They're open source, so help us make them awesome. As for the rewrite: not all the features are ported yet. If you miss your pets, inventory, etc - check in on them at old.habitrpg.com + and tell them to hurry on over. Don't worry, you're still getting drops and streak-bonuses in the background, even if you can't see them yet. table(style='clear:both;') tr