Skip to content

Instantly share code, notes, and snippets.

View futuredarrell's full-sized avatar

Darrell Stephenson futuredarrell

View GitHub Profile
@futuredarrell
futuredarrell / gist:1498982
Created December 19, 2011 21:32
Trying to map element functions to scope of function
var html = function(template){
var fragment = document.createDocumentFragment()
, body = template.toString()
, num = body.indexOf('{')
, d = {}
, emap
, render
, elements;
// the ugly
@futuredarrell
futuredarrell / mashup.html
Created June 14, 2012 16:58
barbones-mashupper
<html>
<head>
<title>mashupper</title>
</head>
<body>
<div id="mashup-left" style="width: 50%; float: left">
</div>
<div id="mashup-right" style="width: 50%; float: left">
</div>