Lint fixes

pull/411/head 2.0.3
cagataycivici 2020-07-18 15:42:01 +03:00
parent 95484d43a4
commit d6322b78ee
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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;