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 () {
193193 */
194194
195195function getValue ( el , multi ) {
196- var i = el . options . length
197196 var res = multi ? [ ] : null
198197 var op , val
199198 for ( var i = 0 , l = el . options . length ; i < l ; i ++ ) {
@@ -237,5 +236,7 @@ function indexOf (arr, val) {
237236 */
238237
239238function equals ( a , b ) {
239+ /* eslint-disable eqeqeq */
240240 return a == b || JSON . stringify ( a ) == JSON . stringify ( b )
241+ /* eslint-enable eqeqeq */
241242}
Original file line number Diff line number Diff line change @@ -78,11 +78,8 @@ Observer.create = function (value, vm) {
7878Observer . prototype . walk = function ( obj ) {
7979 var keys = Object . keys ( obj )
8080 var i = keys . length
81- var key , prefix
8281 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 ] ] )
8683 }
8784}
8885
You can’t perform that action at this time.
0 commit comments