You could move #{proto}#{cdn_url}ui/#{jquery_ui_version} into its own variable
to stop the repeated references to it.
--
Ryan Bigg (the dude 5m to the right)
On Monday, 21 February 2011 at 11:54 AM, Tim McEwan wrote:
> Step 1. Grab a copy of your production data so you can do a proper demo of
> your app
> Step 2. Forget that you don't have net in the cafe; all the javascript fails
> Step 3. Go back to your office and whack this in your app:
> https://gist.github.com/836481
>
> I know it's probably obvious to most of you, but just in case... Also seeking
> ideas on how to make it more elegant as it's a bit of a monster.
>
>
> Cheers,
> --
> Tim McEwan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rails-oceania?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Ruby
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rails-oceania?hl=en.