Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #53 Updated to Clojure 1.7 #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mshenfield
Copy link

Close #53. Bump Clojure to the latest stable release, 1.7.0.

The only major switch was avoiding the ring-clojure/ring-anti-forgery 403 permissions error that was being thrown when POST to /tutorial. The library is included in noir.util.middleware from ring-clojure/ring-defaults. For more information about ring-anti-forgery and POST see ring-clojure/ring-anti-forgery#2. For some reason, upgrading to 1.7 triggered this middleware on this endpoint only.

To remedy, updated /tutorial to a GET, forgoing the nice $.load convenience function and using $.get. This has the nicety of being more semantically correct anyways. $.load defaults to a GET when no data is given, as in the setupLink function.

Upgraded lib-noir to 0.9.9. In versions up to 0.9.8, it fails to start, raising an exception due to an undeclared variable "pretty".

Close Raynes#53. Bump Clojure to the latest stable release, 1.7.0.

The only major switch was avoiding the ring-clojure/ring-anti-forgery
403 permissions error that was being thrown when POST to /tutorial. The library is included
in noir.util.middleware from ring-clojure/ring-defaults. For more information
about ring-anti-forgery and POST see ring-clojure/ring-anti-forgery#2.
For some reason, upgrading to 1.7 triggered this middleware on this endpoint only.

To remedy, updated /tutorial to a GET, forgoing the nice $.load convenience
function and useing $.get. This has the nicety of being more semantically correct anyways.
$.load defaults to a GET when no data is given, as in the setupLink function.

Upgraded lib-noir to v0.9.9. In versions up to v0.9.8, it fails to start,
raising an exception due to an undeclared variable "pretty".
@mshenfield mshenfield changed the title Updated to Clojure 1.7 Issue #53 Updated to Clojure 1.7 Jan 20, 2016
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.

1 participant