ajax request returns success
communication two ways
sending line number and string
got the ordering array up, and a method to populate it
converted to textarea parsing. infinitely easier and more reliable
updated the getLineText function to work with textareas, and cleaned up the js
cleaned up javascript, renamed some functions
broke the node creation basics into separate functions
fixed the table issue, updated the build functions to accept a node/note then assign to it (including type)
preliminary consistent updating
got basic functionality for note changes
preliminary work on the adding lines, built a function to find an elements parent node
installed pry, working naive findChildren function
working basic insert new element
fixed up findElChildren to make it more flexible
functional delete function
somethings fucked, I think I need to update the markup at every step and base the ordering on that, the new nodes/notes are pushed to the end which fucks up the ordering
added order string in work, modified so that it's updated when the order changes, and the order depends on it.
fixed the changeParent function to 1) set parents to nil if nil parent is passed and 2) only update the previous parent if that element isn't nil (only applies notes)
figuring out and dealing with the links issue