derrell / App-Inventor-Gallery

App Inventor Gallery
20 stars 17 forks source link

Issue112 Client Side #214

Closed cpuwhiz11 closed 12 years ago

cpuwhiz11 commented 12 years ago

Here are the fixes for issue112 client side. The second test involving testing the types of valid images could probably be improved logically somehow. I am open to suggestions.

derrell commented 12 years ago

This looks generally quite good. See the line notes for some details.

Also, what was the result of your tests where you renamed a file of one type to look like another type? Does the data url say it's the real type, or the type that the file name indicates?

cpuwhiz11 commented 12 years ago

The data url changes based on what the file type is.