- Header
- Brief description (should match package.json)
- Example (if applicable)
- Motivation (if applicable)
- API Documentation: This will likely vary considerably from library to library.
- Installation
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
{ type: 'module', | |
name: 'cluster', | |
desc: 'The long html description thing at the beginning, examples, etc.', | |
events: | |
[ { type: 'event', | |
name: 'fork', | |
arguments: [ { name: 'worker', type: 'object', class: 'Worker' } ], | |
desc: 'blahblah long html description' }, | |
{ type: 'event', | |
name: 'ready', |
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
require 'rubygems' | |
require 'bundler' | |
Bundler.require | |
require './application' | |
namespace :assets do | |
desc 'compile assets' | |
task :compile => [:compile_js, :compile_css] do | |
end |
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
// ======================================================================== | |
// bootstrap-builder v0.1.0 | |
// http://twitter.github.com/bootstrap | |
// ======================================================================== | |
// Copyright 2011 Twitter, Inc. | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// |
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
language: node_js | |
node_js: | |
- 0.4 | |
- 0.6 |
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
Day | |
--- | |
%a weekday, abbreviated Tue | |
%A weekday, full Tuesday | |
%d day of the month (dd), zero padded 22 | |
%e day of the month (dd) 22 | |
%j day of year, zero padded 001-366 | |
%u day of week starting with Monday (1), i.e. mtwtfss 2 | |
%w day of week starting with Sunday (0), i.e. smtwtfs 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
# before this file is loaded, a locale should be set: | |
# | |
# In a browser environment, you can use: | |
# ```<script>__locale='en';</script>``` | |
# | |
# In a server environment (specifically node.js): | |
# ```global.__locale = 'en';``` | |
# normalize in-app locale string to "en" or "de-AT" | |
parts = @__locale.split('-') |
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
{ | |
"passfail": false, | |
"maxerr": 100, | |
"browser": true, | |
"node": true, | |
"rhino": false, | |
"couch": true, | |
"wsh": true, | |
"jquery": true, |
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
// Iterate over a bunch of elements. | |
$(":header, p, li").each(function() { | |
// The current element. | |
var elem = $(this); | |
// A copy of the current element that will take its place in the DOM during | |
// the animation. | |
var copy = elem.clone().replaceAll(elem); | |
// The element's text content. To be animated, character-by-character. | |
var text = copy.text(); | |