Temporary fix for gif/UTF 8 issue.

Reviewed by me.
This commit is contained in:
Francisco Tolmasky committed 2009-05-19 04:01:30 -07:00
1 parent be72a3ff47
commit ad03ab01e2
1 file changed
+4
+4
View File
@@ -72,6 +72,10 @@ function gen(/*va_args*/)
key = nil,
keyEnumerator = [configuration keyEnumerator];
// FIXME: HACK
if (path.indexOf('.gif') !== -1)
continue;
while (key = [keyEnumerator nextObject])
contents = contents.replace(new RegExp("__" + key + "__", 'g'), [configuration valueForKey:key]);