forked from Ejhfast/mobile-for-compojure
-
Notifications
You must be signed in to change notification settings - Fork 0
Middleware for handling mobile devices in compojure applications
abimaran/mobile-for-compojure
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a small library for creating middleware to handle mobile browsers in compojure applications. ## Usage To run the example application: lein dpes lein repl src/mobile/example.clj To apply the middleware to your own application: First define the function that will transform your response, if a mobile device is detected (defn myfunc ...) Then apply the middleware: (wrap! name_of_your_app ((handle-mobile myfunc))) That's it! ## Installation Get leiningen Download this repo Run 'lein deps'
About
Middleware for handling mobile devices in compojure applications
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published