Since it's made as an example app, might as well make it easy to get
started. Port 80 throws an error if the server hasn't been started as
sudo, requiring port 8080 to be explicitly passed if you want to run the
demo locally.
Since the file.js module is only for development or getting started, we
shouldn't have to minify the data before persisting it. In fact, it may
hurt things, since it obfuscates our data structure and makes it harder
to understand what's going on under the hood.
In this commit, I swapped `Gun.text.ify` with JSON's `stringify` and
gave it a 2-space formatting option to make the data more readable.
When calling `gun.chain()`, gun invokes the constructor. If you create a
new class that inherits from gun, it will only work as far as there
aren't any `.chain` calls. This changes it from invoking the gun
constructor to instead invoke your current class context.
I was linking the svg file wrong! Turns out, you can include them... This commit includes the svg file, and dynamically scales it to 40% of the screen width. It should be everything the last commit was, but now with sharper logo definition.
Fabulous looking logo, falling back to our name if it can't load from the CloudUp CDN. Links to the company website, image sized to 40% of the readme window (980px). Sadly, GitHub won't allow SVG image files due to "security concerns". Pffft, security.
Switched all the badges to pull from shields.io for a consistent look and feel.
When passed a primitive value but not a callback, `.set` will try to
invoke the callback with the error data, except since it's undefined, it
throws. I've added a line that prevents that error, allowing execution
to continue with the developer warning.