garrensmith commented on a change in pull request #948: Fix sidebar
expand/collapse when design doc name has special chars
URL: https://github.com/apache/couchdb-fauxton/pull/948#discussion_r131638194
##########
File path: app/helpers.js
##########
@@ -57,4 +57,13 @@ Helpers.getDateFromNow = function (timestamp) {
return moment(timestamp, 'X').fromNow();
};
+/**
+ * Escapes any characters that have special meaning in JQuery selectors.
Review comment:
We haven't used comments like this before. I'm not super convinced we need
them. Could you take these out.
We can have a bigger discussion around comments like this and then look to
add them in multiple places.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services