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.
看起来 Backbone.Marionette 视图为事件等操作 DOM,所以我猜这并不像更改基类引用(例如 Backbone.View 到 BaseView)那么简单。
有没有人解决这个问题?考虑到上述情况是否可行?
不知道是否有人已经这样做了,但是对 github 问题队列很感兴趣。
https://github.com/airbnb/rendr/issues/63
我想将一个变量传递给框架,但我得到了当前页面。
代码:
function redirect(e){ $('#frame').show(); document.getElementById('frame').contentWindow.document.location.href = "page.php?var="+X;