Ver código fonte

moved index.js

Gildas 7 anos atrás
pai
commit
e85455aa5d
3 arquivos alterados com 2 adições e 25 exclusões
  1. 0 0
      extension/index.js
  2. 0 23
      extension/ui/scripts/content/index.js
  3. 2 2
      manifest.json

+ 0 - 0
extension/core/scripts/bg/index.js → extension/index.js


+ 0 - 23
extension/ui/scripts/content/index.js

@@ -1,23 +0,0 @@
-/*
- * Copyright 2018 Gildas Lormeau
- * contact : gildas.lormeau <at> gmail.com
- * 
- * This file is part of SingleFile.
- *
- *   SingleFile is free software: you can redistribute it and/or modify
- *   it under the terms of the GNU Lesser General Public License as published by
- *   the Free Software Foundation, either version 3 of the License, or
- *   (at your option) any later version.
- *
- *   SingleFile is distributed in the hope that it will be useful,
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *   GNU Lesser General Public License for more details.
- *
- *   You should have received a copy of the GNU Lesser General Public License
- *   along with SingleFile.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-/* global window */
-
-window.singlefile = {};

+ 2 - 2
manifest.json

@@ -11,7 +11,7 @@
         "scripts": [
             "lib/frame-tree/bg/frame-tree.js",
             "lib/fetch/bg/fetch.js",
-            "extension/core/scripts/bg/index.js",
+            "extension/index.js",
             "extension/core/scripts/bg/config.js",
             "extension/core/scripts/bg/bg.js",
             "extension/ui/scripts/bg/ui.js"
@@ -32,7 +32,7 @@
                 "<all_urls>"
             ],
             "js": [
-                "extension/ui/scripts/content/index.js",
+                "extension/index.js",
                 "extension/ui/scripts/content/ui.js",
                 "lib/single-file/base64.js",
                 "lib/single-file/parse-srcset.js",