浏览 2826 次
锁定老帖子 主题:有人用Prototype和JSDoc么
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2006-11-21
但是我使用了Prototype,所以没有 function func1() {} 这样的声明方法,似乎JSDoc不吃这一套。 有没有人能给点提示,或者有别的工具? dojo和qooxdoo都太笨重.... 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2006-11-22
Prototype很不错的
可以看一下这个网站 http://www.ssdpw.com 把ajax用到了全站 |
|
返回顶楼 | |
发表时间:2006-12-06
除非自己动手修改JSDoc这个perl程式吧
我目前的代码全都是Object.extend()方式继承的,不能用JSDoc解析,JSDoc不支持hash数据格式 这是prototype的作者的话 == Documentation Prototype is embarrassingly lacking in documentation. (The source code should be fairly easy to comprehend; I'm committed to using a clean style with meaningful identifiers. But I know that only goes so far.) Much of the problem is that there is no easy way to document it from within the source code itself. I've tried JSDoc[http://jsdoc.sf.net/] and a Perl script included with JsUnit[http://www.edwardh.com/jsunit/]; neither groks Prototype's hash-style class definitions or inheritance scheme. Making them work would require major changes, and I don't have the time for that right now. |
|
返回顶楼 | |