Skip to content

Commit

Permalink
The return of AddClass - and his friend RemoveClass
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaas2 committed Jun 20, 2018
1 parent 424f6d7 commit 4485c64
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions HTML/_JSS.dyalog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
:Namespace _JSS Javascript Snippets

(⎕ML ⎕IO)1
little helpers for JS/JQuery used in callbacks
this list will grow over time as usage patterns are discovered
eis{(,)((326⎕DR )<2>|),} Enclose if simple
quote{0: '' '"',(('"' ⎕R '\\\0')),'"'}
Expand Down Expand Up @@ -39,6 +40,14 @@
r(sel JQuery'removeAttr')args

rsel AddClass args
r(sel JQuery'addClass')args

rsel RemoveClass args
r(sel JQuery'removeClass')args

rsel Html args ⍝ JQuery html cover
r(sel JQuery'html')args
Expand Down

0 comments on commit 4485c64

Please sign in to comment.