We use cookies and other tracking technologies to improve your browsing experience on our site, analyze site traffic, and understand where our audience is coming from. To find out more, please read our privacy policy.

By choosing 'I Accept', you consent to our use of cookies and other tracking technologies.

We use cookies and other tracking technologies to improve your browsing experience on our site, analyze site traffic, and understand where our audience is coming from. To find out more, please read our privacy policy.

By choosing 'I Accept', you consent to our use of cookies and other tracking technologies. Less

We use cookies and other tracking technologies... More

Login or register
to apply for this job!

Login or register to start contributing with an article!

Login or register
to see more jobs from this company!

Login or register
to boost this post!

Show some love to the author of this blog by giving their post some rocket fuel 🚀.

Login or register to search for your ideal job!

Login or register to start working on this issue!

Engineers who find a new job through Golang Works average a 15% increase in salary 🚀

Import klisp as an object

Work started
Pull requests: 0
Contributors: 1
Level: Intermediate
  • Clojure
Work started
Pull requests: 0
Contributors: 1
Level: Intermediate
  • Clojure

On GitHub

Klipse is a Javacript plugin for embedding interactive code snippets in tech blogs. A simple client-side code evaluator pluggable on any web page: clojure, ruby, javascript, python, scheme, es2017, jsx, brainfuck, c++, reagent, lua, ocaml, reasonml, prolog, common lisp
More info >

Issue posted by: 
noloop's avatar

noloop

Description

Would there be any way I could do this:

import Klipse from '~/assets/klipse_plugin.min.js'

and then I can start it when I need it, for example:

Klipse.start();

because I realize that when the page changes, it does not update again and I need to update my SPA for klipse to work again.

Also I don't quite understand how I can use klisp by installing the npm package. I tried in many ways to make klipse work on my blog, but it doesn't work, I don't know how you are doing to create the klipse js file, but is there any way to build it as a javascript library? where can we start it dynamically as i showed above?

    Use Open Source Issues to hire or get hired

    On GitHub

    Klipse is a Javacript plugin for embedding interactive code snippets in tech blogs. A simple client-side code evaluator pluggable on any web page: clojure, ruby, javascript, python, scheme, es2017, jsx, brainfuck, c++, reagent, lua, ocaml, reasonml, prolog, common lisp
    More info >

    Issue posted by: 
    noloop's avatar

    noloop

    Use Open Source Issues to hire or get hired

    Import klisp as an object
    View on GitHub