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
(function($){ | |
$.fn.cache = function (key, create, use){ | |
var data = this.data(key); | |
if (!data){ | |
data = create(); | |
this.data(key, data); | |
} | |
return use(data); | |
}; | |
})(jQuery); |
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
window.open('http://www.youtube.com/embed/'+location.search.replace(/(\?|)v=([^&]*)/, '$2')+'?rel=0'); |
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
// ---- | |
// Sass (v3.3.0.rc.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
/*! sassyjson - v0.0.2 - 2014-01-17 */ | |
// Logs an error at `$pointer` with `$string` message | |
// -------------------------------------------------------------------------------- | |
// @param [string] $string: error message | |
// @param [number] $pointer: pointer position |
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
// ---- | |
// Sass (v3.3.0.rc.2) | |
// Compass (v1.0.0.alpha.17) | |
// SassyJSON (v1.0.9) | |
// ---- | |
@import "SassyJSON"; | |
$json-decode: json-decode('{"key" : "value\" test"}'); | |
$json-decode1: json-decode('{"key" : "value\\" test"}'); |
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
// ---- | |
// Sass (v3.3.0.rc.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
@function _count-token-before($search, $token, $pointer){ | |
$count: 0; | |
@for $i from 1 to $pointer{ | |
$index: $pointer - $i; | |
@if ( str-slice($search, $index, $index) == $token){ |
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
// ---- | |
// Sass (v3.2.14) | |
// Compass (v0.12.2) | |
// ---- | |
@function true() { | |
@return "STRING__TRUE"; | |
} | |
@function false() { |
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
// ---- | |
// Sass (v3.3.0.rc.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
$brands: ( | |
twitter: (#00acee f099), | |
facebook: #3b5998, | |
pinterest: #cb2027, | |
soundcloud: #f60, |
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
// ---- | |
// Sass (v3.3.0.rc.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
@import "compass"; | |
// Private function for custom stops | |
// ------------------------------------------------------------ | |
// @param $colors: list of color + associated stop |
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
// ---- | |
// Sass (v3.2.14) | |
// Compass (v0.12.2) | |
// ---- | |
debug{ | |
/* This is working */ | |
// debug: inspect((())); | |
// This fails |
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
// ---- | |
// Sass (v3.3.0.rc.3) | |
// Compass (v1.0.0.alpha.18) | |
// SassyJSON (v1.1.2) | |
// ---- | |
debug{ | |
/* This is working */ | |
// debug: inspect((())); | |
OlderNewer