5ee0209e8a
-v, --version print node's version --debug[=port] enable remote debugging via given TCP port --debug-brk[=port] as above, but break in node.js and wait for remote debugger to connect --cflags print pre-processor and compiler flags --v8-options print v8 command line options Documentation can be found at http://nodejs.org/api.html or with 'man node', as it's, um, used by node. Use instead. Also moved tree.node requires in tree.js
11 lines
335 B
JavaScript
11 lines
335 B
JavaScript
if (typeof(window) === 'undefined') { var tree = require(require('path').join(__dirname, '..', '..', 'less', 'tree')); }
|
|
|
|
tree.Alpha = function Alpha(val) {
|
|
this.value = val;
|
|
};
|
|
tree.Alpha.prototype = {
|
|
toCSS: function () {
|
|
return "alpha(opacity=" + (this.value.toCSS ? this.value.toCSS() : this.value + ")");
|
|
}
|
|
};
|