Grammalecte  Check-in [866f1c680d]

Overview
Comment:[core][js] capitalization for errors
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | core
Files: files | file ages | folders
SHA3-256: 866f1c680d991fe00710ed078c0605f6fa63209c9367982f1df3690cf170a3ed
User & Date: olr on 2018-11-23 10:49:00
Other Links: manifest | tags
Context
2018-11-23
14:16
[fr] faux positifs check-in: a125fd85a2 user: olr tags: trunk, fr
10:49
[core][js] capitalization for errors check-in: 866f1c680d user: olr tags: trunk, core
10:45
[core][py] capitalization for errors check-in: 095697c359 user: olr tags: trunk, core
Changes

Modified gc_core/js/lang_core/gc_engine.js from [5c503d2a3c] to [d6a8dae82e].

26
27
28
29
30
31
32
33

34
35
36
37
38
39
40
26
27
28
29
30
31
32

33
34
35
36
37
38
39
40







-
+







}


function capitalizeArray (aArray) {
    // can’t map on user defined function??
    let aNew = [];
    for (let i = 0; i < aArray.length; i = i + 1) {
        aNew[i] = aArray[i].gl_toCapitalize();
        aNew[i] = aArray[i].slice(0,1).toUpperCase() + aArray[i].slice(1);
    }
    return aNew;
}


// data
let _sAppContext = "";                                  // what software is running