From c04eff2711d690087d2306e318e03bfcebece5a1 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 8 Nov 2024 17:40:23 +0800 Subject: fix: redeclaration, use IIFE to load modules * put bundled scripts into scripts/, this make gitignore easier --- addon/manifest.json | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'addon/manifest.json') diff --git a/addon/manifest.json b/addon/manifest.json index 1b89ccf..243eb81 100644 --- a/addon/manifest.json +++ b/addon/manifest.json @@ -18,17 +18,13 @@ "content_scripts": [ { "matches": [ - "*://developer.mozilla.org/*", - "*://hackmd.io/*", - "*://*.ptt.cc/*", - "https://prosemirror.net/examples/*", - "https://www.openstreetmap.org/*" + "" ], "js": [ - "renderers/leaflet.js", - "renderers/maplibre.js", - "renderers/openlayers.js", - "dumbymap.js", + "scripts/dumbymap.js", + "scripts/leaflet.js", + "scripts/maplibre.js", + "scripts/openlayers.js", "index.js" ], "css": [ -- cgit v1.2.3-70-g09d2 From 2eff07879f112572c3fccaa902b10447d04c2045 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 8 Nov 2024 20:41:20 +0800 Subject: chore(addon): set version to 0.1.1 --- addon/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addon/manifest.json') diff --git a/addon/manifest.json b/addon/manifest.json index 243eb81..8654505 100644 --- a/addon/manifest.json +++ b/addon/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "MapInline", - "version": "1.0", + "version": "0.1.1", "description": "Add Interatctive Map", -- cgit v1.2.3-70-g09d2