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
/* | |
Parse CSV Function | |
Thanks to Greg MacWilliam: | |
https://gist.github.com/gmac/5620847#file-csv-parser | |
*/ | |
define('parse-csv', function (){ | |
var parseCSV = (function( root ) { | |
return function parseCSV(csv, delimiter) { |
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
/* | |
Simple AJAX | |
by Greg MacWilliam | |
https://gist.github.com/gmac/5630172 | |
*/ | |
define('simple-ajax', function() { | |
var ajax = (function( root ) { | |
function getRequest() { |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |