dart-lang/dart-web-components — pull request #119 by sqs (2012-10-25 10:23:16+00:00)
Title: Don't rewrite non-relative resource URLs in <script> and <link> tags in the main page

Fixes issue https://github.com/dart-lang/dart-web-components/issues/118 (PathInfo.transferDirectiveUrl fails on non-relative resource URLs in MainPageEmitter). All tests pass.

The docstring for `transferDirectiveUrl` is a little bit out of date (the reference to `target`), and the function seems to be used for two different purposes. Separating it into two functions may be a cleaner fix for this issue.