Skip to content

calling clojurescript functions #1

Description

@trevor

I'm probably missing something obvious, but from the readme example:

(ns my.app
  (:require [compojure.core :as c]
            [compojure.handler :as h] handler
            [hiccup.page :as p]
            [persona-kit.core :as i]))

;; On your login page, use include-persona to bring in persona resources, 
;; sign-in-button to show the login button.
(c/defroutes app-routes
  (c/GET "/" [] (p/html5 [:head
                          [:title "Login page"]
                          (i/include-persona)]
                         [:body (i/sign-in-button)])))

How are you getting persona-kit.core to have the cljs functions? Only persona-kit.core/valid? and persona-kit.core/verify-assertion are available to me.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions