diff options
Diffstat (limited to 'client/lib/utils.js')
-rw-r--r-- | client/lib/utils.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/client/lib/utils.js b/client/lib/utils.js index 7c117d4b..b9954212 100644 --- a/client/lib/utils.js +++ b/client/lib/utils.js @@ -1,23 +1,4 @@ Utils = { - error: function(err) { - Session.set('error', (err && err.message || false)); - }, - - // scroll - Scroll: function(selector) { - var $el = $(selector); - return { - top: function(px, add) { - var t = $el.scrollTop(); - $el.animate({ scrollTop: (add ? (t + px) : px) }); - }, - left: function(px, add) { - var l = $el.scrollLeft(); - $el.animate({ scrollLeft: (add ? (l + px) : px) }); - } - }; - }, - // XXX We should remove these two methods goBoardId: function(_id) { var board = Boards.findOne(_id); |