Added table of contents
diff --git a/JavascriptRefactoring.wiki b/JavascriptRefactoring.wiki index bb17b6b..9d576c5 100644 --- a/JavascriptRefactoring.wiki +++ b/JavascriptRefactoring.wiki
@@ -3,6 +3,8 @@ *Warning*: this is a proposal, and references to code not yet pushed in the main repository. Current scripts and tools can be found on the [http://bitbucket.org/dhans/statistic-module-for-melange/ statistics GSoC branch], the following are links to provisional refactored code in [http://bitbucket.org/dhans/statistic-module-for-melange/src/tip/app/soc/content/js/melange.js melange.js] and [http://bitbucket.org/dhans/statistic-module-for-melange/src/tip/app/soc/content/js/melange.graph.js melange.graph.js] +<wiki:toc max_depth="2" /> + =Introduction= With more Javascript code being written and deployed, global namespace pollution is going to be a risk. So, we have two options: handle Java-like packages and dependencies between modules with projects like [http://code.google.com/p/jingo/ Jingo] or keep Python to handle all this stuff, just giving it the potential to handle dependencies.