lucaminudel/TDDwithMockObjectsAndDesignPrinciples — pull request #20 by MicheleBertoli (2014-01-09 06:53:19+00:00)
Title: Added async callback

The 'convertToHtml' method did not return anything because 'fileReader.onload' is asynchronous, so I added a callback.
Non working version: http://jsfiddle.net/MicheleBertoli/GFB7d/
Working version: http://jsfiddle.net/MicheleBertoli/GFB7d/1/