Skip to content

Commit fa7c53f

Browse files
committed
More work
1 parent ea4b9e4 commit fa7c53f

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

beta/emuos/assets/js/emuos.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
(function (factory) {
44
if (typeof define === 'function' && define.amd) {
5-
define(['jquery', 'router', 'toastr', 'optional!simplestorage', 'optional!moment-timezone', 'optional!ga', 'optional!octokat', 'optional!esheep', 'optional!clippy', 'optional!fireworks'], factory);
5+
define(['jquery', 'router', 'toastr', 'optional!simplestorage', 'optional!moment-timezone', 'optional!octokat', 'optional!esheep', 'optional!clippy', 'optional!fireworks'], factory);
66
} else { // noinspection DuplicatedCode
77
if (typeof module === 'object' && module.exports) {
88
module.exports = function(root, jQuery) {
@@ -22,7 +22,7 @@
2222
factory(jQuery);
2323
}
2424
}
25-
} (function ($, Router, toastr, simplestorage, moment, ga, Octokat, eSheep, clippy, Fireworks) {
25+
} (function ($, Router, toastr, simplestorage, moment, Octokat, eSheep, clippy, Fireworks) {
2626
var root = location.hostname === 'localhost' ? 'https://emupedia.net' : '';
2727
var hash = location.hash.toString();
2828
var resizeTimeout = null;
@@ -547,14 +547,6 @@
547547
}
548548
}
549549

550-
if (typeof ga === 'function') {
551-
ga('send', {
552-
hitType: 'pageview',
553-
page: $(this).data('link'),
554-
title: window.location.href
555-
});
556-
}
557-
558550
if (typeof $(this).data('singleinstance') !== 'undefined') {
559551
// noinspection DuplicatedCode
560552
if ($(this).data('singleinstance') && self.$body.find('[id^="' + $(this).data('name') + '"]').length === 0) {

0 commit comments

Comments
 (0)