Skip to content

Instantly share code, notes, and snippets.

@adatta02
Created February 8, 2013 23:54
Show Gist options
  • Save adatta02/4742976 to your computer and use it in GitHub Desktop.
Save adatta02/4742976 to your computer and use it in GitHub Desktop.
var __p = '';
var print = function () {
__p += Array.prototype.join.call(arguments, '')
};
with(obj || {}) {
__p += '\n';
if (depth) {;
__p += '\n<div class=\'fib-box\' data-depth=\'' + (depth) + '\' style=\'width: ' + (val) + 'px; height: ' + (val) + 'px;\'></div>\n';
print(template(getFibObj(depth - 1)));
__p += '\n';
};
__p += '\n';
}
return __p;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment