File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,6 @@ function checkInitialValue () {
193
193
*/
194
194
195
195
function getValue ( el , multi ) {
196
- var i = el . options . length
197
196
var res = multi ? [ ] : null
198
197
var op , val
199
198
for ( var i = 0 , l = el . options . length ; i < l ; i ++ ) {
@@ -237,5 +236,7 @@ function indexOf (arr, val) {
237
236
*/
238
237
239
238
function equals ( a , b ) {
239
+ /* eslint-disable eqeqeq */
240
240
return a == b || JSON . stringify ( a ) == JSON . stringify ( b )
241
+ /* eslint-enable eqeqeq */
241
242
}
Original file line number Diff line number Diff line change @@ -78,11 +78,8 @@ Observer.create = function (value, vm) {
78
78
Observer . prototype . walk = function ( obj ) {
79
79
var keys = Object . keys ( obj )
80
80
var i = keys . length
81
- var key , prefix
82
81
while ( i -- ) {
83
- key = keys [ i ]
84
- prefix = key . charCodeAt ( 0 )
85
- this . convert ( key , obj [ key ] )
82
+ this . convert ( keys [ i ] , obj [ keys [ i ] ] )
86
83
}
87
84
}
88
85
You can’t perform that action at this time.
0 commit comments