阅读背景:

使用JSDoc记录Backbone构造函数?

来源:互联网 

I've got a base view method for my application that has a close method. It works great up until the point where I have to document it; basically I'm putting in a needless function call in order to properly document it. As Backbone already has an initialize function, it makes no sense to call it again here, taking up lines of code.. but if I drop this function from the code then the documentation for the view isn't generated. My code looks like this:I've got a base view method for my application




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: