Selaa lähdekoodia

Typo: depricated -> deprecated

Caleb Porzio 5 vuotta sitten
vanhempi
commit
43656d2203
3 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 0 0
      dist/alpine.js
  2. 0 0
      dist/alpine.js.map
  3. 2 2
      src/component.js

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/alpine.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/alpine.js.map


+ 2 - 2
src/component.js

@@ -45,7 +45,7 @@ export default class Component {
         }
 
         if (createdExpression) {
-            console.warn('AlpineJS Warning: "x-created" is depricated and will be removed in the next major version. Use "x-init" instead.')
+            console.warn('AlpineJS Warning: "x-created" is deprecated and will be removed in the next major version. Use "x-init" instead.')
             this.pauseReactivity = true
             saferEvalNoReturn(this.$el.getAttribute('x-created'), this.$data)
             this.pauseReactivity = false
@@ -65,7 +65,7 @@ export default class Component {
         }
 
         if (mountedExpression) {
-            console.warn('AlpineJS Warning: "x-mounted" is depricated and will be removed in the next major version. Use "x-init" (with a callback return) for the same behavior.')
+            console.warn('AlpineJS Warning: "x-mounted" is deprecated and will be removed in the next major version. Use "x-init" (with a callback return) for the same behavior.')
             // Run an "x-mounted" hook to allow the user to do stuff after
             // Alpine's got it's grubby little paws all over everything.
             saferEvalNoReturn(mountedExpression, this.$data)

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä