Revision: 3770
Author: mikesamuel
Date: Wed Sep 30 16:43:34 2009
Log: Clarified that the minifier needs to not touch local variable references when inlining expressions from the user agent context JSON.
http://code.google.com/p/google-caja/source/detail?r=3770

Modified:
 /wiki/UserAgentContext.wiki

=======================================
--- /wiki/UserAgentContext.wiki Wed Sep 23 13:25:26 2009
+++ /wiki/UserAgentContext.wiki Wed Sep 30 16:43:34 2009
@@ -77,8 +77,8 @@

 ==Code Eliminating Minifier==
 Next, we define a rewriter that reads the JSON file, and finds
-expressions in conditions that match those.  We then inline any
-assertions or their negations, constant fold over comparison
+expressions in conditions that match those and that contain non-global references. +We then inline any assertions or their negations, and constant fold over comparison
 and logic operators.

Finally the rewriter eliminates code paths that are inside conditionals or loops

Reply via email to