Created
June 12, 2017 18:42
-
-
Save mikejakobsen/5fcfca0dc7c60f7ac1303fc8b7df0381 to your computer and use it in GitHub Desktop.
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
// Generated by CoffeeScript 1.12.6 | |
window.cl = function() { | |
if (window.console && console.log) { | |
return console.log(arguments); | |
} | |
}; | |
window.params = function() { | |
if (window._params) { | |
return window._params; | |
} | |
return window._params = _.inject(window.location.search.replace(/^\?/, '').split('&'), function(obj, param) { | |
param = param.split('='); | |
obj[param[0]] = param[1]; | |
return obj; | |
}, {}); | |
}; | |
$(function() { | |
return $(document).foundation(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment