Created
November 17, 2013 00:39
-
-
Save 40/7507456 to your computer and use it in GitHub Desktop.
testing code
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
$.ajax({ | |
url: "http://fiddle.jshell.net/favicon.png", | |
beforeSend: function( xhr ) { | |
xhr.overrideMimeType( "text/plain; charset=x-user-defined" ); | |
} | |
}) | |
.done(function( data ) { | |
if ( console && console.log ) { | |
console.log( "Sample of data:", data.slice( 0, 100 ) ); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment