Posts
Cloning objects in JavaScript
Published 22 November 2013 in archive with tags javascript , jquery Just a quick snippet post today. Continue reading …Invoke callbacks with unknown arguments
Published 14 November 2013 in archive with tags javascript Whilst working on some instrumentation code, I had need to pass a function and an unknown number of arguments to another function which would then time the execution of that function. This turned out to be quite easy usingfn.prototype.apply
.
Continue reading …
No MediaTypeFormatter is available
Published 24 October 2013 in archive with tags aspnet , webapi You may have come across the error messageNo MediaTypeFormatter is available to read an object of type T from content with media type 'text/plain'.
during your adventures in ASP.NET Web API. Tonight it was my turn to be faced with this bothersome little 'issue'.
Continue reading …