Git Product home page Git Product logo

clojure-liberator.github.com's People

Contributors

malcolmsparks avatar ordnungswidrig avatar

Watchers

 avatar  avatar

clojure-liberator.github.com's Issues

Don't use (:use … :only) anywhere

(:use … :only) in the ns form has no reason to exist besides backwards compatibility with Clojure before 1.4. (:require … :refer) should be used instead, that way you can use :require only.

Doc: make navbar not fixed

Sorry, Im feeling like a jerk, but the fixed navbar in the top of documenation (which is good) is just in the way and keeps very little content. Could we please make it disappear while scrolling down, ie make its position relative?

page decision-graph.html: get parameter from request by :word instead of "word"

On the page http://clojure-liberator.github.io/liberator/tutorial/decision-graph.html, it mentions to use "word" to get value of request parameter:

(= "tiger" (get-in ctx [:request :params "word"])))

However it doesn't work on my running environment (ring 1.3.2). The value is nil. So I have to use this to get value of request parameter.

(= "tiger" (get-in ctx [:request :params :word])))

Is this a bug in page? Or, is there anything wrong in my running environment?
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.