Created
September 24, 2011 21:09
-
-
Save ikennaokpala/1239868 to your computer and use it in GitHub Desktop.
load google JSAPI with HAML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! | |
%html | |
%head | |
%title | |
= csrf_meta_tag | |
= stylesheet_link_tag "layout" | |
%script{:src=>"http://www.google.com/jsapi", :type=>"text/javascript"} | |
%script{:type=>"text/javascript"} | |
google.load("chrome-frame", "1.0.2"); | |
google.load("dojo", "1.6.1"); | |
google.load("ext-core", "3.1.0"); | |
google.load("jquery", "1.6.4"); | |
google.load("jqueryui", "1.8.16"); | |
google.load("mootools", "1.4.0"); | |
google.load("prototype", "1.7.0.0"); | |
google.load("scriptaculous", "1.9.0"); | |
google.load("swfobject", "2.2"); | |
google.load("yui", "3.3.0"); | |
google.load("webfont", "1.0.22"); | |
= javascript_include_tag "init" | |
%body |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment