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
theEvent = document.createEvent('MouseEvents') | |
theEvent.initEvent("click", true, true, e.view, 1, e.changedTouches[0].screenX, e.changedTouches[0].screenY, e.changedTouches[0].clientX, e.changedTouches[0].clientY, e.ctrlKey, e.altKey, e.shiftKey, e.metaKey,0, null) | |
@theTarget.dispatchEvent theEvent | |
@theTarget = null |
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
guard 'coffeescript', :input => 'app', :output => 'public/javascripts/app', :cli => '' | |
guard 'coffeescript', :input => 'spec/coffeescripts', :output => 'spec/javascripts' | |
guard 'compass' do | |
watch(/app\/stylesheets\/(.*)\.s[ac]ss/) | |
end | |
spec_location = "spec/coffeescripts/%s_spec" | |
guard 'jasmine-headless-webkit' do | |
watch(%r{^spec/coffeescripts/(.*)_spec\..*}) { |m| newest_js_file(spec_location % m[1]) } |
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
/* Blue Beanie */ | |
.with-blue-beanie .beanie { | |
position: absolute; | |
top: -25px; | |
left: 0px; | |
width: 64px; | |
height: 40px; | |
-webkit-border-top-left-radius: 40px; |
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
/* Shake effect */ | |
@-webkit-keyframes shake { | |
0% { | |
-webkit-transform: translateX(0); | |
} | |
25% { | |
-webkit-transform: translateX(30px); | |
} | |
50% { | |
-webkit-transform: translateX(-20px); |
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
var theEvent = document.createEvent('MouseEvents'); | |
theEvent.initMouseEvent("click", true, true, document.defaultView, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, null); | |
element.dispatchEvent(theEvent); |
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
first = true | |
variations.each do |variation| | |
styleclass = "selected" if first | |
first = false | |
# Do stuff | |
end |
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
#overlay { | |
position: absolute; | |
margin: auto; | |
top: 0; left: 0; | |
width: 100%; height: 100%; | |
z-index: 9999; | |
border: 0; | |
background-color: #000!important; | |
} | |
#overlay[id] { position: fixed; } |
NewerOlder