Example #1
0
function Static(docroot) {

    scylla.Base.call(this);

    if (typeof docroot === "string") {
        docroot = [ docroot ];
    }

    this.docroot = docroot.map(function(dir) {
        return path.join(process.cwd(), dir);
    });

}
Example #2
0
function NameDemo(name) {
    scylla.Base.call(this);
    this.name = name;
}