This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// see https://gist.github.com/raycohen/2296605 | |
// see https://github.com/mahonnaise/b0rked.js | |
var b0rked = 'https://raw.githubusercontent.com/mahonnaise/b0rked.js/master/b0rked.js'; | |
var script= document.createElement('script'); | |
script.type = 'text/javascript'; | |
script.src = b0rked; | |
document.head.appendChild(script); | |
var logIfB0rked = function(s) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
View = {} | |
(function(){ | |
var self = View; | |
View.init = function() { | |
$('[href=#evt-name]').click(this.revealEventName); | |
$('[href=#evt-when]').click(this.revealEventWhen); | |
}, | |
View.revealEventName = function() { |