Google 网上论坛不再支持新的 Usenet 帖子或订阅项。历史内容仍可供查看。

JavaScript package system for 1.9 / FF3?

已查看 4 次
跳至第一个未读帖子

Robert Sayre

未读,
2006年10月8日 18:39:172006/10/8
收件人
Any chance we'll get this? I know it's planned for JS2.


I searched for JavaScript String.trim() implementations in the tree.
This list does not include files that have one of these implementations
#included by the preprocessor.

/browser/components/search/nsSearchService.js#1555
/extensions/cck/browser/resources/content/cckwizard/search.js#188
/extensions/cview/resources/content/cview-utils.js#356
/extensions/venkman/resources/content/venkman-utils.js#779
/extensions/irc/js/lib/utils.js#663

I even wrote it twice in the toolkit feed code without noticing:

/toolkit/components/feeds/test/shell.js#55
/toolkit/components/feeds/src/FeedProcessor.js#729

/toolkit/components/url-classifier/content/js/lang.js#185
/browser/base/content/browser.js#2321
/browser/components/preferences/permissions.js#368
/mail/extensions/newsblog/content/utils.js#343
/mail/extensions/newsblog/content/feed-properties.js#73
/mail/components/preferences/viewpasswords.js#444
/editor/ui/composer/content/editorUtilities.js#151
/xpfe/communicator/resources/content/utilityOverlay.js#549
/extensions/wallet/signonviewer/resources/content/SignonViewer.js#735
/extensions/safe-browsing/lib/js/lang.js#192
/mailnews/base/prefs/resources/content/amUtils.js#98
/mailnews/base/search/resources/content/CustomHeaders.js#272
/calendar/providers/wcap/calWcapUtils.js#252
/suite/common/utilityOverlay.js#549

-Rob

Myk Melez

未读,
2006年10月9日 17:34:162006/10/9
收件人
Robert Sayre wrote:

> I searched for JavaScript String.trim() implementations in the tree.
> This list does not include files that have one of these implementations
> #included by the preprocessor.

There are even more cases than this list suggests, since sometimes code
just inlines the regexp, f.e.:

/browser/components/microsummaries/src/nsMicrosummaryService.js.in#1537
/browser/components/microsummaries/src/nsMicrosummaryService.js.in#1596

-myk

0 个新帖子