I'm running into a problem building Timeline. Hope someone here can help
troubleshoot.
I have a local copy of the Timeline trunk, plus the latest ANT (1.9.1) and
the latest JDK (1.7.0-25).
As far as I can tell, the problem looks like it originated in the minifier.
During the compile_ajax step, a large number of problems are reported in
simile-ajax-bundle.js.
These seem to be a result of a literal interpretation of "\n" strings in
the original source code.
For example, the unminified debug.js contains the following (ll. 79-81)
for (n in o) {
s += indent2 + n + ": " +
SimileAjax.Debug._objectToString(o[n], indent2) + "\n";
}
The minified debug.js shows the code like this:
for(var E=0;
E<D.length;
E++){B+=SimileAjax.Debug._objectToString(D[E],C)+"
";
}
The reported error is "50: Unterminated string literal".
It's looking like jsmin is replacing the newline with an actual newline
rather than a "\n".
Beyond that, I don't quite know what to do next. I can't afford to spend
time on fixing jsmin.
Any suggestions or fixes will be much appreciated.
TIA
Josh
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/groups/opt_out.