Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
hail2u committed Sep 1, 2015
1 parent 56a7452 commit 081c78f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build/unutm.js
Expand Up @@ -10,12 +10,12 @@

var unutm = function () {
var u = l.pathname +
l.search.replace(/[?&]utm_[^&]+/g, '').replace(/^&/, '?') +
l.search.replace(/[?&]utm_[^&]+/g, "").replace(/^&/, "?") +
l.hash;
h.replaceState(null, '', u);
h.replaceState(null, "", u);
};

if (typeof ga === 'function') {
if (typeof ga === "function") {
ga(unutm());
} else {
unutm();
Expand Down
5 changes: 3 additions & 2 deletions build/unutm_ga.js
Expand Up @@ -3,6 +3,7 @@
*
* LICENSE: http://hail2u.mit-license.org/2014
*/
/* exported unutm */
var unutm = function () {
var l = location;
var h = history;
Expand All @@ -12,7 +13,7 @@ var unutm = function () {
}

var u = l.pathname +
l.search.replace(/[?&]utm_[^&]+/g, '').replace(/^&/, '?') +
l.search.replace(/[?&]utm_[^&]+/g, "").replace(/^&/, "?") +
l.hash;
h.replaceState(null, '', u);
h.replaceState(null, "", u);
};
2 changes: 1 addition & 1 deletion build/unutm_ga.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 081c78f

Please sign in to comment.