File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -211,9 +211,9 @@ function formatAccessor(key) {
211
211
if ( identRE . test ( key ) ) { // identifier
212
212
return '.' + key
213
213
} else if ( + key === key >>> 0 ) { // bracket index
214
- return '[' + key + ']' ;
214
+ return '[' + key + ']'
215
215
} else { // bracket string
216
- return '["' + key . replace ( / " / g, '\\"' ) + '"]' ;
216
+ return '["' + key . replace ( / " / g, '\\"' ) + '"]'
217
217
}
218
218
}
219
219
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ var capitalCamelRE = /(?:^|[-_])(\w)/g
69
69
exports . camelize = function ( str , cap ) {
70
70
var RE = cap ? capitalCamelRE : camelRE
71
71
return str . replace ( RE , function ( _ , c ) {
72
- return c ? c . toUpperCase ( ) : '' ;
72
+ return c ? c . toUpperCase ( ) : ''
73
73
} )
74
74
}
75
75
You can’t perform that action at this time.
0 commit comments