mholt / json-to-go

Translates JSON into a Go type in your browser instantly (original)
https://mholt.github.io/json-to-go/
MIT License
4.51k stars 475 forks source link

Jqueryized ui skin #4

Closed netaisllc closed 10 years ago

netaisllc commented 10 years ago

Hey there, Here is the pure jquery version of the skin. 99.5543& functionally equivalent :)

The translation script dependency is now just a script tag like the original. For kicks, I enabled a json get of the sample data and offer two buttons. Also minimized, bu the uncompressed versions are also there. TTFN.

netaisllc commented 10 years ago

Forgot to say, you can view the jq versions at http://cssian.com/jtg/jquery/index.html#/

mholt commented 10 years ago

Sorry it took me so long to get to this.

As per issue #2, were we going to strip out everything but a CSS file, the HTML, and a JavaScript file or two (and maybe use jQuery)? This PR has a whopping 21 files changed. Can we trim it down to just 3-5 you think? My goal is to keep this repo really, really simple & lightweight.

netaisllc commented 10 years ago

Can certainly trim out the bulk. Basically, it will be an HTML file, a style sheet, the UI js, the translater JS and some json demo data files.

I don't know how to revoke or amend this PR. Can you clue me about that?

mholt commented 10 years ago

Commit the changes to your fork's master branch (in this case) and then push them, it should be automatic.

netaisllc commented 10 years ago

Commit 3069312