Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Jul 18, 2020
1 parent 95484d4 commit d6322b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/views/button/ButtonDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ import Button from 'primevue/button';
<Button>
Custom Content
</Button>
</CodeHighlight>
</CodeHighlight>

<h5>Properties</h5>
<p>Any property such as style and class are passed to the underlying button element. Following are the additional properties to configure the component.</p>
Expand Down
4 changes: 2 additions & 2 deletions src/views/icons/Icons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ export default {
axios.get('demo/data/icons.json').then(res => {
let icons = res.data.icons;
icons.sort((icon1, icon2) => {
if(icon1.properties.name < icon2.properties.name)
if(icon1.properties.name < icon2.properties.name)
return -1;
else if(icon1.properties.name < icon2.properties.name)
else if(icon1.properties.name < icon2.properties.name)
return 1;
else
return 0;
Expand Down

0 comments on commit d6322b7

Please sign in to comment.