Grammalecte  Diff

Differences From Artifact [8c06e3086c]:

To Artifact [fd656c9d96]:


139
140
141
142
143
144
145
146
147


148
149
150
151
152
153


154
155
156
157
158
159
160
139
140
141
142
143
144
145


146
147
148
149
150
151


152
153
154
155
156
157
158
159
160







-
-
+
+




-
-
+
+







browser.runtime.onConnect.addListener(handleConnexion);


/*
    Context Menu
*/
browser.contextMenus.create({
    id: "parseAndSpellcheck",
    title: "Correction grammaticale",
    id: "getListOfTokens",
    title: "Analyser",
    contexts: ["selection"]
});

browser.contextMenus.create({
    id: "getListOfTokens",
    title: "Lexicographe",
    id: "parseAndSpellcheck",
    title: "Corriger",
    contexts: ["selection"]
});

browser.contextMenus.create({
    id: "whatever",
    type: "separator",
    contexts: ["selection"]