diff --git a/cat.sh b/cat.sh index 5a9e2fc..65115c3 100644 --- a/cat.sh +++ b/cat.sh @@ -1,3 +1,3 @@ #!/bin/bash -cat tampermonkey.txt dll.js pt.js grid.js binheap.js graph.js proto.js utils.js > out.user.js +cat dll.js pt.js grid.js binheap.js graph.js proto.js utils.js > out.js diff --git a/dll.js b/dll.js index f51dabe..1a22d85 100644 --- a/dll.js +++ b/dll.js @@ -29,8 +29,6 @@ class DLLNode { } } -window.DLLNode = DLLNode - class DLL { constructor(a = []) { this.h = new DLLNode() diff --git a/out.user.js b/out.js similarity index 98% rename from out.user.js rename to out.js index 22eb1c1..f50aca2 100644 --- a/out.user.js +++ b/out.js @@ -1,14 +1,3 @@ -// ==UserScript== -// @name aocutil -// @namespace http://tampermonkey.net/ -// @version 0.2 -// @description try to take over the world! -// @author You -// @match * -// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== -// @grant none -// ==/UserScript== - // TODO: // - copy method // - remove range method @@ -40,8 +29,6 @@ class DLLNode { } } -window.DLLNode = DLLNode - class DLL { constructor(a = []) { this.h = new DLLNode() diff --git a/tampermonkey.txt b/tampermonkey.txt deleted file mode 100644 index fd52840..0000000 --- a/tampermonkey.txt +++ /dev/null @@ -1,11 +0,0 @@ -// ==UserScript== -// @name aocutil -// @namespace http://tampermonkey.net/ -// @version 0.2 -// @description try to take over the world! -// @author You -// @match * -// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== -// @grant none -// ==/UserScript== -