enyo/dropzone — pull request #361 by bazerk (2013-10-25 11:42:26+00:00)
Title: Trim preview template so that createElement doesn't pick up an empty tex...

Fixed a bug I encountered where I was loading providing a preview template like the below:

this.dropzone = new Dropzone(this.$el.find('form').get(0), {
previewsContainer: this.$el.find('.dz-prev-container').get(0)
});

Then when creating the `previewElement` from the template using `Dropzone.createElement` it returns the text node rather than the container div and then throws an error when it tries to access `querySelector`.