Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Hai Nguyen committed Dec 3, 2014
1 parent 20c4c61 commit 65001a6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions docs/src/app/components/master.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ var Master = React.createClass({
render: function() {

var title =
(this.isActive('get-started')) ? 'Get Started' :
(this.isActive('css-framework')) ? 'Css Framework' :
(this.isActive('components')) ? 'Components' : '';
this.isActive('get-started') ? 'Get Started' :
this.isActive('css-framework') ? 'Css Framework' :
this.isActive('components') ? 'Components' : '';

return (
<AppCanvas predefinedLayout={1}>
Expand Down
10 changes: 6 additions & 4 deletions src/js/flat-button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ var FlatButton = React.createClass({
},

render: function() {
var {
className,
onTouchTap,
...other } = this.props,
var
{
className,
onTouchTap,
...other
} = this.props,
classes = this.getClasses('mui-flat-button', {
'mui-is-primary': this.props.primary
});
Expand Down
6 changes: 3 additions & 3 deletions src/less/components/flat-button.less
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@
}

&.mui-is-keyboard-focused {
.mui-flat-button-focus-ripple {
background-color: @flat-button-primary-focus-ripple-color;
.mui-flat-button-focus-ripple {
background-color: @flat-button-primary-focus-ripple-color;
}
}
}
}

}

0 comments on commit 65001a6

Please sign in to comment.