Skip to content

Instantly share code, notes, and snippets.

@mrship
Created July 17, 2009 14:20
Show Gist options
  • Save mrship/149074 to your computer and use it in GitHub Desktop.
Save mrship/149074 to your computer and use it in GitHub Desktop.
!!! Strict
%html{ html_attrs("en_gb") }
%head
%title
Times Too
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "content-type" }/
%script{ :type => "text/javascript", :src => "http://localhost/~andy/javascripts/dojo/dojo.js.uncompressed.js", :djConfig => "parseOnLoad: true" }
:javascript
dojo.registerModulePath("dijit", "http://localhost/~andy/javascripts/dijit")
dojo.registerModulePath("dojox", "http://localhost/~andy/javascripts/dojox")
%link{ :href => "http://localhost/~andy/javascripts/dijit/themes/nihilo/nihilo.css", :rel => "stylesheet", :media => "screen", :type => "text/css", :charset => "utf-8" }/
%body
:javascript
dojo.addOnLoad(function() {
dojo.require("dijit.ProgressBar");
});
#time_limit_for_test_bar(style='width:400px' maximum='120' progress='20' annotate='true' dojoType='dijit.ProgressBar')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment