Life In General

Introducing Include_Google_JS for Ruby on Rails

Alright, I put this out a few weeks ago, but I never bothered to write up a blog post for it, and I have no excuse for that.

Include_Google_JS is a plugin for Ruby on Rails that will use Google’s hosted copies of the major Javascript libraries.

All you have to do is add :include_google_js => true to javascript_include_tag in your layout and you’re in business.

Upcoming features will include:

  • The ability use more than the default JS libraries (Prototype and Scriptaculous) when using :all or when files are declared.
  • Version checking to include the right version of the library as what is contained in /public/javascripts.

I’m also hoping to submit this is as a patch to core soon.

Life In General

Comments (0)

Permalink

Things and Stuff

Life In General

Comments (0)

Permalink

Spring Is Here

Life In General

Comments (0)

Permalink

Dead Phone

Life In General

Comments (0)

Permalink

Happy Holidays

Life In General

Comments (0)

Permalink

Oh, Seattle Airport!

Life In General

Comments (0)

Permalink

Simplification

Life In General

Comments (0)

Permalink

A Broken Phone, A Loaner Phone

Life In General

Comments (0)

Permalink

My Accent

Life In General

Comments (1)

Permalink

Backpacking in the Porkies

Life In General

Comments (0)

Permalink

cleaning service Naperville | acheter c i a l i s