Fixing recipe location

removing Google analysis
fixing package, pulling from master
This commit is contained in:
windhamwong@nva-hk.com 2017-06-07 15:14:19 +01:00
parent 3ee01f7dc4
commit 209f98a88e
4 changed files with 7 additions and 17 deletions

View file

@ -92,8 +92,5 @@
"build": "grunt prod",
"test": "grunt test",
"docs": "grunt docs"
},
"dependencies": {
"grunt-cli": "^1.2.0"
}
}

View file

@ -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,

View file

@ -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;

View file

@ -1,18 +1,6 @@
<!-- Begin Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-85682716-2', 'auto');
// Specifying location.pathname here overrides the default URL which would include arguments.
// This method prevents Google Analytics from logging any recipe or input data in the URL.
ga('send', 'pageview', location.pathname);
</script>
<!-- End Google Analytics -->