Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update outdated docs for ImportCache.importCanonical(). #982

Merged
merged 3 commits into from
May 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/src/async_import_cache.dart
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ Relative canonical URLs are deprecated and will eventually be disallowed.
/// Otherwise returns `null`.
///
/// If passed, the [originalUrl] represents the URL that was canonicalized
/// into [canonicalUrl]. It's used as the URL for the parsed stylesheet, which
/// is in turn used in error reporting.
/// into [canonicalUrl]. It's used to resolve a relative canonical URL, which
/// importers may return for legacy reasons.
///
/// Caches the result of the import and uses cached results if possible.
Future<Stylesheet> importCanonical(AsyncImporter importer, Uri canonicalUrl,
Expand Down
6 changes: 3 additions & 3 deletions lib/src/import_cache.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// DO NOT EDIT. This file was generated from async_import_cache.dart.
// See tool/grind/synchronize.dart for details.
//
// Checksum: c39f68f9964e4ae03c6447d845349e276def5031
// Checksum: 8f54034c56e0d38fc8c90ad4d5f017628cab6190
//
// ignore_for_file: unused_import

Expand Down Expand Up @@ -171,8 +171,8 @@ Relative canonical URLs are deprecated and will eventually be disallowed.
/// Otherwise returns `null`.
///
/// If passed, the [originalUrl] represents the URL that was canonicalized
/// into [canonicalUrl]. It's used as the URL for the parsed stylesheet, which
/// is in turn used in error reporting.
/// into [canonicalUrl]. It's used to resolve a relative canonical URL, which
/// importers may return for legacy reasons.
///
/// Caches the result of the import and uses cached results if possible.
Stylesheet importCanonical(Importer importer, Uri canonicalUrl,
Expand Down
4 changes: 2 additions & 2 deletions lib/src/stylesheet_graph.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ class StylesheetGraph {
/// stylesheets it imports to this graph and returns its node.
///
/// If passed, the [originalUrl] represents the URL that was canonicalized
/// into [canonicalUrl]. It's used as the URL for the parsed stylesheet, which
/// is in turn used in error reporting.
/// into [canonicalUrl]. It's used to resolve a relative canonical URL, which
/// importers may return for legacy reasons.
///
/// Returns the set of nodes that need to be recompiled because their imports
/// changed as a result of this stylesheet being added. This does not include
Expand Down