Better notes with usage example for asset generators - reportable - Fork of reportable required by WarVox, from hdm/reportable.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 39c2392a983810c7f7fc7d16147e3fb040522ceb
(DIR) parent 8f830caa1040030cc4476f989c7395e9dce2fa1a
(HTM) Author: Martin Kavalar <martin@sauspiel.de>
Date: Wed, 26 May 2010 11:08:47 +0200
Better notes with usage example for asset generators
Diffstat:
M generators/reportable_jquery_flot_… | 5 ++++-
M generators/reportable_raphael_asse… | 6 +++++-
2 files changed, 9 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/generators/reportable_jquery_flot_assets/templates/NOTES b/generators/reportable_jquery_flot_assets/templates/NOTES
@@ -1,4 +1,7 @@
** Beware that flot depends on jQuery!
- ** Don't forget to include excanvas.min.js, jquery.flot.min.js as well as jQuery in your layout's head section.
+ ** Don't forget to include excanvas.min.js, jquery.flot.min.js as well as jQuery in your layout's head section, e.g.
+ **
+ ** <%= javascript_include_tag 'excanvas.min', 'jquery.flot.min' %>
+ **
(DIR) diff --git a/generators/reportable_raphael_assets/templates/NOTES b/generators/reportable_raphael_assets/templates/NOTES
@@ -1,2 +1,6 @@
- ** Don't forget to include Raphael as well as gRaphaels javascripts in your head section
+ ** Don't forget to include Raphael as well as gRaphaels javascripts in your head section, e.g.
+ **
+ ** <%= javascript_include_tag 'raphael.min', 'g.raphael.min', 'g.line.min' %>
+ **
+