Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我使用opal,opal-jquery和jquery.terminal. 后者向 jquery 添加了一个名为terminal().
opal
opal-jquery
jquery.terminal
terminal()
不过Element好像没有那个方法?
Element
打电话
Element.expose(:terminal)
在尝试使用该方法之前,应该可以。