Skip to content

Commit

Permalink
Change const to var
Browse files Browse the repository at this point in the history
  • Loading branch information
screendriver committed Nov 27, 2018
1 parent ed3c3b5 commit b634a41
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion source/none.js
Expand Up @@ -28,7 +28,7 @@ import all from './all';
* R.none(isEven, [1, 3, 5, 7, 9, 11]); //=> true
* R.none(isOdd, [1, 3, 5, 7, 8, 11]); //=> false
*/
const none = _curry2(function none(fn, input) {
var none = _curry2(function none(fn, input) {
return all(_complement(fn), input);
});
export default none;
2 changes: 1 addition & 1 deletion source/otherwise.js
Expand Up @@ -29,7 +29,7 @@ import _assertPromise from './internal/_assertPromise';
* );
* recoverFromFailure(12345).then(console.log)
*/
const otherwise = _curry2(function otherwise(f, p) {
var otherwise = _curry2(function otherwise(f, p) {
_assertPromise('otherwise', p);

return p.then(null, f);
Expand Down
4 changes: 2 additions & 2 deletions source/pipeWith.js
Expand Up @@ -32,8 +32,8 @@ var pipeWith = _curry2(function pipeWith(xf, list) {
return identity;
}

const headList = head(list);
const tailList = tail(list);
var headList = head(list);
var tailList = tail(list);

return _arity(headList.length, function() {
return _reduce(
Expand Down
2 changes: 1 addition & 1 deletion source/then.js
Expand Up @@ -27,7 +27,7 @@ import _assertPromise from './internal/_assertPromise';
* R.then(R.pick(['firstName', 'lastName']))
* );
*/
const then = _curry2(function then(f, p) {
var then = _curry2(function then(f, p) {
_assertPromise('then', p);

return p.then(f);
Expand Down
2 changes: 1 addition & 1 deletion source/thunkify.js
Expand Up @@ -20,7 +20,7 @@ import _curry1 from './internal/_curry1';
*/
var thunkify = _curry1(function thunkify(fn) {
return curryN(fn.length, function createThunk() {
const fnArgs = arguments;
var fnArgs = arguments;
return function invokeThunk() {
return fn.apply(this, fnArgs);
};
Expand Down

0 comments on commit b634a41

Please sign in to comment.