content/index.haml in gitoe-0.1.1 vs content/index.haml in gitoe-0.1.2
- old
+ new
@@ -1,11 +1,12 @@
!!!5
%html(lang='en')
%head
%link(rel="stylesheet" type="text/css" href="reset.css")
%link(rel="stylesheet" type="text/css" href="style.css")
- %script(src="/jquery/jquery-1.9.1.min.js")
+ %script(src="jquery/jquery-1.9.1.min.js")
+ %script(src="ie_workaround.js")
%script(src="jquery/jquery.scrollTo.min.js")
%script(src="raphael-min.js")
%script(src="moment.min.js")
%script(src="gitoe-repo.js")
%script(src="gitoe-draw.js")
@@ -13,10 +14,19 @@
%title gitoe
:coffee
$ ->
if /\?dev$/.test location.href
setTimeout location.reload.bind(location), 1000
+ :coffee
+ # IE(<8) workaround
+ # from
+ Object.keys ||= (o)->
+ result = []
+ for name in o
+ if o.hasOwnProperty(name)
+ result.push name
+ return result
%body
#flash
#wrapper.fillh.fillv
#left.fillv
#banner.fillh
@@ -61,12 +71,18 @@
-# %li last
#right.fillv.fillh
#graph.fillh.fillv.scrollh.scrollv
#footer.fillh
powered by
- %a(href='#') jquery
- ,
- %a(href='#') raphel
- ,
- %a(href='#') rugged
- , and
- %a(href='#') me
+ %a( href='http://www.sinatrarb.com' )
+ sinatra
+ %a( href='https://github.com/libgit2/rugged' )
+ rugged
+ %a( href='http://jquery.com/' )
+ jQuery
+ %a( href='https://github.com/flesler/jquery.scrollTo' )
+ jquery.scrollTo
+ %a( href='http://raphaeljs.com/' )
+ Raphaƫl
+ and
+ %a( href='https://github.com/jokester' )
+ Wang Guan