Caleb Porzio há 5 anos atrás
pai
commit
db3c5a557e
2 ficheiros alterados com 2 adições e 5 exclusões
  1. 1 1
      README.md
  2. 1 4
      examples/index.html

+ 1 - 1
README.md

@@ -170,7 +170,7 @@ You can also mix-in multiple data objects using object destructuring:
 
 If you wish to run code AFTER Alpine has made its initial updates to the DOM (something like a `mounted()` hook in VueJS), you can return a callback from `x-init`, and it will be run after:
 
-`x-init="return () => { // we have access to the post-dom-initialization state here // }"`
+`x-init="() => { // we have access to the post-dom-initialization state here // }"`
 
 ---
 

+ 1 - 4
examples/index.html

@@ -14,10 +14,7 @@
             .ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
         </style>
 
-        <!-- Script for testing IE11 support: -->
-        <script src="/dist/alpine-ie11.js" defer></script>
-
-        <!-- <script src="/dist/alpine.js" defer></script> -->
+        <script src="/dist/alpine.js" defer></script>
     </head>
     <body>
         <table>