forked from dribnet/mrhyde
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,22 @@ | ||
# mrhyde | ||
|
||
** readme pending ** | ||
|
||
The primary design decision is to remove as much of the interop glue | ||
and clj->js->clj data marshalling from application code as possible. | ||
|
||
and clj->js->clj data marshalling from application code as possible. | ||
`mrhyde` allows cljs sequential | ||
types to be treated as native JavaScript arrays by implementing the | ||
[ArrayLike.js specification](https://github.com/dribnet/ArrayLike.js) | ||
and then using the ArrayLikeIsArray polyfill. This technique has | ||
proven useful on the leaflet and angular libraries. In addition, | ||
proven useful on libraries like leaflet and angular libraries. In addition, | ||
`mrhyde` includes data interop glue so that cljs map types can be | ||
treated as native JavaScript objects as well as several helpful | ||
functions patching JavaScript functions to provide smoother interop. | ||
|
||
See [strokes](https://github.com/dribnet/strokes) for an example of how | ||
the mrhyde library is useful for JavaScript interop. | ||
|
||
## Getting Started | ||
|
||
To use strokes from your ClojureScript project, | ||
add this dependency to your `project.clj`: | ||
|
||
[net.drib/mrhyde "0.5.0-NOT-YET"] | ||
|
||
--- | ||
|
||
[For now, check out strokes](https://github.com/dribnet/strokes) to get more info. | ||
|
||
[net.drib/mrhyde "0.5.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters