Skip to content

Commit

Permalink
Merge pull request #9 from vue-bulma/develop
Browse files Browse the repository at this point in the history
[fix] downgrade all grammar to es5
  • Loading branch information
netpi authored Mar 16, 2017
2 parents 49cf6ef + b703897 commit cc71ae8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-bulma-pagination",
"version": "1.1.2",
"version": "1.1.3",
"description": "Pagination component for Vue Bulma",
"main": "src/index.js",
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/Pagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export default {
},
methods: {
getNavClassName () {
const optional = ['','is-centered','is-right']
if( optional.findIndex( item => item == this.modifiers.trim() ) >= 0 ){
var optional = ['','is-centered','is-right']
if(['','is-centered','is-right'].indexOf(this.modifiers) > 0){
return 'pagination ' + this.modifiers
} else {
console.warn(" modifiers %s is not within the options ", this.modifiers, optional,
Expand Down

0 comments on commit cc71ae8

Please sign in to comment.