Просмотр исходного кода

Typo: depricated -> deprecated

Caleb Porzio 5 лет назад
Родитель
Сommit
43656d2203
3 измененных файлов с 2 добавлено и 2 удалено
  1. 0 0
      dist/alpine.js
  2. 0 0
      dist/alpine.js.map
  3. 2 2
      src/component.js

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
dist/alpine.js


Разница между файлами не показана из-за своего большого размера
+ 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)

Некоторые файлы не были показаны из-за большого количества измененных файлов