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
@mixin findIcon($icon, $stack, $isHover, $hoverModifyer){ | |
@each $i in $stack { | |
@if nth($i,1) == $icon{ | |
width: nth($i,2); height: nth($i,3); background-position: nth($i,4) nth($i,5); | |
@if $isHover{ | |
background-position: nth($i,4) $hoverModifyer; | |
} | |
} | |
} |
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
@include sprite('beta-banner'); | |
@include sprite('main-bug'); | |
@include sprite('main-bug', 'hover'); | |
@include sprite('minimize-bug' ); | |
@include sprite('minimize-bug', 'hover' ); |
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
opts = | |
color : $blueberry | |
lines : 17 | |
length : 4 | |
width : 2 | |
radius : 15 | |
corners : 0 | |
rotate : 90 | |
direction : 1 | |
speed : 1.2 |
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
$someEl.animate | |
opacity:3 | |
, | |
duration:200 | |
easing:"EaseInOutQuint" | |
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
cloudCreditGuage = new PagodaCloudCreditGuage() | |
cloudCreditGuage.build( $("#cloud-credit-guage-holder") ) | |
cloudCreditGuage.populate( | |
billingPeriodStarts, # UTC timestamp | |
billingPeriodEnds, # UTC timestamp | |
freeEnds, # UTC timestamp | |
isOwnedByHal # Boolean | |
) |
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
listenForScrollToPoint : () -> | |
@breakPoint = $(".some-element").top | |
$(window).bind('scroll', @onWindowScroll ) | |
onWindowScroll : (e) => | |
if this.breakPoint < $(window).scrollTop() | |
$(@brick).addClass('canvas-fixed') | |
else | |
$(@brick).removeClass('canvas-fixed') |
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
{ | |
"version": 3, | |
"file": "sphere.js", | |
"sourceRoot": "", | |
"sources": [ | |
"sphere.js" | |
], | |
"names": [], | |
"mappings": "AAAA;CAAA,KAAA,IAAA;KAAA;oSAAA;CAAA;CAAA,CAAM;CAEL;CAAA;;CAAc,CAAA,CAAA,CAAA,gBAAE;CACb,CAAA,CADa,CAAA,EAAD;CACZ,CAAyB,IAAzB,WAAA,EAAA,yBAAM;CADT,IAAc;;CAAd;;CAFwB,EAAG;;CAA5B,CAMA,CAAI,CAAH,MAAD;CANA" | |
} |
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
{ | |
"dependencies": [ | |
"es5-shimify", | |
"json2ify", | |
"jqueryify", | |
"spine", | |
"spine/lib/local", | |
"spine/lib/ajax", | |
"spine/lib/route", | |
"spine/lib/tmpl", |
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
# this file lives at: /app/lib/MyClass.coffeescript | |
class MyClass extends LibraryClass | |
constructor: ( args ) -> | |
super( args ) |
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
#!/usr/bin/env ruby | |
# | |
# Assignment block tidier, version 0.1. | |
# | |
# Copyright Chris Poirier 2006. | |
# Licensed under the Academic Free License version 3.0. | |
# | |
# This script can be used as a command for TextMate to align all | |
# of the equal signs within a block of text. When using it with | |
# TextMate, set the command input to "Selected Text" or "Document", |