Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Issue #53 Updated to Clojure 1.7#63

Open
mshenfield wants to merge 1 commit into
Raynes:master from
mshenfield:issue-53-update-to-clojure-1-7
Open

Issue #53 Updated to Clojure 1.7 #63
mshenfield wants to merge 1 commit into
Raynes:master from
mshenfield:issue-53-update-to-clojure-1-7

Conversation

@mshenfield

@mshenfield mshenfield commented Jan 20, 2016

Copy link
Copy Markdown

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /