Skip to content

Instantly share code, notes, and snippets.

raw_content = JSON.parse(yield)
json.content raw_content
json.jsonp! params[:callback] if jsonp?
/**
* @fileoverview A content slider.
*/
// TODO: emit events.
goog.provide("goox.ui.Slider");
goog.require("goog.dom");
goog.require("goog.style");
// ==UserScript==
// @name Use Chosen for Harvest Project Timesheet Selector
// @author Yahel Carmon
// @description Uses Chosen for Harvest Project Timesheet Selector. Might break if they change anything. Use at your own risk.
// @namespace https://gist.github.com/gists/1229452
// @include http://*.harvestapp.com/entry/show/*
// @include https://*.harvestapp.com/entry/show/*
// @include http://*.harvestapp.com/daily
// @include https://*.harvestapp.com/daily
// ==/UserScript==