Skip to content

Commit

Permalink
Changing cached split to use a Regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
Abel Rios committed May 13, 2014
1 parent 0d9e64a commit 8c714a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/foundation/foundation.interchange.js
Expand Up @@ -259,7 +259,7 @@
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]);

Expand Down

0 comments on commit 8c714a3

Please sign in to comment.