View Single Post
Quote:
Originally Posted by CdtDelta View Post
Well I'm trying to get the script to work and I'm pulling an error with this section of code in OFfline.rb:

li.task :style => 'display: none;' do |l|

(it's line 36 in the script)
I ran it through Komodo and it's showing a syntax error and the next line gives me an error of "useless use of | in void context" (again Komodo is reporting this).
Thanks....
If you're running Tiger and haven't upgraded your local copy of Ruby there might be a problem with this style. What version of Ruby are you running? Just type this into Terminal.app:

ruby -v

Can you try and change the line causing the error to

li.task(:style => 'display: none;') do |l|

and let me know if it works?