I wouldn't be so alone
If my Github followers lived in my home
Alex Russell would send a pull request
But I'd be too busy
Return to San Francisco by nine
-- copy.lua | |
-- | |
-- Lua functions of varying complexity to deep copy tables. | |
-- | |
-- 1. The Problem. | |
-- | |
-- Here's an example to see why deep copies are useful. Let's | |
-- say function f receives a table parameter t, and it wants to |
I wouldn't be so alone
If my Github followers lived in my home
Alex Russell would send a pull request
But I'd be too busy
Return to San Francisco by nine
/** | |
tree.js - nice ascii-art DOM trees | |
usage: tree(element[, options]); | |
example: | |
var s = tree(document.body,{ | |
serialize: function(element){...}, // return a string representation such as "div#foo.bar" | |
filter: function(element){...} // return false for any nodes to not include in tree | |
}); | |
console.log(s); | |
*/ |