Browse Source

Update README.md typo, added missing =

Added missing = under x-init section
Ben Nash 5 years ago
parent
commit
8a15729bb8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

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