Revision 8a8e9df7
configure | ||
---|---|---|
80 | 80 |
|
81 | 81 |
install: |
82 | 82 |
if test -n "\$(DESTDIR)"; then \\ |
83 |
$WAF install --yes --destdir="\$(DESTDIR)" ; \\
|
|
83 |
$WAF install --destdir="\$(DESTDIR)" ; \\ |
|
84 | 84 |
else \\ |
85 |
$WAF install --yes ; \\
|
|
85 |
$WAF install ; \\ |
|
86 | 86 |
fi; |
87 | 87 |
|
88 | 88 |
uninstall: |
src/file.js | ||
---|---|---|
40 | 40 |
} |
41 | 41 |
|
42 | 42 |
File.prototype.puts = function (data, callback) { |
43 |
this.write(data + "\n", callback); |
|
43 |
this.write(data + "\n", -1, callback); |
|
44 |
}; |
|
45 |
|
|
46 |
File.prototype.print = function (data, callback) { |
|
47 |
this.write(data, -1, callback); |
|
44 | 48 |
}; |
45 | 49 |
|
46 | 50 |
File.prototype.open = function (path, mode, callback) { |
src/main.js | ||
---|---|---|
126 | 126 |
function finish() { |
127 | 127 |
//node.debug("finish 1 load <" + filename + ">"); |
128 | 128 |
if (scaffold.onLoad instanceof Function) { |
129 |
//node.debug("foo bar <" + filename + ">");
|
|
129 |
//node.debug("calling onLoad for <" + filename + ">");
|
|
130 | 130 |
scaffold.onLoad(); |
131 | 131 |
} |
132 | 132 |
//node.debug("finish 2 load <" + filename + ">"); |
Also available in: Unified diff