]> git.r.bdr.sh - rbdr/dotfiles/blame - atom/packages/pretty-json/node_modules/jsonminify/PORTING.txt
Remove mc config
[rbdr/dotfiles] / atom / packages / pretty-json / node_modules / jsonminify / PORTING.txt
CommitLineData
06a3d686
BB
1As you can see comparing the PHP port to the original JS code,
2the spirit of what I want to do is implement the code in as
3similar a code algorithm as possible for now, until we're more
4sure the algorithm is either solid (bug free) or perhaps we
5decide on a better universal algorithm.
6
7But the more similar the code algorithm implementations are,
8the easier it will be to maintain the various ports if changes
9must occur.
10
11In as much as possible, my preference is to use core/built-in
12parts of each language rather than plugins. That lets the most
13people have a chance to use it. If that's not practical in some
14situation, fine, document it. But if possible, that's preferred.
15
16The test.minify.html file shows 4 different test inputs which
17exercise the algorithm and show the correct outputs. Those same
18tests should pass on the ports, obviously.
19
20Process would just be to fork this repo and add the files, in
21the style of "minify.json.rb" for ruby, for instance, and then
22send me a pull request.