Adding brackets & braces highlight #42

Closed
wants to merge 1 commit into
from

2 participants

@IAL32
IAL32 commented Oct 5, 2013

The second part in adding highlight.
Here i apply the click event to all the brackets & braces to highlight/de-highlight them. Added few functions to easify the work.
Ps: sorry for my english, i'm 16 years old and i'm Italian.

@IAL32 IAL32 Adding brackets & braces highlight
The second part in adding highlight.
Here i apply the click event to all the brackets & braces to highlight/de-highlight them. Added few functions to easify the work.
Ps: sorry for my english, i'm 16 years old and i'm Italian.
d05ad7e
@IAL32 IAL32 commented on the diff Oct 5, 2013
src/content/default.js
@@ -40,9 +40,57 @@ document.addEventListener('DOMContentLoaded', function() {
collapser.addEventListener('click', collapse, false);
item.insertBefore(collapser, item.firstChild);
}
-
+
+ function hasClassName(ele,cls) {
IAL32
IAL32 Oct 5, 2013

This 3 functions are totally taken from internet.

Owner
bhollis commented Oct 14, 2013

Hi @IAL32, this is a neat contribution. Thanks! But, can you explain why you want to highlight braces? They're already lined up...

@bhollis bhollis closed this Mar 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment