mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-16 21:12:13 +00:00
Stop asteroids breaking the buildchain.
Game's a bit broken but I've better things to do than fix an easter egg
This commit is contained in:
@@ -17,14 +17,12 @@ jQuery(document).ready(function () {
|
||||
});
|
||||
}
|
||||
});
|
||||
var easter_egg = new Konami();
|
||||
easter_egg.code = function () {
|
||||
var easter_egg = new Konami(function () {
|
||||
var s = document.createElement('script');
|
||||
s.type = 'text/javascript';
|
||||
document.body.appendChild(s);
|
||||
s.src = '{% static "js/asteroids.min.js"%}';
|
||||
ga('send', 'event', 'easter_egg', 'activated');
|
||||
}
|
||||
s.src = '/static/js/asteroids.min.js';
|
||||
});
|
||||
easter_egg.load();
|
||||
});
|
||||
//CTRL-Enter form submission
|
||||
|
||||
Reference in New Issue
Block a user