Skip to content

Commit

Permalink
Noop: Add back-references to new issue #13
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley B committed Oct 17, 2019
1 parent d83888c commit 2ca9004
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/plain/components/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ function updateOutputs( input ) {
`) ];

outputs.forEach( ( output ) => {
// 13: Determine and evaluate type of value
const value = input.value; // RFE: Format value via a function
setValue( value, output );
assignClassFromValue( value, output );
Expand Down
1 change: 1 addition & 0 deletions src/react/components/AttributeInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function AttributeInput( props ) {
}
React.useEffect(() => {
if ( onChange ) onChange( value );
// 13: Determine and evaluate type of value
setSignClassName( ( value > 0 ) ? CLASSNAMES.pos : CLASSNAMES.neg );
}, [ value ]);

Expand Down

0 comments on commit 2ca9004

Please sign in to comment.