bblfsh / web

Web client for Babelfish server
http://dashboard.bblf.sh
GNU General Public License v3.0
23 stars 21 forks source link

Put children of node to the end #110

Closed smacker closed 6 years ago

smacker commented 6 years ago

Fixes: https://github.com/bblfsh/dashboard/issues/101 Actually there is a hard-coded order for some "properties". InternalType, Properties, Token, Positions, Children. I changed that order and put Children to the end.

The properties inside Properties (yeah, confusing) are sorted already because it's dict and Object.keys returns keys in order. (even specification doesn't say so, but all browsers work like that)

smacker commented 6 years ago

haha. Okay. At least now we can track it by git blame and find an issue.