%w"" syntax is native Ruby, not Rails

This commit is contained in:
George Millo
2015-03-15 14:48:36 +01:00
parent 475ee0160b
commit 293f41d087
+1 -1
View File
@@ -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)->