TrueFit/MorseCode — pull request #6 by BDawgonnit (2014-10-28 05:57:44+00:00)
Title: Morse Code Submission by Brydon DeWitt

Coding by: Brydon DeWitt

Overview:
For the core functionality, I created a tree structure that is navigated while parsing. Moving down the tree with each symbol, we keep going until there are no more Morse symbols to be parsed. Then, the node at that point on the graph is returned as the translation for the current English/Roman character and we restart the process for the next character.

Note 1: Because this code is using AJAX to pull in JSON data, it will not work unless it is being pulled from a server. (Cross-origin issues)
Note 2: Direct copy/pasting from the description caused an issue with the "hello world" example as the first three dot symbols were converted into a single ellipsis character on the browser.