-
Notifications
You must be signed in to change notification settings - Fork 10
/
ruby.behaviors
25 lines (22 loc) · 1.26 KB
/
ruby.behaviors
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{:+ {:app [(:lt.objs.plugins/load-js ["codemirror/ruby.js" "ruby instarepl_compiled.js"])]
:clients []
:editor.ruby [:lt.objs.langs.ruby/ruby-exception :lt.objs.langs.ruby/on-eval
:lt.objs.langs.ruby/on-eval.one
:lt.objs.langs.ruby/ruby-result
:lt.objs.langs.ruby/ruby-success
:lt.objs.langs.ruby/ruby-printer
:lt.objs.langs.ruby/ruby-watch
:lt.objs.langs.ruby/ruby-incomplete
:lt.objs.langs.ruby/live-toggle
;; :lt.objs.langs.ruby/ruby-image
:lt.objs.langs.ruby/watch-src
;; we don't seem to be able to unload part of watchable, so we're manually adding the pieces we need
;; [:lt.object/add-tag :watchable]
:lt.plugins.watches/watch!
:lt.plugins.watches/unwatch!
]
:editor.ruby.live [:lt.objs.langs.ruby/eval-on-change]
:files [(:lt.objs.files/file-types [{:name "Ruby" :exts [:rb, :gemspec, :Rakefile, :Gemfile] :mime "text/x-ruby" :tags [:editor.ruby]}])]
:ruby.lang [:lt.objs.langs.ruby/eval! :lt.objs.langs.ruby/connect]}
;; :- {:editor.ruby [:lt.plugins.watches/eval-on-watch-or-unwatch]}
}