Skip to content

Commit

Permalink
fix(docs): button update example (#804)
Browse files Browse the repository at this point in the history
Remove use of reserved word `var`
  • Loading branch information
tmorehouse authored Aug 10, 2017
1 parent ddbf42b commit fb375aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/components/button/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

```html
<div class="row">
<template v-for="var in ['primary','secondary','success','outline-success','warning','danger','link']">
<template v-for="variant in ['primary','secondary','success','outline-success','warning','danger','link']">
<div class="col-md-4 pb-2" v-for="size in ['sm','','lg']">
<b-button :size="size" :variant="var">
<b-button :size="size" :variant="variant">
{{variant}} {{size}}
</b-button>
</div>
Expand Down

0 comments on commit fb375aa

Please sign in to comment.