English 中文(简体)
Backbone View.remove()
原标题:Backbone View.remove()

我刚刚把我的“后台”升级到0.9.2,当我持某种看法时,正如我对旧版本所做的那样,我不再为我工作。

I have a popup.js view called processingView that just has some jquery code wrapped in an view extend. I assign this to a variable called processing. this.processing = new processingView(); When I fire an event to remove the processing object from the Dom by saying. this.processing.remove() it no longer gets removed. If I revert back to the older version of Backbone it works.

Anyone got any ideas why this would be. My code is a huge amount of source files so its hard to paste all this in here. But as far as what I m trying to do it should be straight forward remove a view object from the dom.

www.un.org/spanish/ecosoc ANSWERED MY OWN Question

当我以人工方式提出观点时,Oki没有使用定点。

如果你从手上把这.el放在“后一观点”中,就是一个特定的多功能要素,那么你就希望使用一些要素。

它仍然不清楚观点和观点之间的区别。 也许有人可以向我直截了当。

最佳回答

<代码>view.$el 相当于$ ( view.el )。 这样做是方便的,因此,你不必为一再叫作 j的建筑商购买 has和额外间接费用。 您不妨(如果可能的话)制定您的法典,以便你无需人工订立<条码>>/条码>和<条码>。 参看my 回答

问题回答

暂无回答




相关问题
What s the appropriate granularity for Backbone.js Views?

I m adopting Backbone.js to render a small corner of an existing large web app. If this goes well, I can see Backbone.js growing to encompass the whole of the app, lending some much-needed structure ...

Rendering Layouts with Backbone.js

If you were to build a single page web application (SPWA) using Backbone.js and jQuery with--for example--two controllers that each required a unique page layouts, how would you render the layout? ...

Load html without refresh

Im unsure of how to approach this, should I have the html to be loaded hidden or load it from somewhere? I want to load a form in one page, and dynamic content on other pages. The form can be saved ...

Why are my CoffeeScript/backbone.js events not firing?

I m trying to familiarize myself with CoffeeScript and backbone.js, and I must be missing something. This CoffeeScript: MyView = Backbone.View.extend events: { "click" : "testHandler" ...

热门标签