]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Changing cached split to use a Regexp 5147/head
authorAbel Rios <abel@arkleus.com>
Tue, 13 May 2014 13:42:13 +0000 (08:42 -0500)
committerAbel Rios <abel@arkleus.com>
Tue, 13 May 2014 13:42:13 +0000 (08:42 -0500)
js/foundation/foundation.interchange.js

index a06560a6659d6e17e520d54ea7015cf2683eec07..c9fb7f59fb3f00a67161af0ec3d4e2d77d72098e 100644 (file)
           var split = raw_arr[i].split(/\((.*?)(\))$/);
 
           if (split.length > 1) {
-            var cached_split = split[0].split(','),
+            var cached_split = split[0].split(/\, /),
                 params = this.parse_params(cached_split[0],
                   cached_split[1], split[1]);