Daniel Tschinder b3372a572d Remove whitespace generation (#5833)
* Remove whitespace generation and rely on default printing

Changes to printing:
* Add newline after last empty SwitchCase
* Add newlines around block comments if they are non-flow comments or contain newlines

* Fix a few more fixtures
2017-06-27 21:57:02 -05:00

19 lines
417 B
JavaScript

define(["exports", "./evens"], function (exports, _evens) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isOdd = undefined;
exports.nextOdd = nextOdd;
function nextOdd(n) {
return (0, _evens.isEven)(n) ? n + 1 : n + 2;
}
var isOdd = exports.isOdd = function (isEven) {
return function (n) {
return !isEven(n);
};
}(_evens.isEven);
});