mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
resolving merge conflict.
This commit is contained in:
@@ -1409,20 +1409,20 @@
|
||||
};
|
||||
Op.prototype.compileNode = function(o) {
|
||||
var _ref2, ifn;
|
||||
if (this.isChainable() && this.first.unwrap().isChainable()) {
|
||||
return this.compileChain(o);
|
||||
}
|
||||
if (this.isUnary()) {
|
||||
if ((_ref2 = this.operator, __indexOf.call(this.MUTATORS, _ref2) >= 0) && (ifn = If.unfoldSoak(o, this, 'first'))) {
|
||||
return ifn.compile(o);
|
||||
}
|
||||
return this.compileUnary(o);
|
||||
}
|
||||
if (this.isChainable() && this.first.unwrap().isChainable()) {
|
||||
return this.compileChain(o);
|
||||
}
|
||||
if (this.operator === '?') {
|
||||
return this.compileExistence(o);
|
||||
}
|
||||
this.first.tags.front = this.tags.front;
|
||||
return [this.first.compile(o), this.operator, this.second.compile(o)].join(' ');
|
||||
return "" + (this.first.compile(o)) + " " + (this.operator) + " " + (this.second.compile(o));
|
||||
};
|
||||
Op.prototype.compileChain = function(o) {
|
||||
var _ref2, _ref3, first, second, shared;
|
||||
|
||||
Reference in New Issue
Block a user