From d71d1f259485b89047b8db28d4e7a34b92e33735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Thu, 26 Jun 2014 13:46:17 +0200 Subject: [PATCH] Code style fixes --- app/coffee/utils.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/coffee/utils.coffee b/app/coffee/utils.coffee index 16ff483f..9c0bcf94 100644 --- a/app/coffee/utils.coffee +++ b/app/coffee/utils.coffee @@ -43,6 +43,7 @@ mixOf = (base, mixins...) -> trim = (data, char) -> return _.str.trim(data, char) + toggleText = (element, texts) -> nextTextPosition = element.data('nextTextPosition') nextTextPosition = 0 if not nextTextPosition? or nextTextPosition >= texts.length @@ -50,6 +51,7 @@ toggleText = (element, texts) -> element.data('nextTextPosition', nextTextPosition + 1) element.text(text) + groupBy = (coll, pred) -> result = {} for item in coll @@ -61,6 +63,7 @@ groupBy = (coll, pred) -> timeout = (wait, continuation) -> return window.setTimeout(continuation, wait) + taiga = @.taiga taiga.bindOnce = bindOnce taiga.mixOf = mixOf