Browse Source

revert change and create as a separate PR later (not ie11 related)

Keyur Shah 5 years ago
parent
commit
41247cdb45
5 changed files with 1 additions and 1 deletions
  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. 1 1
      src/directives/bind.js

File diff suppressed because it is too large
+ 0 - 0
dist/alpine-ie11.js


File diff suppressed because it is too large
+ 0 - 0
dist/alpine-ie11.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/alpine.js


File diff suppressed because it is too large
+ 0 - 0
dist/alpine.js.map


+ 1 - 1
src/directives/bind.js

@@ -5,7 +5,7 @@ export function handleAttributeBindingDirective(component, el, attrName, express
 
 
     if (attrName === 'value') {
     if (attrName === 'value') {
         // If nested model key is undefined, set the default value to empty string.
         // If nested model key is undefined, set the default value to empty string.
-        if (value === undefined && (expression.match(/\./) || []).length) {
+        if (value === undefined && expression.match(/\./).length) {
             value = ''
             value = ''
         }
         }
 
 

Some files were not shown because too many files changed in this diff