ZiYa attempting to load unused style sheets

0 views
Skip to first unread message

sant0sk1

unread,
Jul 6, 2008, 7:07:57 PM7/6/08
to ZiYa Plugin
This only happens using the new ZiYa gem, not the old plugin.

Every time I make a request in development mode for a ZiYa chart it
attempts to load 5 style sheets that are not used. I am requesting a
bar chart. The style sheets its trying to load are:

base64_chart
base64deprecated_chart
instance_exec_methods_chart
ziyautilstext_chart
ziyahelpersbase_helper_chart

It then successfully loads the 3 stylesheets; base_chart, bar_chart,
and my custom_bar_chart.

Does anybody know why its trying to load these other style sheets each
time? Easy way to switch it off? Thanks.

Dav Yaginuma

unread,
Jul 6, 2008, 10:25:10 PM7/6/08
to ziya-...@googlegroups.com

I saw this too. I looked into it a bit and saw that it was doing this totally weird thing about iterating over all of the ancestor classes of the ziya graph and trying to load  a stylesheet based on the ancestor class name. It is annoying, and I assumed it would be fixed soon. I don't have a solution for you, just wanted to throw my vote in for getting rid of that 'feature'.
--
Dav Yaginuma
http://AkuAku.org/

fernand...@gmail.com

unread,
Jul 8, 2008, 10:40:43 AM7/8/08
to ZiYa Plugin
Thanks for the post. I am aware of this issue and have a fix in
place.
I will push the new gem out shortly.

Thanks,
Fernand
Reply all
Reply to author
Forward
0 new messages