From 293f41d087d5dfbe0a2c6383495f5097cd88d07e Mon Sep 17 00:00:00 2001 From: George Millo Date: Sun, 15 Mar 2015 14:48:36 +0100 Subject: [PATCH] `%w""` syntax is native Ruby, not Rails --- common/script/index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/script/index.coffee b/common/script/index.coffee index 03684dbb46..4f90b9692b 100644 --- a/common/script/index.coffee +++ b/common/script/index.coffee @@ -6,7 +6,7 @@ api = module.exports = {} api.i18n = i18n -# little helper for large arrays of strings. %w"this that another" equivalent from Rails, I really miss that function +# little helper for large arrays of strings. %w"this that another" equivalent from Ruby, I really miss that function $w = api.$w = (s)->s.split(' ') api.dotSet = (obj,path,val)->