Skip to content

Commit

Permalink
Merge pull request #55 from PetrGlad/master
Browse files Browse the repository at this point in the history
Support $.contains function
  • Loading branch information
frankhale committed Feb 9, 2015
2 parents 358a0cd + f6f197e commit be2192d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/jayq/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@
[$elem]
(-> $elem html reader/read-string))

(def $contains js/jQuery.contains)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Events
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Expand Down Expand Up @@ -558,3 +560,4 @@
:bind (fn [x f]
(done (ajax x) f))
:zero identity})

0 comments on commit be2192d

Please sign in to comment.