File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -28,22 +28,22 @@ function convert(schema, options) {
28
28
}
29
29
30
30
function convertSchema ( schema , options ) {
31
- var arrays = options . _structs
31
+ var structs = options . _structs
32
32
, notSupported = options . _notSupported
33
33
, i = 0
34
34
, j = 0
35
- , arr = null
35
+ , struct = null
36
36
;
37
37
38
- for ( i ; i < arrays . length ; i ++ ) {
39
- arr = arrays [ i ] ;
38
+ for ( i ; i < structs . length ; i ++ ) {
39
+ struct = structs [ i ] ;
40
40
41
- if ( Array . isArray ( schema [ arr ] ) ) {
42
- for ( j ; j < schema [ arr ] . length ; j ++ ) {
43
- schema [ arr ] [ j ] = convertSchema ( schema [ arr ] [ j ] , options ) ;
41
+ if ( Array . isArray ( schema [ struct ] ) ) {
42
+ for ( j ; j < schema [ struct ] . length ; j ++ ) {
43
+ schema [ struct ] [ j ] = convertSchema ( schema [ struct ] [ j ] , options ) ;
44
44
}
45
- } else if ( typeof schema [ arr ] === 'object' ) {
46
- schema [ arr ] = convertSchema ( schema [ arr ] , options ) ;
45
+ } else if ( typeof schema [ struct ] === 'object' ) {
46
+ schema [ struct ] = convertSchema ( schema [ struct ] , options ) ;
47
47
}
48
48
}
49
49
You can’t perform that action at this time.
0 commit comments