Subversion Repositories oidplus

Rev

Rev 637 | Rev 759 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 637 Rev 679
Line 2... Line 2...
2
 * Copyright (c) Tiny Technologies, Inc. All rights reserved.
2
 * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3
 * Licensed under the LGPL or a commercial license.
3
 * Licensed under the LGPL or a commercial license.
4
 * For LGPL see License.txt in the project root for license information.
4
 * For LGPL see License.txt in the project root for license information.
5
 * For commercial licenses see https://www.tiny.cloud/
5
 * For commercial licenses see https://www.tiny.cloud/
6
 *
6
 *
7
 * Version: 5.9.2 (2021-09-08)
7
 * Version: 5.10.2 (2021-11-17)
8
 */
8
 */
9
(function () {
9
(function () {
10
    'use strict';
10
    'use strict';
11
 
11
 
12
    var Cell = function (initial) {
12
    var Cell = function (initial) {
Line 647... Line 647...
647
          throw new Error(firstError.message + ':\n' + JSON.stringify(firstError.pattern, null, 2));
647
          throw new Error(firstError.message + ':\n' + JSON.stringify(firstError.pattern, null, 2));
648
        }
648
        }
649
        patternsState.set(createPatternSet(normalized.values));
649
        patternsState.set(createPatternSet(normalized.values));
650
      };
650
      };
651
      var getPatterns = function () {
651
      var getPatterns = function () {
652
        return __spreadArray(__spreadArray([], map(patternsState.get().inlinePatterns, denormalizePattern)), map(patternsState.get().blockPatterns, denormalizePattern));
652
        return __spreadArray(__spreadArray([], map(patternsState.get().inlinePatterns, denormalizePattern), true), map(patternsState.get().blockPatterns, denormalizePattern), true);
653
      };
653
      };
654
      return {
654
      return {
655
        setPatterns: setPatterns,
655
        setPatterns: setPatterns,
656
        getPatterns: getPatterns
656
        getPatterns: getPatterns
657
      };
657
      };