Quellcode durchsuchen

change value of object property

Keyur Shah vor 5 Jahren
Ursprung
Commit
8a71c2fc41
5 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 0 0
      dist/alpine-ie11.js
  2. 0 0
      dist/alpine-ie11.js.map
  3. 0 0
      dist/alpine.js
  4. 0 0
      dist/alpine.js.map
  5. 3 3
      src/component.js

Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
dist/alpine-ie11.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
dist/alpine-ie11.js.map


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
dist/alpine.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
dist/alpine.js.map


+ 3 - 3
src/component.js

@@ -20,9 +20,9 @@ export default class Component {
 
         // For IE11, add our magic properties to the original data for access.
         // Since the polyfill proxy does not allow properties to be added after creation 
-        unobservedData.$el = ''
-        unobservedData.$refs = ''
-        unobservedData.$nextTick = ''
+        unobservedData.$el = null 
+        unobservedData.$refs = null 
+        unobservedData.$nextTick = null 
 
         // Construct a Proxy-based observable. This will be used to handle reactivity.
         this.$data = this.wrapDataInObservable(unobservedData)

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.