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
/** | |
* Simple definition list styling for glossy-rails project | |
* see: https://github.com/hongymagic/glossy-rails | |
*/ | |
body { color: #222; font: normal normal 400 100%/140% Arial, sans-serif; background-image: linear-gradient(top, #444, #222); } | |
dl { margin: 1em auto; padding: 1em; width: 500px; } | |
dt, dd { margin: 0; padding: 0.2em 25px; background: #222; color: #d5d5d5; } | |
dd a, dd a:visited { color: #a0a0a0; text-decoration: none; } |
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
/** | |
* Simple definition list styling for glossy-rails project | |
* see: https://github.com/hongymagic/glossy-rails | |
*/ | |
body { color: #222; font: normal normal 400 100%/140% Arial, sans-serif; background-image: linear-gradient(45deg, #444, #222); } | |
dl { margin: 1em auto; padding: 1em; width: 500px; } | |
dt, dd { margin: 0; padding: 0.2em 25px; background: #222; color: #d5d5d5; } | |
dd a, dd a:visited { color: #a0a0a0; text-decoration: none; } |
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
/** | |
* Simple definition list styling for glossy-rails project | |
* see: https://github.com/hongymagic/glossy-rails | |
*/ | |
body { color: #222; font: normal normal 400 200%/140% Arial, sans-serif; background-image: linear-gradient(45deg, #434343, #212121); } | |
h1, dl { margin: 15px auto; padding: 15px; width: 500px; } | |
dt, dd { margin: 0; padding: 0 25px; background: #222; color: #d5d5d5; } | |
dd a, dd a:visited { color: #a0a0a0; text-decoration: none; } |
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
/** | |
* Simple definition list styling for glossy-rails project | |
* see: https://github.com/hongymagic/glossy-rails | |
*/ | |
body { color: #222; font: normal normal 400 100%/140% Arial, sans-serif; background-image: linear-gradient(45deg, #444, #222); } | |
dl { margin: 1em auto; padding: 1em; width: 500px; position: relative; top: -1000px; } | |
dt, dd { margin: 0; padding: 0.2em 25px; background: #222; color: #d5d5d5; } | |
dd a, dd a:visited { color: #a0a0a0; text-decoration: none; } |
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
'use strict'; | |
/** | |
* Simple module define/require functionality | |
* | |
* NOTE: this is NOT requirejs | |
*/ | |
var modules = {}; |
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
{ | |
"name": "Traffic light craze!", | |
"engine": "go-no-go", | |
"sets": 5, | |
"set": 1, | |
"assets": { | |
"loading": { | |
"background-image": "/assets/go-no-go/traffic/loading.png" |
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
/* vim: set noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 autoindent smartindent: */ | |
/* jslint devel: false, browser: true, node: true, eqeq: true, white: true, passfail: true, plusplus: false, regexp: true, maxerr: 50, indent: 4 */ | |
// | |
// Pre.js 1.0.0 | |
// | |
// (c) 20011-2012 David Hong, @hongymagic. | |
// Underscore is freely distributable under the MIT license. | |
// Portions of Pre.js are inspired or borrowed from Prototype, | |
// Oliver Steele's Functional, and DocumentCloud's Underscore.js. |
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
// Simple stop watch implementation in JavaScript. Supports functions | |
// such as: | |
// | |
// > `start`, `reset`, `time`, `pause`, `unpause` | |
// | |
// See [this demo](https://tinker.io/6154e/3) for information | |
// | |
window.Timer = (function () { |
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
window.logger = (function (window) { | |
var document = window.document, | |
textarea = document.getElementById('log'), | |
counter = 1; | |
const DELIMETER = ''; | |
function log () { | |
var messages = [].slice.call(arguments); | |
messages.forEach(function (message, index) { |
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
/* vim: set noexpandtab ts=4 sw=4 ai si: */ | |
(function (window) { | |
var document = window.document, | |
body = document.body, | |
url = document.location, | |
// | |
// Watch for ready state change on <script> block, and trigger given | |
// callback when <script> has been loaded |