This patch fixes om.next under recent versions of ClojureScript which use MapEntry rather than PersistentVector for map entries.
I've tested it under the 1.10.126 and 1.9.908 with the boot test suite and a om.next project.
The patch uses vector? rather than map-entry? which would have made the intentions clearer but is not available in older versions of CLJS where as this patch should be backwards compatible.
This patch fixes om.next under recent versions of ClojureScript which use MapEntry rather than PersistentVector for map entries.
I've tested it under the 1.10.126 and 1.9.908 with the
boot test
suite and a om.next project.The patch uses
vector?
rather thanmap-entry?
which would have made the intentions clearer but is not available in older versions of CLJS where as this patch should be backwards compatible.