File tree 6 files changed +25
-666
lines changed
6 files changed +25
-666
lines changed Original file line number Diff line number Diff line change @@ -109,24 +109,19 @@ var withDefault = function withDefault(type) {
109
109
warn ( this . _vueTypes_name + " - invalid default value: \"" + def + "\"" , def ) ;
110
110
return this ;
111
111
}
112
- < << << << HEAD
113
112
114
- this . default = isArray ( def ) || ( 0 , _isPlainObject . default ) ( def ) ? function ( ) {
115
- return def ;
116
- } : def ;
117
- = === ===
118
113
if ( isArray ( def ) ) {
119
114
this . default = function ( ) {
120
- return [ ] . concat ( def ) ;
115
+ return def . concat ( ) ;
121
116
} ;
122
- } else if ( ( 0 , _lodash2 . default ) ( def ) ) {
117
+ } else if ( ( 0 , _isPlainObject . default ) ( def ) ) {
123
118
this . default = function ( ) {
124
119
return Object . assign ( { } , def ) ;
125
120
} ;
126
121
} else {
127
122
this . default = def ;
128
123
}
129
- > >>> >>> 5769 a2c3b502e79499fbd1de6a4c2542b7ea4d7e
124
+
130
125
return this ;
131
126
} ,
132
127
enumerable : false ,
Original file line number Diff line number Diff line change @@ -78,15 +78,10 @@ export var withDefault = function withDefault(type) {
78
78
warn ( this . _vueTypes_name + " - invalid default value: \"" + def + "\"" , def ) ;
79
79
return this ;
80
80
}
81
- < << << << HEAD
82
81
83
- this . default = isArray ( def ) || isPlainObject ( def ) ? function ( ) {
84
- return def ;
85
- } : def ;
86
- = === ===
87
82
if ( isArray ( def ) ) {
88
83
this . default = function ( ) {
89
- return [ ] . concat ( def ) ;
84
+ return def . concat ( ) ;
90
85
} ;
91
86
} else if ( isPlainObject ( def ) ) {
92
87
this . default = function ( ) {
@@ -95,7 +90,7 @@ export var withDefault = function withDefault(type) {
95
90
} else {
96
91
this . default = def ;
97
92
}
98
- > >>> >>> 5769 a2c3b502e79499fbd1de6a4c2542b7ea4d7e
93
+
99
94
return this ;
100
95
} ,
101
96
enumerable : false ,
You can’t perform that action at this time.
0 commit comments