Grammalecte  Check-in [6a18692390]

Overview
Comment:[build][js] fix import for helpers.js
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | build | graphspell
Files: files | file ages | folders
SHA3-256: 6a1869239083e0e3f2ab337cc4870dc46142f32387b42a4d6bbe193a0f1dbbe0
User & Date: olr on 2017-12-24 22:36:40
Other Links: branch diff | manifest | tags
Context
2017-12-25
08:52
[build][tb] fix imports for Thunderbird check-in: 5822c38ee9 user: olr tags: build, tb, graphspell
2017-12-24
22:36
[build][js] fix import for helpers.js check-in: 6a18692390 user: olr tags: build, graphspell
22:15
[tb] Thunderbird uses his own worker now check-in: ab82e044de user: olr tags: tb, graphspell
Changes

Modified gc_core/js/tests.js from [4504bb3576] to [7c35f52f2d].

1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
1
2
3
4
5
6
7
8

9
10
11
12
13
14
15
16








-
+







// JavaScript
/*jslint esversion: 6*/
/*global console,require,exports*/

"use strict";


if (typeof(require) !== 'undefined') {
    var helpers = require("resource://grammalecte/helpers.js");
    var helpers = require("resource://grammalecte/graphspell/helpers.js");
}


class TestGrammarChecking {

    constructor (gce, spfTests="") {
        this.gce = gce;

Modified gc_core/js/text.js from [abcdad5f85] to [09e0f281de].

1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
1
2
3
4
5
6
7
8

9
10
11
12
13
14
15
16








-
+







// JavaScript
/*jslint esversion: 6*/
/*global require,exports*/

"use strict";


if (typeof(require) !== 'undefined') {
    var helpers = require("resource://grammalecte/helpers.js");
    var helpers = require("resource://grammalecte/graphspell/helpers.js");
}


var text = {
    getParagraph: function* (sText, sSepParagraph = "\n") {
        // generator: returns paragraphs of text
        let iStart = 0;