Skip to content

Upgrading to the cljs r2665#7

Merged
dribnet merged 2 commits intodribnet:masterfrom
matevarga:master
Jan 14, 2015
Merged

Upgrading to the cljs r2665#7
dribnet merged 2 commits intodribnet:masterfrom
matevarga:master

Conversation

@matevarga
Copy link

No description provided.

Mate Varga added 2 commits January 13, 2015 13:17
Fixed namespace of recurse-from-hyde-cache in funpatcher.cljs
Fixed incorrect reference to re-matches.
@factom
Copy link

factom commented Jan 13, 2015

Thanks for this! I don't understand the changes to the unit test though - let me look at this more tonight.

@matevarga
Copy link
Author

Okay -- I'm quite new to Clojure so I might have misunderstood some stuff. If so, please tell me what's wrong and I'll try to fix it properly. I'll test 'my' version with strokes and see if everything works.

@dribnet dribnet merged commit 3d69533 into dribnet:master Jan 14, 2015
dribnet added a commit that referenced this pull request Jan 14, 2015
Merge remote-tracking branch 'matevarga/master'

* matevarga/master:
  Removing ObjMap patching as it's deprecated. Fixing namespace usages.
  Updated cljs and clojure version. Fixed namespace of recurse-from-hyde-cache in funpatcher.cljs Fixed incorrect reference to re-matches.
@dribnet
Copy link
Owner

dribnet commented Jan 14, 2015

Thanks, this seemed to work well. I did revert the test.cljs and fixed a typo there, and tests are now passing again. For reference, to run tests you compile and then open public/mrhyde-test.html in a browser. You should see something like this:

mrhyde-test

This shows that all 16 tests are working in two compilation modes (optimization whitespace and simple), but that in advanced optimization mode javascript cannot access clojure maps as js objects - which has always been the case because of symbol renaming. Let me know if you have any questions.

@matevarga
Copy link
Author

Cool, thanks for merging. Do you tend to look at this lib once in a while, or is it kind of abandoned at the moment?

@kvey
Copy link

kvey commented Mar 14, 2015

The version in clojars does not appear to include this update.

@dribnet
Copy link
Owner

dribnet commented Aug 31, 2015

Oops - sorry I missed these older messages. @matevarga - yes it's kind of abandoned, but hopefully interesting as a proof of concept if someone else is thinking of trying this approach. @kvey - my apologies about forgetting to deploy this change - I've now deployed this as [net.drib/mrhyde "0.5.4-SNAPSHOT"] and updated the README.

@arichiardi
Copy link

arichiardi commented Jan 4, 2017

Is there any interest in upgrading this? I have quickly tried and the only failure with the new compiler has been array functions:

2017-01-04-095650_843x230_scrot

plus a warnings like:


WARNING: /home/arichiardi/git/mrhyde/target/cljsbuild-compiler-3/mrhyde/typepatcher.js:1060: WARNING - incomplete alias created for namespace cljs.core
var orig_fn = (cljs.core[s]);
               ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants