Sha256: 1cc2659e3321b3249026e1e9c88d4ecbd42bbf7e68e1f6478053250026436726
Contents?: true
Size: 962 Bytes
Versions: 2
Compression:
Stored size: 962 Bytes
Contents
(import interactivate "interactivate") (import [start-host!] "./host") (import hashare "codemirror-hashare") (import persist "codemirror-persist") (import activine "codemirror-activine") ;; Install plugins (interactivate CodeMirror) ;; Install other plugins (activine CodeMirror) (hashare CodeMirror) (persist CodeMirror) ;; Start evaluation host (start-host!) (def editor (CodeMirror (.-body document) {;:hashare true :persist true :matchBrackets true :electricChars true :activeLine true :autofocus true :theme "solarized dark" :mode :clojure :interactivate true :interactiveSeparator #"(?m)^;; =>[^\n]*$" :extraKeys {:Tab :indentSelection}})) (set! (.-editor global) editor)
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-wisp-source-0.7.0 | vendor/node_modules/wisp/interactivate/main.wisp |
ruby-wisp-source-0.7.0 | vendor/try/node_modules/~wisp/interactivate/main.wisp |