JasonWyatt

This blog is full of stuff, and things.

Find my resume.

permalink

Pop Docs: Aqua Teen Hunger Force in dojo.mixin()

This isn’t the first time I’ve seen fun references to pop culture/nerdcore in software documentation, but it is the first time (of hopefully, many) I’ve blogged about it.

While looking up the details about dojo’s mixin utility method, dojo.mixin(target, source), I noticed one of their examples had a reference to Adult Swim’s Aqua Teen Hunger Force cartoon:

Example 3

copy in properties from multiple objects

var flattened = dojo.mixin(
    {
        name: "Frylock",
        braces: true
    },
    {
        name: "Carl Brutanananadilewski"
    }
);

// will print "Carl Brutanananadilewski"
console.log(flattened.name);
// will print "true"
console.log(flattened.braces);

From Dojotoolkit.org’s dojo.mixin(..) documentation.

blog comments powered by Disqus