Przeglądaj źródła

Merge pull request #61 from lancebutler2/update-readme

include missing equals sign in example.
Caleb Porzio 5 lat temu
rodzic
commit
963c5d62a4
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -170,7 +170,7 @@ You can also mix-in multiple data objects using object destructuring:
 ---
 
 ### `x-created`
-**Example:** `<div x-data"{ foo: 'bar' }" x-created="foo = 'baz"></div>`
+**Example:** `<div x-data="{ foo: 'bar' }" x-created="foo = 'baz"></div>`
 
 **Structure:** `<div x-data="..." x-created="[expression]"></div>`
 
@@ -179,7 +179,7 @@ You can also mix-in multiple data objects using object destructuring:
 ---
 
 ### `x-mounted`
-**Example:** `<div x-data"{ foo: 'bar' }" x-mounted="foo = 'baz"></div>`
+**Example:** `<div x-data="{ foo: 'bar' }" x-mounted="foo = 'baz"></div>`
 
 **Structure:** `<div x-data="..." x-mounted="[expression]"></div>`