aaronmarkham commented on a change in pull request #12781: Fixed issue #12745
URL: https://github.com/apache/incubator-mxnet/pull/12781#discussion_r224280707
##########
File path: docs/_static/js/copycode.js
##########
@@ -62,6 +62,13 @@ $(document).ready(function(){
e.clearSelection();
for(var i = 0; i < lines.length; ++i) {
+ for(var lang in LANG_GP) {
+ if(lines[i].indexOf(LANG_GP[lang]) != -1) {
+ var re = new RegExp(LANG_GP[lang], g);
+ lines[i] = lines[i].replace(re, "");
+ break;
+ }
+ }
lines[i] = lines[i].replace(/^\s+|\s+$/g, "");
Review comment:
Actually, it is a line in the updated code block... line 67...
```
var re = new RegExp(LANG_GP[lang], g);
```
----------------------------------------------------------------
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