Differences From Artifact [85027b59ad]:
- File gc_lang/fr/webext/content_scripts/api.js — part of check-in [76d78039bf] at 2020-03-12 16:56:57 on branch trunk — [fx] update API and handle iframe node via GC Panel (user: olr, size: 2237) [annotate] [blame] [check-ins using]
To Artifact [d7c42966b4]:
- File gc_lang/fr/webext/content_scripts/api.js — part of check-in [1bb5f94a84] at 2020-03-12 22:46:38 on branch trunk — [fx] update API: send GC result as a string (JSON), not an object (user: olr, size: 2305) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
// JavaScript
"use strict";
const oGrammalecteAPI = {
// functions callable from within pages
sVersion: "1.0",
openPanel: function (arg1) {
let xNode = null;
if (typeof(arg1) === 'string') {
if (document.getElementById(arg1)) {
| > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
// JavaScript
"use strict";
const oGrammalecteAPI = {
// functions callable from within pages
// to be sent to the content-cript via an event GrammalecteCall
sVersion: "1.0",
openPanel: function (arg1) {
let xNode = null;
if (typeof(arg1) === 'string') {
if (document.getElementById(arg1)) {
|
| ︙ | ︙ |