From: Abel Rios Date: Tue, 13 May 2014 13:42:13 +0000 (-0500) Subject: Changing cached split to use a Regexp X-Git-Tag: v5.2.3~29^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F5147%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Changing cached split to use a Regexp --- diff --git a/js/foundation/foundation.interchange.js b/js/foundation/foundation.interchange.js index a06560a66..c9fb7f59f 100644 --- a/js/foundation/foundation.interchange.js +++ b/js/foundation/foundation.interchange.js @@ -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]);