Skip to content

Commit d43e24f

Browse files
authored
Merge pull request jbaysolutions#335 from pmorch/doc-update-fix-spelling
Doc update fix spelling
2 parents c91d225 + cb65a5e commit d43e24f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ Include the browser-ready bundle (download from [releases](https://github.com/jb
149149
:y="item.y"
150150
:w="item.w"
151151
:h="item.h"
152-
:i="item.i">
152+
:i="item.i"
153+
:key="item.i">
153154
{{item.i}}
154155
</grid-item>
155156
</grid-layout>
@@ -465,6 +466,7 @@ Working example [here](https://jbaysolutions.github.io/vue-grid-layout/examples/
465466
:w="item.w"
466467
:h="item.h"
467468
:i="item.i"
469+
:key="item.i"
468470
@resize="resizeEvent"
469471
@move="moveEvent"
470472
@resized="resizedEvent"

src/components/GridItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@
773773
pos.w = 1;
774774
}
775775
776-
// this.lastW = x; // basicly, this is copied from resizehandler, but shouldn't be needed
776+
// this.lastW = x; // basically, this is copied from resizehandler, but shouldn't be needed
777777
// this.lastH = y;
778778
779779
if (this.innerW !== pos.w || this.innerH !== pos.h) {

0 commit comments

Comments
 (0)