diff --git a/package.json b/package.json index fd04c7dd..4ad37565 100644 --- a/package.json +++ b/package.json @@ -92,8 +92,5 @@ "build": "grunt prod", "test": "grunt test", "docs": "grunt docs" - }, - "dependencies": { - "grunt-cli": "^1.2.0" } } diff --git a/src/core/config/OperationConfig.js b/src/core/config/OperationConfig.js index 58b2262a..125e5525 100755 --- a/src/core/config/OperationConfig.js +++ b/src/core/config/OperationConfig.js @@ -38,6 +38,7 @@ import Unicode from "../operations/Unicode.js"; import URL_ from "../operations/URL.js"; import UUID from "../operations/UUID.js"; +import nTcpdump from "../operations/nTcpdump.js"; /** * Type definition for an OpConf. @@ -614,7 +615,7 @@ const OperationConfig = { ] }, "From nTcpdump": { - description: "For Tcpdump conversion only. (nva-hk)", + description: "For Tcpdump conversion only.", run: nTcpdump.runFrom, highlight: nTcpdump.highlightFrom, highlightReverse: nTcpdump.highlightTo, diff --git a/src/js/operations/nTcpdump.js b/src/core/operations/nTcpdump.js similarity index 98% rename from src/js/operations/nTcpdump.js rename to src/core/operations/nTcpdump.js index ec250505..bcdabaed 100644 --- a/src/js/operations/nTcpdump.js +++ b/src/core/operations/nTcpdump.js @@ -1,4 +1,6 @@ /* globals app */ +import Utils from "../Utils.js"; + /** * Hexdump operations. @@ -9,7 +11,7 @@ * * @namespace */ -var nTcpdump = { +const nTcpdump = { /** * @constant @@ -198,3 +200,5 @@ var nTcpdump = { }, }; + +export default nTcpdump; diff --git a/src/web/static/ga.html b/src/web/static/ga.html index f70b9c3a..378d18ea 100644 --- a/src/web/static/ga.html +++ b/src/web/static/ga.html @@ -1,18 +1,6 @@ -