Overview
| Comment: | [core][js] use typeof(require) instead of typeof(exports) | 
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive | 
| Timelines: | family | ancestors | descendants | both | core | webext2 | 
| Files: | files | file ages | folders | 
| SHA3-256: | 
b844f2ba25c52d87ab6dde4170e4ca41 | 
| User & Date: | olr on 2017-08-08 17:44:00 | 
| Other Links: | branch diff | manifest | tags | 
Context
| 
   2017-08-09 
 | ||
| 06:46 | [core][js] merge webext2_fix: better init, mimetype for JSON loading, comments for JSHint check-in: 2591cec595 user: olr tags: core, webext2 | |
| 
   2017-08-08 
 | ||
| 17:51 | [fx] merge webext2 check-in: 5a4cc905e2 user: IllusionPerdu tags: fx, webext2_fix | |
| 17:44 | [core][js] use typeof(require) instead of typeof(exports) check-in: b844f2ba25 user: olr tags: core, webext2 | |
| 17:25 | [fx] conjugueur: panneau et onglet check-in: 1f91810c3d user: olr tags: fx, webext2 | |
| 16:49 | [core][fr] change typeof(exports) before the require block check-in: 6c8ee6edcf user: IllusionPerdu tags: core, webext2_fix | |
Changes
Modified gc_core/js/text.js from [46a1749c2b] to [2699625d4c].
1 2 3 4 5  | // JavaScript "use strict";  | |  | 1 2 3 4 5 6 7 8 9 10 11 12 13  | 
// JavaScript
"use strict";
if (typeof(require) !== 'undefined') {
    var helpers = require("resource://grammalecte/helpers.js");
}
var text = {
    getParagraph: function* (sText) {
        // generator: returns paragraphs of text
 | 
| ︙ | ︙ | 
Modified gc_core/js/tokenizer.js from [fcd058bf6a] to [c0e5d0e035].
1 2 3 4 5 6  | // JavaScript // Very simple tokenizer "use strict";  | |  | 1 2 3 4 5 6 7 8 9 10 11 12 13 14  | 
// JavaScript
// Very simple tokenizer
"use strict";
if (typeof(require) !== 'undefined') {
    var helpers = require("resource://grammalecte/helpers.js");
}
const aTkzPatterns = {
    // All regexps must start with ^.
    "default":
 | 
| ︙ | ︙ | 
Modified gc_lang/fr/modules-js/gce_suggestions.js from [db0ba9f8a1] to [b1d136482e].
1 2  | //// GRAMMAR CHECKING ENGINE PLUGIN: Suggestion mechanisms  | |  | 1 2 3 4 5 6 7 8 9 10  | 
//// GRAMMAR CHECKING ENGINE PLUGIN: Suggestion mechanisms
if (typeof(require) !== 'undefined') {
    var conj = require("resource://grammalecte/fr/conj.js");
    var mfsp = require("resource://grammalecte/fr/mfsp.js");
    var phonet = require("resource://grammalecte/fr/phonet.js");
}
//// verbs
 | 
| ︙ | ︙ | 
Modified gc_lang/fr/modules-js/lexicographe.js from [a348883011] to [9672629a43].
1 2 3 4 5 6 7 8 9  | 
// Grammalecte - Lexicographe
// License: MPL 2
"use strict";
${string}
${map}
 | |  | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  | 
// Grammalecte - Lexicographe
// License: MPL 2
"use strict";
${string}
${map}
if (typeof(require) !== 'undefined') {
    var helpers = require("resource://grammalecte/helpers.js");
}
const _dTAGS = new Map ([
    [':G', "[mot grammatical]"],
    [':N', " nom,"],
    [':A', " adjectif,"],
 | 
| ︙ | ︙ |