nanek / ghost-s3-compat

Read and write images from S3 in the Ghost blogging platfrom
Other
56 stars 18 forks source link

Remove methods from prototype. #3

Closed JuanCaicedo closed 8 years ago

JuanCaicedo commented 8 years ago

Looking at this, I don't think there's any need for the storage module to export an actual class, so it should be possible to remove the save and serve methods from the prototype. That should make the code a lot easier to read.

JuanCaicedo commented 8 years ago

Never mind, looking at other examples, it does look like this needs to be a class.