From 2f57fe3c67bd04a413fdc63b74eb2c98f0864731 Mon Sep 17 00:00:00 2001 From: "john.j.camilleri" Date: Fri, 25 May 2012 09:49:12 +0000 Subject: [PATCH] RGL Browser: Improved UI, history support --- doc/browse/index.html | 8 +- doc/browse/jquery.history.min.js | 15 +++ doc/browse/script.js | 154 ++++++++++++++++++------------- doc/browse/style.css | 20 ++-- 4 files changed, 117 insertions(+), 80 deletions(-) create mode 100644 doc/browse/jquery.history.min.js diff --git a/doc/browse/index.html b/doc/browse/index.html index 2d8dbfb68..ea0b0dadc 100644 --- a/doc/browse/index.html +++ b/doc/browse/index.html @@ -43,7 +43,8 @@

       
-
+
+

Understanding the scope information

The scope information shown by this tool is basically the output of running GF with the --tags flag. This lists all the functions visible in the scope of a module, one per line. Each line can have two possible forms:

@@ -80,17 +81,18 @@

Known issues and To-do

  • Some way of browsing just the API
  • -
  • Better visual cues for functions in scope
  • The page sometimes stalls when handling large files (in particular the dictionary modules)
+

+ diff --git a/doc/browse/jquery.history.min.js b/doc/browse/jquery.history.min.js new file mode 100644 index 000000000..a1a300bf0 --- /dev/null +++ b/doc/browse/jquery.history.min.js @@ -0,0 +1,15 @@ +/* + MIT License {@link http://creativecommons.org/licenses/MIT/} + MIT License {@link http://creativecommons.org/licenses/MIT/} +*/ +"undefined"===typeof window.console&&(window.console={}); +"undefined"===typeof window.console.emulated&&("function"===typeof window.console.log?window.console.hasLog=!0:("undefined"===typeof window.console.log&&(window.console.log=function(){}),window.console.hasLog=!1),"function"===typeof window.console.debug?window.console.hasDebug=!0:("undefined"===typeof window.console.debug&&(window.console.debug=!window.console.hasLog?function(){}:function(){for(var b=["console.debug:"],a=0;a=8?e=true:a.webkit&&d>=528?e=true:a.mozilla?c>1?e=true:c===1&&(g>9?e=true:g===9&&f>=2&&(e=true)):a.opera&&(c>10? +e=true:c===10&&g>=60&&(e=true));return e},hashchangeLoader:function(){var a=b.History;if(a.nativeSupport())a.getHash()&&a.$window.trigger("hashchange");else{var c;if(b.browser.msie){a.$iframe=b('