Sha256: 67bf7efc9a7d001acd1d0e635b83d9ad45fb259c5044141ed91975497304c9da

Contents?: true

Size: 921 Bytes

Versions: 101

Compression:

Stored size: 921 Bytes

Contents

{{# def.definitions }}
{{# def.errors }}
{{# def.setupKeyword }}
{{# def.setupNextLevel }}

{{
  var $noEmptySchema = $schema.every(function($sch) {
    return {{# def.nonEmptySchema:$sch }};
  });
}}
{{? $noEmptySchema }}
  {{ var $currentBaseId = $it.baseId; }}
  var {{=$errs}} = errors;
  var {{=$valid}} = false;

  {{# def.setCompositeRule }}

  {{~ $schema:$sch:$i }}
    {{
      $it.schema = $sch;
      $it.schemaPath = $schemaPath + '[' + $i + ']';
      $it.errSchemaPath = $errSchemaPath + '/' + $i;
    }}

    {{# def.insertSubschemaCode }}

    {{=$valid}} = {{=$valid}} || {{=$nextValid}};

    if (!{{=$valid}}) {
    {{ $closingBraces += '}'; }}
  {{~}}

  {{# def.resetCompositeRule }}

  {{= $closingBraces }}

  if (!{{=$valid}}) {
    {{# def.extraError:'anyOf' }}
  } else {
    {{# def.resetErrors }}
  {{? it.opts.allErrors }} } {{?}}
{{??}}
  {{? $breakOnError }}
    if (true) {
  {{?}}
{{?}}

Version data entries

101 entries across 58 versions & 8 rubygems

Version Path
disco_app-0.18.4 test/dummy/node_modules/sass-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.18.4 test/dummy/node_modules/file-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.18.4 test/dummy/node_modules/css-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.18.4 test/dummy/node_modules/compression-webpack-plugin/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.18.4 test/dummy/node_modules/babel-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.18.1 test/dummy/node_modules/style-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.18.1 test/dummy/node_modules/sass-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.18.1 test/dummy/node_modules/file-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.18.1 test/dummy/node_modules/css-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.18.1 test/dummy/node_modules/compression-webpack-plugin/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.18.1 test/dummy/node_modules/babel-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.18.1 test/dummy/node_modules/@rails/webpacker/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@rails/webpacker/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/babel-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/compression-webpack-plugin/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/css-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/file-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/sass-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/style-loader/node_modules/ajv/lib/dot/anyOf.jst
disco_app-0.14.0 test/dummy/node_modules/sass-loader/node_modules/ajv/lib/dot/anyOf.jst