Commit bb61f5c2 by Timothée Peignier

document that javascript is wrapped in a anonymous function. close #73

parent 75e27a05
......@@ -194,3 +194,14 @@ Rewriting CSS urls
If source CSS contain a relative URL (i.e. relative to current file),
those URL will be converted to full relative path.
Wrapped javascript output
=========================
All javascript output is wrapped in an anonymous function : ::
(function(){ ... })();
This safety wrapper, make it difficult to pollute the global namespace by accident and improve performance.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment