Skip to content

Instantly share code, notes, and snippets.

@mnmly
mnmly / JS.js
Created January 11, 2012 01:14 — forked from johanbrook/JS.js
// Page init code is at the bottom
var Map = (function(map, $){
var exports = map || {};
var geo = new google.maps.Geocoder(),
geocode = {
address: [ config.project_location.street,
config.project_location.city,
config.project_location.country].join(", ")
@mnmly
mnmly / coffee-stained-paper.js
Created August 23, 2011 05:57 — forked from j4mie/example.html
A tiny shim for Paper.js/CoffeeScript prototyping
window.stainedPaper = function (func) {
var canvas = document.createElement('canvas');
document.body.appendChild(canvas);
paper.setup(canvas);
func.call(paper);
};