Closed ankurankan closed 10 years ago
Please add the comments inline with the code. Its hard to comprehend them here. Further any change on my local branch gets me out of sync with the lines you have mentioned.
@pramttl: No problem, I have made the changes.
We should not have obvious inline comments.
templates/index.html:
Line 174
: Extra space after node_id_strLine 177
: I don't think we need this commentLine 189
: I don't think we need this commentLine 192
: ----------------Same-------------------------Line 204, 205, 206
: Debugging codeLine 209:
Extra space after target_node_idLine 217
: Why do we need the comment After creating the edges, set these to null? Everyone can see that you are setting it to null. If you would have written why you are doing that it would be much more meaningful.Line 226
: Debugging codeLine 228
: I don't know if$(document).keydown(function(e)
is a function definition. If it is, writing comment as you have written inLine 160
would look much better. Opinion?