rango 0.2 → 0.2.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +9 -0
- data/.gitmodules +3 -0
- data/CHANGELOG +5 -0
- data/CONTRIBUTORS +1 -0
- data/Gemfile +20 -0
- data/LICENSE +1 -1
- data/README.textile +5 -4
- data/benchmarks/ab.rb +6 -0
- data/benchmarks/bm/boot.rb +20 -0
- data/{spec/rango/version_spec.rb → benchmarks/bm/callbacks.rb} +0 -0
- data/benchmarks/bm/request.rb +4 -0
- data/benchmarks/bm/routers.rb +22 -0
- data/benchmarks/bm/stack.rb +19 -0
- data/{spec/stubs/acqs/dir/lib.rb → benchmarks/bm/templates.rb} +0 -0
- data/benchmarks/helper.rb +7 -0
- data/benchmarks/stubs/merb-app/.gitignore +21 -0
- data/benchmarks/stubs/merb-app/Rakefile +35 -0
- data/benchmarks/stubs/merb-app/app/controllers/application.rb +4 -0
- data/benchmarks/stubs/merb-app/app/controllers/exceptions.rb +15 -0
- data/benchmarks/stubs/merb-app/app/helpers/global_helpers.rb +7 -0
- data/benchmarks/stubs/merb-app/app/models/user.rb +19 -0
- data/benchmarks/stubs/merb-app/app/views/exceptions/not_acceptable.html.erb +63 -0
- data/benchmarks/stubs/merb-app/app/views/exceptions/not_found.html.erb +47 -0
- data/benchmarks/stubs/merb-app/app/views/layout/application.html.erb +12 -0
- data/benchmarks/stubs/merb-app/autotest/discover.rb +4 -0
- data/benchmarks/stubs/merb-app/autotest/merb.rb +154 -0
- data/benchmarks/stubs/merb-app/autotest/merb_rspec.rb +167 -0
- data/benchmarks/stubs/merb-app/config/database.yml +33 -0
- data/benchmarks/stubs/merb-app/config/dependencies.rb +36 -0
- data/benchmarks/stubs/merb-app/config/environments/development.rb +17 -0
- data/benchmarks/stubs/merb-app/config/environments/production.rb +12 -0
- data/benchmarks/stubs/merb-app/config/environments/rake.rb +13 -0
- data/benchmarks/stubs/merb-app/config/environments/staging.rb +12 -0
- data/benchmarks/stubs/merb-app/config/environments/test.rb +14 -0
- data/benchmarks/stubs/merb-app/config/init.rb +26 -0
- data/benchmarks/stubs/merb-app/config/rack.rb +13 -0
- data/benchmarks/stubs/merb-app/config/router.rb +46 -0
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/merb_generator.rb +1364 -0
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/api_grease.js +640 -0
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/index.html.erb +37 -0
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/merb.css +252 -0
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/merb.rb +353 -0
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/merb_doc_styles.css +492 -0
- data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/prototype.js +2515 -0
- data/benchmarks/stubs/merb-app/merb/merb-auth/setup.rb +46 -0
- data/benchmarks/stubs/merb-app/merb/merb-auth/strategies.rb +13 -0
- data/benchmarks/stubs/merb-app/merb/session/session.rb +11 -0
- data/benchmarks/stubs/merb-app/public/.htaccess +17 -0
- data/benchmarks/stubs/merb-app/public/favicon.ico +0 -0
- data/benchmarks/stubs/merb-app/public/images/merb.jpg +0 -0
- data/benchmarks/stubs/merb-app/public/javascripts/application.js +1 -0
- data/benchmarks/stubs/merb-app/public/javascripts/jquery.js +19 -0
- data/benchmarks/stubs/merb-app/public/merb.fcgi +22 -0
- data/benchmarks/stubs/merb-app/public/robots.txt +5 -0
- data/benchmarks/stubs/merb-app/public/stylesheets/master.css +119 -0
- data/{spec/stubs/acqs/dir/lib_spec.rb → benchmarks/stubs/merb-app/spec/spec.opts} +0 -0
- data/benchmarks/stubs/merb-app/spec/spec_helper.rb +27 -0
- data/benchmarks/stubs/merb-app/tasks/doc.thor +151 -0
- data/benchmarks/stubs/merb-app/tasks/merb.thor/app_script.rb +33 -0
- data/benchmarks/stubs/merb-app/tasks/merb.thor/common.rb +70 -0
- data/benchmarks/stubs/merb-app/tasks/merb.thor/gem_ext.rb +127 -0
- data/benchmarks/stubs/merb-app/tasks/merb.thor/main.thor +152 -0
- data/benchmarks/stubs/merb-app/tasks/merb.thor/ops.rb +95 -0
- data/benchmarks/stubs/merb-app/tasks/merb.thor/utils.rb +42 -0
- data/benchmarks/stubs/merb-core/.gitignore +21 -0
- data/benchmarks/stubs/merb-core/Rakefile +35 -0
- data/benchmarks/stubs/merb-core/app/controllers/application.rb +4 -0
- data/benchmarks/stubs/merb-core/app/controllers/exceptions.rb +15 -0
- data/benchmarks/stubs/merb-core/app/helpers/global_helpers.rb +7 -0
- data/benchmarks/stubs/merb-core/app/views/exceptions/not_acceptable.html.erb +63 -0
- data/benchmarks/stubs/merb-core/app/views/exceptions/not_found.html.erb +47 -0
- data/benchmarks/stubs/merb-core/app/views/layout/application.html.erb +12 -0
- data/benchmarks/stubs/merb-core/autotest/discover.rb +1 -0
- data/benchmarks/stubs/merb-core/autotest/merb.rb +151 -0
- data/benchmarks/stubs/merb-core/autotest/merb_rspec.rb +167 -0
- data/benchmarks/stubs/merb-core/config/environments/development.rb +17 -0
- data/benchmarks/stubs/merb-core/config/environments/production.rb +12 -0
- data/benchmarks/stubs/merb-core/config/environments/rake.rb +13 -0
- data/benchmarks/stubs/merb-core/config/environments/staging.rb +12 -0
- data/benchmarks/stubs/merb-core/config/environments/test.rb +14 -0
- data/benchmarks/stubs/merb-core/config/init.rb +27 -0
- data/benchmarks/stubs/merb-core/config/rack.rb +13 -0
- data/benchmarks/stubs/merb-core/config/router.rb +43 -0
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/merb_generator.rb +1364 -0
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/api_grease.js +640 -0
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/index.html.erb +37 -0
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/merb.css +252 -0
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/merb.rb +353 -0
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/merb_doc_styles.css +492 -0
- data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/prototype.js +2515 -0
- data/benchmarks/stubs/merb-core/public/.htaccess +17 -0
- data/benchmarks/stubs/merb-core/public/favicon.ico +0 -0
- data/benchmarks/stubs/merb-core/public/images/merb.jpg +0 -0
- data/benchmarks/stubs/merb-core/public/javascripts/application.js +1 -0
- data/benchmarks/stubs/merb-core/public/merb.fcgi +22 -0
- data/benchmarks/stubs/merb-core/public/robots.txt +5 -0
- data/benchmarks/stubs/merb-core/public/stylesheets/master.css +119 -0
- data/{spec/stubs/acqs/lib.rb → benchmarks/stubs/merb-core/spec/spec.opts} +0 -0
- data/benchmarks/stubs/merb-core/spec/spec_helper.rb +22 -0
- data/benchmarks/stubs/merb-core/tasks/merb.thor/app_script.rb +33 -0
- data/benchmarks/stubs/merb-core/tasks/merb.thor/common.rb +70 -0
- data/benchmarks/stubs/merb-core/tasks/merb.thor/gem_ext.rb +127 -0
- data/benchmarks/stubs/merb-core/tasks/merb.thor/main.thor +152 -0
- data/benchmarks/stubs/merb-core/tasks/merb.thor/ops.rb +95 -0
- data/benchmarks/stubs/merb-core/tasks/merb.thor/utils.rb +42 -0
- data/benchmarks/stubs/merb-flat/.gitignore +21 -0
- data/benchmarks/stubs/merb-flat/README.txt +10 -0
- data/benchmarks/stubs/merb-flat/Rakefile +35 -0
- data/benchmarks/stubs/merb-flat/application.rb +17 -0
- data/benchmarks/stubs/merb-flat/config/framework.rb +9 -0
- data/benchmarks/stubs/merb-flat/config/init.rb +42 -0
- data/benchmarks/stubs/merb-flat/spec/spec_helper.rb +26 -0
- data/benchmarks/stubs/merb-flat/tasks/merb.thor/app_script.rb +33 -0
- data/benchmarks/stubs/merb-flat/tasks/merb.thor/common.rb +70 -0
- data/benchmarks/stubs/merb-flat/tasks/merb.thor/gem_ext.rb +127 -0
- data/benchmarks/stubs/merb-flat/tasks/merb.thor/main.thor +152 -0
- data/benchmarks/stubs/merb-flat/tasks/merb.thor/ops.rb +95 -0
- data/benchmarks/stubs/merb-flat/tasks/merb.thor/utils.rb +42 -0
- data/benchmarks/stubs/merb-flat/views/foo.html.erb +3 -0
- data/benchmarks/stubs/merb-very-flat/.gitignore +21 -0
- data/benchmarks/stubs/merb-very-flat/Rakefile +35 -0
- data/benchmarks/stubs/merb-very-flat/merb-very-flat.rb +61 -0
- data/benchmarks/stubs/merb-very-flat/spec/spec_helper.rb +26 -0
- data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/app_script.rb +33 -0
- data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/common.rb +70 -0
- data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/gem_ext.rb +127 -0
- data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/main.thor +152 -0
- data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/ops.rb +95 -0
- data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/utils.rb +42 -0
- data/benchmarks/stubs/rails/README +243 -0
- data/benchmarks/stubs/rails/Rakefile +10 -0
- data/benchmarks/stubs/rails/app/controllers/application_controller.rb +12 -0
- data/benchmarks/stubs/rails/app/helpers/application_helper.rb +5 -0
- data/benchmarks/stubs/rails/config/boot.rb +112 -0
- data/benchmarks/stubs/rails/config/database.yml +22 -0
- data/benchmarks/stubs/rails/config/environment.rb +43 -0
- data/benchmarks/stubs/rails/config/environments/development.rb +19 -0
- data/benchmarks/stubs/rails/config/environments/production.rb +30 -0
- data/benchmarks/stubs/rails/config/environments/test.rb +30 -0
- data/benchmarks/stubs/rails/config/initializers/backtrace_silencers.rb +9 -0
- data/benchmarks/stubs/rails/config/initializers/inflections.rb +12 -0
- data/benchmarks/stubs/rails/config/initializers/mime_types.rb +7 -0
- data/benchmarks/stubs/rails/config/initializers/new_rails_defaults.rb +21 -0
- data/benchmarks/stubs/rails/config/initializers/session_store.rb +17 -0
- data/benchmarks/stubs/rails/config/locales/en.yml +5 -0
- data/benchmarks/stubs/rails/config/routes.rb +45 -0
- data/benchmarks/stubs/rails/doc/README_FOR_APP +2 -0
- data/{spec/stubs/acqs/tasks.thor → benchmarks/stubs/rails/log/development.log} +0 -0
- data/{stubs/stack/content/TODO.txt → benchmarks/stubs/rails/log/production.log} +0 -0
- data/benchmarks/stubs/rails/log/server.log +0 -0
- data/benchmarks/stubs/rails/log/test.log +0 -0
- data/benchmarks/stubs/rails/public/404.html +30 -0
- data/benchmarks/stubs/rails/public/422.html +30 -0
- data/benchmarks/stubs/rails/public/500.html +30 -0
- data/benchmarks/stubs/rails/public/favicon.ico +0 -0
- data/benchmarks/stubs/rails/public/images/rails.png +0 -0
- data/benchmarks/stubs/rails/public/index.html +275 -0
- data/benchmarks/stubs/rails/public/javascripts/application.js +2 -0
- data/benchmarks/stubs/rails/public/javascripts/controls.js +963 -0
- data/benchmarks/stubs/rails/public/javascripts/dragdrop.js +973 -0
- data/benchmarks/stubs/rails/public/javascripts/effects.js +1128 -0
- data/benchmarks/stubs/rails/public/javascripts/prototype.js +4320 -0
- data/benchmarks/stubs/rails/public/robots.txt +5 -0
- data/benchmarks/stubs/rails/script/about +4 -0
- data/benchmarks/stubs/rails/script/console +3 -0
- data/benchmarks/stubs/rails/script/dbconsole +3 -0
- data/benchmarks/stubs/rails/script/destroy +3 -0
- data/benchmarks/stubs/rails/script/generate +3 -0
- data/benchmarks/stubs/rails/script/performance/benchmarker +3 -0
- data/benchmarks/stubs/rails/script/performance/profiler +3 -0
- data/benchmarks/stubs/rails/script/plugin +3 -0
- data/benchmarks/stubs/rails/script/runner +3 -0
- data/benchmarks/stubs/rails/script/server +3 -0
- data/benchmarks/stubs/rails/test/performance/browsing_test.rb +11 -0
- data/benchmarks/stubs/rails/test/test_helper.rb +40 -0
- data/benchmarks/stubs/ramaze.rb +0 -0
- data/benchmarks/stubs/sinatra.rb +11 -0
- data/bin/rango +2 -2
- data/deps.rip +7 -0
- data/deps.rip.rbe +7 -0
- data/gems/cache/abstract-1.0.0.gem +0 -0
- data/gems/cache/code-cleaner-0.1.gem +0 -0
- data/gems/cache/code-cleaner-0.2.gem +0 -0
- data/gems/cache/code-cleaner-0.3.gem +0 -0
- data/gems/cache/code-cleaner-0.4.gem +0 -0
- data/gems/cache/code-cleaner-0.5.gem +0 -0
- data/gems/cache/code-cleaner-0.6.gem +0 -0
- data/gems/cache/code-cleaner-0.7.gem +0 -0
- data/gems/cache/code-cleaner-0.8.1.gem +0 -0
- data/gems/cache/code-cleaner-0.8.gem +0 -0
- data/gems/cache/erubis-2.6.5.gem +0 -0
- data/gems/cache/extlib-0.9.14.gem +0 -0
- data/gems/cache/haml-2.2.16.gem +0 -0
- data/gems/cache/haml-2.2.17.gem +0 -0
- data/gems/cache/nake-0.0.2.gem +0 -0
- data/gems/cache/nake-0.0.3.gem +0 -0
- data/gems/cache/nake-0.0.5.gem +0 -0
- data/gems/cache/nake-0.0.6.gem +0 -0
- data/gems/cache/nake-0.0.8.gem +0 -0
- data/gems/cache/rack-1.0.1.gem +0 -0
- data/gems/cache/rack-1.1.0.gem +0 -0
- data/gems/cache/rspec-1.2.9.gem +0 -0
- data/gems/cache/rspec-1.3.0.gem +0 -0
- data/gems/cache/term-ansicolor-1.0.4.gem +0 -0
- data/gems/cache/tilt-0.4.gem +0 -0
- data/gems/cache/tilt-0.5.gem +0 -0
- data/lib/rango.rb +28 -28
- data/lib/rango/cli.rb +34 -0
- data/lib/rango/contrib/pagination/adapters/datamapper.rb +21 -17
- data/lib/rango/controller.rb +36 -4
- data/lib/rango/environments.rb +1 -15
- data/lib/rango/exceptions.rb +144 -86
- data/lib/rango/helpers.rb +10 -2
- data/lib/rango/mailer.rb +48 -0
- data/lib/rango/mixins/action_args.rb +5 -7
- data/lib/rango/mixins/filters.rb +18 -14
- data/lib/rango/mixins/message.rb +30 -24
- data/lib/rango/mixins/rendering.rb +54 -0
- data/lib/rango/orm/tasks/datamapper.nake +81 -0
- data/lib/rango/orm/tasks/sequel.nake +43 -0
- data/lib/rango/router/adapters/usher.rb +2 -1
- data/lib/rango/stacks/controller.rb +12 -0
- data/lib/rango/tasks/spec.nake +9 -0
- data/lib/rango/templates/exts/haml.rb +1 -1
- data/lib/rango/templates/exts/tilt.rb +10 -0
- data/lib/rango/templates/helpers.rb +29 -25
- data/lib/rango/templates/template.rb +7 -6
- data/rango.gemspec +52 -0
- data/rango.pre.gemspec +8 -0
- data/spec/rango/environments_spec.rb +1 -1
- data/spec/rango/exceptions_spec.rb +8 -7
- data/spec/rango/mixins/render_spec.rb +1 -1
- data/spec/rango/templates/template_spec.rb +1 -1
- data/stubs/stack/content/%name%.gemspec.rbt +52 -0
- data/stubs/stack/content/%name%.pre.gemspec.rbt +8 -0
- data/stubs/stack/content/CHANGELOG +0 -0
- data/stubs/stack/content/Gemfile.rbt +22 -11
- data/stubs/stack/content/README.textile.rbt +7 -0
- data/stubs/stack/content/config.ru.rbt +33 -62
- data/stubs/stack/content/deps.rip +0 -0
- data/stubs/stack/content/init.rb.rbt +14 -39
- data/stubs/stack/content/lib/%name%.rb.rbt +8 -0
- data/stubs/stack/content/lib/%name%/config.rb.rbt +0 -0
- data/stubs/stack/content/{environments.rb.rbt → lib/%name%/environments/development.rb.rbt} +5 -0
- data/stubs/stack/content/lib/%name%/environments/production.rb.rbt +0 -0
- data/stubs/stack/content/lib/%name%/environments/stagging.rb.rbt +0 -0
- data/stubs/stack/content/lib/%name%/initializers/middlewares.rb.rbt +5 -0
- data/stubs/stack/content/lib/%name%/initializers/urls.rb.rbt +24 -0
- data/stubs/stack/content/{models.rb.rbt → lib/%name%/models.rb.rbt} +7 -0
- data/stubs/stack/content/{views.rb.rbt → lib/%name%/views.rb.rbt} +2 -8
- data/stubs/stack/content/rackup.rb.rbt +41 -0
- data/stubs/stack/content/tasks.rb.rbt +52 -0
- data/stubs/stack/setup.rb +7 -1
- data/support/hooks/pre-commit +12 -0
- data/tasks.rb +49 -0
- metadata +250 -54
- data/Rakefile +0 -33
- data/lib/rango/rack/middlewares/email_obfuscator.rb +0 -25
- data/lib/rango/version.rb +0 -7
- data/stubs/stack/content/.rvmrc.rbt +0 -2
- data/stubs/stack/content/Rakefile.rbt +0 -12
@@ -0,0 +1,37 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
+
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
3
|
+
<head>
|
4
|
+
<title>Documentation</title>
|
5
|
+
<meta content='text/html;charset=UTF-8' http-equiv='content-type' />
|
6
|
+
<meta content='all' name='robots' />
|
7
|
+
<meta content='text/html;charset=utf-8' http-equiv='content-type' />
|
8
|
+
<meta content='no' http-equiv='msthemecompatible' />
|
9
|
+
<meta content='false' http-equiv='imagetoolbar' />
|
10
|
+
<link href="generators/template/merb/merb.css" media="screen" rel="stylesheet" type="text/css" />
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<div id='content'>
|
14
|
+
<div class='wrap_to_center'>
|
15
|
+
<div class='full_width' id='content_top'>
|
16
|
+
<div id='content_bottom'>
|
17
|
+
<div id='content_full'>
|
18
|
+
<h1>Documentation</h1>
|
19
|
+
<ul>
|
20
|
+
<% @directories.each do |directory| %>
|
21
|
+
<li id="merb-core"><a href="<%= directory %>/index.html"><%= directory.capitalize %></a></li>
|
22
|
+
<% end %>
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
<div id='footer'>
|
29
|
+
<div class='wrap_to_center'>
|
30
|
+
<p>
|
31
|
+
© 2008, Ezra Zygmuntowicz | Merb is released under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a>
|
32
|
+
</p>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</body>
|
37
|
+
</html>
|
@@ -0,0 +1,252 @@
|
|
1
|
+
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {
|
2
|
+
margin: 0;
|
3
|
+
padding: 0;
|
4
|
+
border: 0;
|
5
|
+
font-weight: inherit;
|
6
|
+
font-style: inherit;
|
7
|
+
font-size: 100%;
|
8
|
+
font-family: inherit;
|
9
|
+
vertical-align: baseline; }
|
10
|
+
|
11
|
+
/* GENERAL RULES */
|
12
|
+
|
13
|
+
body {
|
14
|
+
background: #000 url(../img/body.gif) repeat-x bottom center;
|
15
|
+
color: #000;
|
16
|
+
font: normal 12px "Lucida Grande", "Arial", sans-serif;
|
17
|
+
line-height: 1;
|
18
|
+
}
|
19
|
+
ul {list-style-type: none;}
|
20
|
+
#content_full ul.revisions{list-style-type: disc;}
|
21
|
+
#content_full ul.revisions li{margin-left: 15px;padding: 3px 0;}
|
22
|
+
li a {display: block;}
|
23
|
+
#content_full ul.revisions li a{display: inline;}
|
24
|
+
strong {font-weight: bold;}
|
25
|
+
table {border-collapse: separate;border-spacing: 0; }
|
26
|
+
caption, th, td {text-align: left;font-weight: normal; }
|
27
|
+
.invisible {display: none;}
|
28
|
+
.full_width {width:100%;}
|
29
|
+
|
30
|
+
/* LAYOUT */
|
31
|
+
|
32
|
+
.wrap_to_center, #foot {
|
33
|
+
margin: 0 auto;
|
34
|
+
display: block;
|
35
|
+
width: 800px;
|
36
|
+
}
|
37
|
+
|
38
|
+
#content {width: 100%;}
|
39
|
+
|
40
|
+
#content_top {
|
41
|
+
background: #fff url(../img/content_top.gif) no-repeat top center;
|
42
|
+
float:left;
|
43
|
+
margin:25px 0px;
|
44
|
+
width:100%;
|
45
|
+
}
|
46
|
+
#content_bottom {
|
47
|
+
background: url(../img/content_bottom.gif) no-repeat bottom center;
|
48
|
+
width:100%;
|
49
|
+
float:left;
|
50
|
+
}
|
51
|
+
#content_main {
|
52
|
+
float:left;
|
53
|
+
margin: 10px 20px 20px 20px;
|
54
|
+
width:506px;
|
55
|
+
}
|
56
|
+
#content p {
|
57
|
+
line-height:17px;
|
58
|
+
}
|
59
|
+
#content_full {margin: 10px 20px 20px 20px;}
|
60
|
+
|
61
|
+
/* HEADER & NAVIGATION */
|
62
|
+
|
63
|
+
#header {
|
64
|
+
background: #1db900 url(../img/header_waves.gif) repeat-x top center;
|
65
|
+
height:74px;
|
66
|
+
width: 100%;
|
67
|
+
}
|
68
|
+
#waves {
|
69
|
+
background: url(../img/header_waves.gif)no-repeat top left;
|
70
|
+
height:74px;
|
71
|
+
width:980px;
|
72
|
+
}
|
73
|
+
#header img {margin-top:8px; float:left;}
|
74
|
+
#header a {color:#fff; text-decoration:none;}
|
75
|
+
#header a:hover {color:#000;}
|
76
|
+
ul#nav {float:right;display:block;width:43.3em;margin-top:25px;}
|
77
|
+
ul#nav li {display:block;float:left;}
|
78
|
+
ul#nav li a {display:block;float:left;margin:0px 5px;padding:6px 9px 31px 9px;}
|
79
|
+
ul#nav li a:hover {background:url(../img/header_hover.gif) repeat-x bottom center;}
|
80
|
+
ul#nav li a#active {background:url(../img/header_arrow.gif)no-repeat bottom center;}
|
81
|
+
ul#nav li.last a {margin-right:0;}
|
82
|
+
|
83
|
+
/* TEXT FORMATTING */
|
84
|
+
|
85
|
+
h1 {
|
86
|
+
border-bottom:2px solid #ccc;
|
87
|
+
color:#000;
|
88
|
+
font:bold 28px "Arial" sans-serif;
|
89
|
+
letter-spacing:1px;
|
90
|
+
margin:20px 0px;
|
91
|
+
text-align:left;
|
92
|
+
width:100%;
|
93
|
+
}
|
94
|
+
h1.home {
|
95
|
+
border:0;
|
96
|
+
color:#fff;
|
97
|
+
font-size:36px;
|
98
|
+
margin:20px 0px;
|
99
|
+
text-align:center;
|
100
|
+
}
|
101
|
+
h2 {
|
102
|
+
color:#7aad00;
|
103
|
+
font:bold 22px "Lucida Grande" sans-serif;
|
104
|
+
margin:10px 0px;
|
105
|
+
}
|
106
|
+
h3 {
|
107
|
+
font:bold 16px "Lucida Grande";
|
108
|
+
margin:10px 0px;
|
109
|
+
}
|
110
|
+
#content a {color:#d7ff00;}
|
111
|
+
#content a:hover {background:#d7ff00;color:#000;}
|
112
|
+
#content_main ul {margin:10px 0px;}
|
113
|
+
#content_main ul li {
|
114
|
+
background: url(../img/li.gif) no-repeat left center;
|
115
|
+
padding: 4px 4px 4px 16px;
|
116
|
+
font-weight:bold;
|
117
|
+
}
|
118
|
+
p {margin-bottom:12px;}
|
119
|
+
#content_main a,#content_full a {color:#11b716;font-weight:bold;}
|
120
|
+
#content_main a:hover,#content_full a:hover {background:#22d716;}
|
121
|
+
pre {
|
122
|
+
background:#222;
|
123
|
+
color:#fff;
|
124
|
+
font:12px "Courier" serif;
|
125
|
+
line-height:18px;
|
126
|
+
padding: 12px;
|
127
|
+
margin-bottom: 10px;
|
128
|
+
}
|
129
|
+
code {
|
130
|
+
font:bold 12px "Courier" serif;
|
131
|
+
}
|
132
|
+
pre code {font-weight:normal;}
|
133
|
+
|
134
|
+
/* SIDEBAR FOR CONTENT */
|
135
|
+
|
136
|
+
#content_sidebar {
|
137
|
+
float: left;
|
138
|
+
margin: 20px 20px 15px 10px;
|
139
|
+
width: 224px;
|
140
|
+
}
|
141
|
+
.sidebar_top {
|
142
|
+
background:#868686 url(../img/sidebar_top.gif) no-repeat top center;
|
143
|
+
margin-bottom:12px;
|
144
|
+
width:224px;
|
145
|
+
}
|
146
|
+
dl.sidebar_bottom {
|
147
|
+
background: url(../img/sidebar_bottom.gif) no-repeat bottom center;
|
148
|
+
padding:12px;
|
149
|
+
}
|
150
|
+
dl.sidebar_bottom dt {
|
151
|
+
color:#fff;
|
152
|
+
font:bold 14px "Lucida Grande" sans-serif;
|
153
|
+
margin-bottom:6px;
|
154
|
+
}
|
155
|
+
dl.sidebar_bottom dd {padding:3px 0px;}
|
156
|
+
#content_sidebar p {padding:10px 0px;}
|
157
|
+
p#rss a {
|
158
|
+
background: url(../img/rss.gif) no-repeat left center;
|
159
|
+
color:#000;
|
160
|
+
font:bold 14px "Lucida Grande";
|
161
|
+
padding: 8px 6px 8px 34px;
|
162
|
+
text-decoration:none;
|
163
|
+
}
|
164
|
+
p#rss a:hover {
|
165
|
+
background: url(../img/rss.gif) no-repeat left center;
|
166
|
+
background-color:#fff;
|
167
|
+
text-decoration:underline;
|
168
|
+
}
|
169
|
+
|
170
|
+
/* FOOTER */
|
171
|
+
|
172
|
+
#footer {background:#444; clear:both;}
|
173
|
+
#footer p {padding:12px; color:#999; margin:0; text-align:center;}
|
174
|
+
|
175
|
+
/* FEATURES PAGE */
|
176
|
+
.feature {
|
177
|
+
background-repeat:no-repeat;
|
178
|
+
background-position:top left;
|
179
|
+
border-bottom:2px solid #ccc;
|
180
|
+
padding-left:150px;
|
181
|
+
}
|
182
|
+
div#speed {background-image: url(../img/feature_speed.gif);}
|
183
|
+
div#light {background-image: url(../img/feature_light.gif);}
|
184
|
+
div#power {background-image: url(../img/feature_power.gif);}
|
185
|
+
|
186
|
+
.quicklinks_top {
|
187
|
+
background:#868686 url(../img/quicklinks_top.gif) no-repeat top center;
|
188
|
+
float:right;
|
189
|
+
margin-bottom:12px;
|
190
|
+
width:169px;
|
191
|
+
}
|
192
|
+
ul.quicklinks_bottom {
|
193
|
+
background: url(../img/quicklinks_bottom.gif) no-repeat bottom center;
|
194
|
+
padding:12px;
|
195
|
+
}
|
196
|
+
ul.quicklinks_bottom li {
|
197
|
+
display:block;
|
198
|
+
padding:3px 0px;
|
199
|
+
}
|
200
|
+
#content_full ul.quicklinks_bottom li a{
|
201
|
+
color:#d7ff00;
|
202
|
+
display:inline;
|
203
|
+
}
|
204
|
+
#content_full ul.quicklinks_bottom li a:hover {
|
205
|
+
background:#d7ff00;
|
206
|
+
color:#000;
|
207
|
+
}
|
208
|
+
|
209
|
+
/* DOCUMENTATION PAGE */
|
210
|
+
.sub-framework {
|
211
|
+
border-bottom:2px solid #ccc;
|
212
|
+
margin-bottom: 20px;
|
213
|
+
padding-bottom: 10px;
|
214
|
+
}
|
215
|
+
|
216
|
+
|
217
|
+
/* ICONS FOR HOMEPAGE */
|
218
|
+
|
219
|
+
#icons_top {
|
220
|
+
background: url(../img/icons_top.gif) no-repeat top center;
|
221
|
+
float:left;
|
222
|
+
width:800px;
|
223
|
+
}
|
224
|
+
#icons_bottom {
|
225
|
+
background: url(../img/icons_bottom.gif) no-repeat bottom center;
|
226
|
+
float:left;
|
227
|
+
width:800px;
|
228
|
+
}
|
229
|
+
#icons_top dl {
|
230
|
+
color:#fff;
|
231
|
+
float:left;
|
232
|
+
width: 224px;
|
233
|
+
padding: 15px 20px;
|
234
|
+
}
|
235
|
+
#icons_top dt {
|
236
|
+
background-repeat:no-repeat;
|
237
|
+
background-position:center 2.5em;
|
238
|
+
color:#35d726;
|
239
|
+
font:bold 18px 'Lucida Grande' sans-serif;
|
240
|
+
padding: 6px 6px 150px 6px;
|
241
|
+
text-align:center;
|
242
|
+
}
|
243
|
+
#icons_top dd {
|
244
|
+
font: 11px "Lucida Grande";
|
245
|
+
line-height:18px;
|
246
|
+
text-align:center;
|
247
|
+
}
|
248
|
+
dl#speed, dl#light {border-right:1px solid #444;}
|
249
|
+
dl#light, dl#power {border-left:1px solid #000;}
|
250
|
+
dl#speed dt {background-image: url(../img/icon_speed.gif);}
|
251
|
+
dl#light dt {background-image: url(../img/icon_light.gif);}
|
252
|
+
dl#power dt {background-image: url(../img/icon_power.gif);}
|
@@ -0,0 +1,353 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module RDoc
|
4
|
+
module Page
|
5
|
+
|
6
|
+
STYLE = File.read(File.join(File.dirname(__FILE__), 'merb_doc_styles.css'))
|
7
|
+
FONTS = ""
|
8
|
+
|
9
|
+
###################################################################
|
10
|
+
|
11
|
+
CLASS_PAGE = <<HTML
|
12
|
+
<div id="%class_seq%">
|
13
|
+
<div class='banner'>
|
14
|
+
<span class="file-title-prefix">%classmod%</span><br />%full_name%<br/>
|
15
|
+
In:
|
16
|
+
START:infiles
|
17
|
+
<a href="#" onclick="jsHref('%full_path_url%');">%full_path%</a>
|
18
|
+
IF:cvsurl
|
19
|
+
(<a href="#" onclick="jsHref('%cvsurl%');">CVS</a>)
|
20
|
+
ENDIF:cvsurl
|
21
|
+
END:infiles
|
22
|
+
|
23
|
+
IF:parent
|
24
|
+
Parent:
|
25
|
+
IF:par_url
|
26
|
+
<a href="#" onclick="jsHref('%par_url%');">
|
27
|
+
ENDIF:par_url
|
28
|
+
%parent%
|
29
|
+
IF:par_url
|
30
|
+
</a>
|
31
|
+
ENDIF:par_url
|
32
|
+
ENDIF:parent
|
33
|
+
</div>
|
34
|
+
HTML
|
35
|
+
|
36
|
+
###################################################################
|
37
|
+
|
38
|
+
METHOD_LIST = <<HTML
|
39
|
+
<div id="content">
|
40
|
+
IF:diagram
|
41
|
+
<table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center">
|
42
|
+
%diagram%
|
43
|
+
</td></tr></table>
|
44
|
+
ENDIF:diagram
|
45
|
+
|
46
|
+
IF:description
|
47
|
+
<div class="description">%description%</div>
|
48
|
+
ENDIF:description
|
49
|
+
|
50
|
+
IF:requires
|
51
|
+
<div class="sectiontitle">Required Files</div>
|
52
|
+
<ul>
|
53
|
+
START:requires
|
54
|
+
<li><a href="#" onclick="jsHref('%href%');">%name%</a></li>
|
55
|
+
END:requires
|
56
|
+
</ul>
|
57
|
+
ENDIF:requires
|
58
|
+
|
59
|
+
IF:toc
|
60
|
+
<div class="sectiontitle">Contents</div>
|
61
|
+
<ul>
|
62
|
+
START:toc
|
63
|
+
<li><a href="#" onclick="jsHref('%href%');">%secname%</a></li>
|
64
|
+
END:toc
|
65
|
+
</ul>
|
66
|
+
ENDIF:toc
|
67
|
+
|
68
|
+
IF:methods
|
69
|
+
<div class="sectiontitle">Methods</div>
|
70
|
+
<ul>
|
71
|
+
START:methods
|
72
|
+
<li><a href="index.html?a=%href%&name=%name%" >%name%</a></li>
|
73
|
+
END:methods
|
74
|
+
</ul>
|
75
|
+
ENDIF:methods
|
76
|
+
|
77
|
+
IF:includes
|
78
|
+
<div class="sectiontitle">Included Modules</div>
|
79
|
+
<ul>
|
80
|
+
START:includes
|
81
|
+
<li><a href="#" onclick="jsHref('%href%');">%name%</a></li>
|
82
|
+
END:includes
|
83
|
+
</ul>
|
84
|
+
ENDIF:includes
|
85
|
+
|
86
|
+
START:sections
|
87
|
+
IF:sectitle
|
88
|
+
<div class="sectiontitle"><a href="%secsequence%">%sectitle%</a></div>
|
89
|
+
IF:seccomment
|
90
|
+
<div class="description">
|
91
|
+
%seccomment%
|
92
|
+
</div>
|
93
|
+
ENDIF:seccomment
|
94
|
+
ENDIF:sectitle
|
95
|
+
|
96
|
+
IF:classlist
|
97
|
+
<div class="sectiontitle">Classes and Modules</div>
|
98
|
+
%classlist%
|
99
|
+
ENDIF:classlist
|
100
|
+
|
101
|
+
IF:constants
|
102
|
+
<div class="sectiontitle">Constants</div>
|
103
|
+
<table border='0' cellpadding='5'>
|
104
|
+
START:constants
|
105
|
+
<tr valign='top'>
|
106
|
+
<td class="attr-name">%name%</td>
|
107
|
+
<td>=</td>
|
108
|
+
<td class="attr-value">%value%</td>
|
109
|
+
</tr>
|
110
|
+
IF:desc
|
111
|
+
<tr valign='top'>
|
112
|
+
<td> </td>
|
113
|
+
<td colspan="2" class="attr-desc">%desc%</td>
|
114
|
+
</tr>
|
115
|
+
ENDIF:desc
|
116
|
+
END:constants
|
117
|
+
</table>
|
118
|
+
ENDIF:constants
|
119
|
+
|
120
|
+
IF:attributes
|
121
|
+
<div class="sectiontitle">Attributes</div>
|
122
|
+
<table border='0' cellpadding='5'>
|
123
|
+
START:attributes
|
124
|
+
<tr valign='top'>
|
125
|
+
<td class='attr-rw'>
|
126
|
+
IF:rw
|
127
|
+
[%rw%]
|
128
|
+
ENDIF:rw
|
129
|
+
</td>
|
130
|
+
<td class='attr-name'>%name%</td>
|
131
|
+
<td class='attr-desc'>%a_desc%</td>
|
132
|
+
</tr>
|
133
|
+
END:attributes
|
134
|
+
</table>
|
135
|
+
ENDIF:attributes
|
136
|
+
|
137
|
+
IF:method_list
|
138
|
+
START:method_list
|
139
|
+
IF:methods
|
140
|
+
<div class="sectiontitle">%type% %category% methods</div>
|
141
|
+
START:methods
|
142
|
+
<div id="%m_seq%" class="method">
|
143
|
+
<div id="%m_seq%_title" class="title">
|
144
|
+
IF:callseq
|
145
|
+
<b>%callseq%</b>
|
146
|
+
ENDIF:callseq
|
147
|
+
IFNOT:callseq
|
148
|
+
<b>%name%</b>%params%
|
149
|
+
ENDIF:callseq
|
150
|
+
IF:codeurl
|
151
|
+
[ <a href="javascript:openCode('%codeurl%')">source</a> ]
|
152
|
+
ENDIF:codeurl
|
153
|
+
</div>
|
154
|
+
IF:m_desc
|
155
|
+
<div class="description">
|
156
|
+
%m_desc%
|
157
|
+
</div>
|
158
|
+
ENDIF:m_desc
|
159
|
+
IF:aka
|
160
|
+
<div class="aka">
|
161
|
+
This method is also aliased as
|
162
|
+
START:aka
|
163
|
+
<a href="index.html?a=%aref%&name=%name%">%name%</a>
|
164
|
+
END:aka
|
165
|
+
</div>
|
166
|
+
ENDIF:aka
|
167
|
+
IF:sourcecode
|
168
|
+
<div class="sourcecode">
|
169
|
+
<p class="source-link">[ <a href="javascript:toggleSource('%aref%_source')" id="l_%aref%_source">show source</a> ]</p>
|
170
|
+
<div id="%aref%_source" class="dyn-source">
|
171
|
+
<pre>
|
172
|
+
%sourcecode%
|
173
|
+
</pre>
|
174
|
+
</div>
|
175
|
+
</div>
|
176
|
+
ENDIF:sourcecode
|
177
|
+
</div>
|
178
|
+
END:methods
|
179
|
+
ENDIF:methods
|
180
|
+
END:method_list
|
181
|
+
ENDIF:method_list
|
182
|
+
END:sections
|
183
|
+
</div>
|
184
|
+
HTML
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
BODY = <<ENDBODY
|
190
|
+
!INCLUDE! <!-- banner header -->
|
191
|
+
|
192
|
+
<div id="bodyContent" >
|
193
|
+
#{METHOD_LIST}
|
194
|
+
</div>
|
195
|
+
|
196
|
+
ENDBODY
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
SRC_BODY = <<ENDSRCBODY
|
201
|
+
!INCLUDE! <!-- banner header -->
|
202
|
+
|
203
|
+
<div id="bodyContent" >
|
204
|
+
<h2>Source Code</h2>
|
205
|
+
<pre>%file_source_code%</pre>
|
206
|
+
</div>
|
207
|
+
ENDSRCBODY
|
208
|
+
|
209
|
+
|
210
|
+
###################### File Page ##########################
|
211
|
+
FILE_PAGE = <<HTML
|
212
|
+
<div id="fileHeader">
|
213
|
+
<h1>%short_name%</h1>
|
214
|
+
<table class="header-table">
|
215
|
+
<tr class="top-aligned-row">
|
216
|
+
<td><strong>Path:</strong></td>
|
217
|
+
<td>%full_path%
|
218
|
+
IF:cvsurl
|
219
|
+
(<a href="%cvsurl%"><acronym title="Concurrent Versioning System">CVS</acronym></a>)
|
220
|
+
ENDIF:cvsurl
|
221
|
+
</td>
|
222
|
+
</tr>
|
223
|
+
<tr class="top-aligned-row">
|
224
|
+
<td><strong>Last Update:</strong></td>
|
225
|
+
<td>%dtm_modified%</td>
|
226
|
+
</tr>
|
227
|
+
</table>
|
228
|
+
</div>
|
229
|
+
HTML
|
230
|
+
|
231
|
+
|
232
|
+
#### This is not used but kept for historical purposes
|
233
|
+
########################## Source code ##########################
|
234
|
+
# Separate page onlye
|
235
|
+
|
236
|
+
SRC_PAGE = <<HTML
|
237
|
+
<html>
|
238
|
+
<head><title>%title%</title>
|
239
|
+
<meta http-equiv="Content-Type" content="text/html; charset=%charset%">
|
240
|
+
<style>
|
241
|
+
.ruby-comment { color: green; font-style: italic }
|
242
|
+
.ruby-constant { color: #4433aa; font-weight: bold; }
|
243
|
+
.ruby-identifier { color: #222222; }
|
244
|
+
.ruby-ivar { color: #2233dd; }
|
245
|
+
.ruby-keyword { color: #3333FF; font-weight: bold }
|
246
|
+
.ruby-node { color: #777777; }
|
247
|
+
.ruby-operator { color: #111111; }
|
248
|
+
.ruby-regexp { color: #662222; }
|
249
|
+
.ruby-value { color: #662222; font-style: italic }
|
250
|
+
.kw { color: #3333FF; font-weight: bold }
|
251
|
+
.cmt { color: green; font-style: italic }
|
252
|
+
.str { color: #662222; font-style: italic }
|
253
|
+
.re { color: #662222; }
|
254
|
+
</style>
|
255
|
+
</head>
|
256
|
+
<body bgcolor="white">
|
257
|
+
<pre>%code%</pre>
|
258
|
+
</body>
|
259
|
+
</html>
|
260
|
+
HTML
|
261
|
+
|
262
|
+
########################### source page body ###################
|
263
|
+
|
264
|
+
SCR_CODE_BODY = <<HTML
|
265
|
+
<div id="source">
|
266
|
+
%source_code%
|
267
|
+
</div>
|
268
|
+
|
269
|
+
HTML
|
270
|
+
|
271
|
+
########################## Index ################################
|
272
|
+
|
273
|
+
FR_INDEX_BODY = <<HTML
|
274
|
+
!INCLUDE!
|
275
|
+
HTML
|
276
|
+
|
277
|
+
FILE_INDEX = <<HTML
|
278
|
+
<ul>
|
279
|
+
START:entries
|
280
|
+
<li><a id="%seq_id%_link" href="index.html?a=%seq_id%&name=%name%" onclick="loadIndexContent('%href%','%seq_id%','%name%', '%scope%');">%name%</a><small>%scope%</small></li>
|
281
|
+
END:entries
|
282
|
+
</ul>
|
283
|
+
HTML
|
284
|
+
|
285
|
+
CLASS_INDEX = FILE_INDEX
|
286
|
+
METHOD_INDEX = FILE_INDEX
|
287
|
+
|
288
|
+
INDEX = <<HTML
|
289
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
290
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
291
|
+
|
292
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
293
|
+
<head>
|
294
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
295
|
+
<meta name="description" content="A nifty way to interact with the Merb API" />
|
296
|
+
<meta name="author" content="created by Brian Chamberlain. You can contact me using 'blchamberlain' on the gmail." />
|
297
|
+
<meta name="keywords" content="merb, ruby, purple, monkey, dishwasher" />
|
298
|
+
<title>Merb | %title% API Documentation</title>
|
299
|
+
<link rel="stylesheet" href="http://merbivore.com/documentation/stylesheet.css" type="text/css" media="screen" />
|
300
|
+
<script type="text/javascript" src="http://merbivore.com/documentation/prototype.js" ></script>
|
301
|
+
<script type="text/javascript" src="http://merbivore.com/documentation/api_grease.js" ></script>
|
302
|
+
</head>
|
303
|
+
<body onload="setupPage();">
|
304
|
+
<ul id="groupType">
|
305
|
+
<li>methods</li>
|
306
|
+
<li>classes</li>
|
307
|
+
<li>files</li>
|
308
|
+
<li id="loadingStatus" style="display:none;"> loading...</li>
|
309
|
+
</ul>
|
310
|
+
<div id="listFrame">
|
311
|
+
<div id="listSearch">
|
312
|
+
<form id="searchForm" method="get" action="#" onsubmit="return false">
|
313
|
+
<input type="text" name="searchText" id="searchTextField" size="30" autocomplete="off" />
|
314
|
+
</form>
|
315
|
+
</div>
|
316
|
+
<div id="listScroller">
|
317
|
+
Loading via ajax... this could take a sec.
|
318
|
+
</div>
|
319
|
+
</div>
|
320
|
+
<div id="browserBar">
|
321
|
+
<span id="browserBarInfo">%title% README</span>
|
322
|
+
</div>
|
323
|
+
<div id="rdocContent">
|
324
|
+
%content%
|
325
|
+
</div>
|
326
|
+
<div id="floater">
|
327
|
+
<strong>Documentation for %title% </strong><a href="#" onmouseover="$('tips').show();" onmouseout="$('tips').hide();">usage tips</a>
|
328
|
+
<div id="tips" style="position:absolute;width:350px;top:15px;right:20px;padding:5px;border:1px solid #333;background-color:#fafafa;display:none;">
|
329
|
+
<p><strong>Some tips</strong>
|
330
|
+
<ul>
|
331
|
+
<li> Up/Down keys move through the search list</li>
|
332
|
+
<li> Return/enter key loads selected item</li>
|
333
|
+
<li> Want to use this RDOC template for your own project? Check out <br /> http://rubyforge.org/projects/jaxdoc</li>
|
334
|
+
</ul>
|
335
|
+
</p>
|
336
|
+
</div>
|
337
|
+
<div id="blowOutListBox" style="display:none;"> </div>
|
338
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
|
339
|
+
</script>
|
340
|
+
<script type="text/javascript">
|
341
|
+
_uacct = "UA-3085184-1";
|
342
|
+
urchinTracker();
|
343
|
+
</script>
|
344
|
+
</body>
|
345
|
+
</html>
|
346
|
+
HTML
|
347
|
+
|
348
|
+
API_GREASE_JS = File.read(File.join(File.dirname(__FILE__), 'api_grease.js'))
|
349
|
+
|
350
|
+
PROTOTYPE_JS = File.read(File.join(File.dirname(__FILE__), 'prototype.js'))
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|