node_modules/botbuilder/node_modules/chrono-node/out.js
// TODO: remove 'name' arg after deprecation is removed
remove 'name' arg after deprecation is removed
remove ' name ' arg after deprecation is removed
function createAdder(direction, name) {
	        return function (val, period) {
	            var dur, tmp;
	            if (period !== null && !isNaN(+period)) {
	                deprecateSimple(name, 'moment().' + name  + '(period, number) is deprecated. Please use moment().' + name + '(number, period).');
	                tmp = val; val = period; period = tmp;
	            }
	            val = typeof val === 'string' ? +val : val;
	            dur = moment.duration(val, period);
	            addOrSubtractDurationFromMoment(this, dur, direction);
	            return this;
	        };
	    }
function createAdder ( direction , name ) { return function ( val , period ) { var dur , tmp ; if ( period !== null && ! isNaN ( + period ) ) { deprecateSimple ( name , 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period).' ) ; tmp = val ; val = period ; period = tmp ; } val = typeof val === 'string' ? + val : val ; dur = moment . duration ( val , period ) ; addOrSubtractDurationFromMoment ( this , dur , direction ) ; return this ; } ; }
TODO: remove 'name' arg after deprecation is removed
TODO : remove ' name ' arg after deprecation is removed
//invert the arguments, but complain about it