This file contains hidden or 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
| function barleyBarHider(keyCode) { // need the keyCode? try whatthekeycode.com | |
| var bb = jQuery('#barley-bar').children('#barley-logo').slideUp().end().hide(); | |
| var pressCount = 0; | |
| var keyCode = typeof keyCode==="number" && ~~keyCode>0 ? ~~keyCode : 27; // use ESC key if error or NaN | |
| jQuery(document).keyup(function(e) { | |
| if (e.keyCode == keyCode) { | |
| pressCount++; | |
| if (pressCount==3) bb.show().children('#barley-logo').slideDown(); | |
| setTimeout(function(){pressCount=0},1000); | |
| } |
This file contains hidden or 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
| /** | |
| * Previewer test | |
| */ | |
| background: #f06; | |
| background: linear-gradient(left bottom, | |
| hsla(340, 100%, 50%,.7), yellow); | |
| min-width: 100px; | |
| width: 2in; | |
| transition-duration: 6s; |
This file contains hidden or 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
| # rails application template for generating customized rails apps | |
| # | |
| # == requires == | |
| # | |
| # * rails 2.3+, rspec, cucumber, culerity (langalex-culerity gem), machinist | |
| # | |
| # == a newly generated app using this template comes with == | |
| # | |
| # * working user registration/login via authlogic, cucumber features to verify that it works | |
| # * rspec/cucumber/culerity for testing |
NewerOlder