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
group :test do | |
gem 'minitest' | |
gem 'minitest-rails' | |
gem 'turn' | |
end | |
# rest omitted... |
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
$.extend($.expr[':'], { | |
over100pixels: function(a) { | |
return $(a).height() > 100; | |
} | |
}); | |
$('.box:over100pixels').click(function() { | |
alert('The element you clicked is over 100 pixels high'); | |
}); |
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 | |
= yield(:title) || "#WorkBuffer" | |
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/ | |
= stylesheet_link_tag "application" | |
= javascript_include_tag :defaults | |
= csrf_meta_tag |