Skip to content

Commit 5c3be81

Browse files
committed
rename propOut to valOut
1 parent 8d0b4cb commit 5c3be81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib/coerce.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,19 +408,19 @@ exports.coerce = function(containerIn, containerOut, attributes, attribute, dflt
408408
* returns false if there is no user input.
409409
*/
410410
exports.coerce2 = function(containerIn, containerOut, attributes, attribute, dflt) {
411-
var propOut = exports.coerce(containerIn, containerOut, attributes, attribute, dflt);
411+
var valOut = exports.coerce(containerIn, containerOut, attributes, attribute, dflt);
412412

413413
var attr = attributes[attribute];
414414
var theDefault = (dflt !== undefined) ? dflt : (attr || {}).dflt;
415415
if(
416416
theDefault !== undefined &&
417-
theDefault !== propOut
417+
theDefault !== valOut
418418
) {
419-
return propOut;
419+
return valOut;
420420
}
421421

422422
var valIn = nestedProperty(containerIn, attribute).get();
423-
return (valIn !== undefined && valIn !== null) ? propOut : false;
423+
return (valIn !== undefined && valIn !== null) ? valOut : false;
424424
};
425425

426426
/*

0 commit comments

Comments
 (0)