Skip to content

Instantly share code, notes, and snippets.

View tdreyno's full-sized avatar

Thomas Reynolds tdreyno

  • Portland, OR
  • 02:32 (UTC -07:00)
View GitHub Profile
$(document).ajaxSend(function(event, request, settings) {
if (typeof(AUTH_TOKEN) == "undefined") return;
// settings.data is a serialized string like "foo=bar&baz=boink" (or null)
settings.data = settings.data || "";
settings.data += (settings.data ? "&" : "") + "authenticity_token=" + encodeURIComponent(AUTH_TOKEN);
});
var preloadCount = 0;
function preloadEvent() {
preloadCount++;
if (preloadCount >= 2) {
// Show the images
}
}
var image1 = new Image();
{
"client": {
"name": "SilverScript",
"logo": "http://lincs.spinsix.com/FILEMAKER/img/clients/FILEMAKER/logo.jpg"
},
"feeds": [
{
"title": "RxSP",
"items": [
{ "title": "remind-me conversions", "count": 1 },
@import base.sass
fieldset
+clearfix
.col1
+column(8)
.col2
+column(8, true)
.full
@import base.sass
+blueprint-typography
body
+reset-box-model
img
:border 0
!menu_image = "url(../../images/test-1.jpg)"
!width_item_1 = 96px
!width_item_2 = 76px
!width_item_3 = 111px
!width_item_4 = 118px
!height_menu = 200px
=menu_item(!width, !horizontal_indent)
:margin-left= !horizontal_indent
:width= !width
=link-fills-element
:position relative
a
:display block
:position absolute
:top 0
:left 0
:width 100%
:height 100%
=link-fills-element
^
:position relative
:display block
:position absolute
:top 0
:left 0
:width 100%
:height 100%
require File.join(Compass.lib_directory, 'compass', 'sass_extensions')
module Compass::SassExtensions::Functions::Urls
def compute_cache_buster(path, real_path)
false
end
end
p.bigbutton
:height 39px
:padding-bottom 30px
:margin-bottom 0