Skip to content

Commit 0c10989

Browse files
committed
updated docstring for DWDSInjector class
1 parent d3df3f6 commit 0c10989

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

dwds/lib/src/handlers/injector.dart

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,17 @@ const mainExtensionMarker = '/* MAIN_EXTENSION_MARKER */';
2626

2727
const _clientScript = 'dwds/src/injected/client';
2828

29-
/// Handles injecting the DWDS client and embedding debugging related
30-
/// information.
29+
/// Handles injecting the DWDS client and embedding debugging-related information.
30+
///
31+
/// This class is responsible for modifying the served JavaScript files
32+
/// to include the injected DWDS client, enabling debugging capabilities
33+
/// and source mapping when running in a browser environment.
34+
///
35+
/// The `_enableDebuggingSupport` flag determines whether debugging-related
36+
/// functionality should be included:
37+
/// - When `true`, the DWDS client is injected, enabling debugging features.
38+
/// - When `false`, debugging support is disabled, meaning the application will
39+
/// run without debugging.
3140
class DwdsInjector {
3241
final Future<String>? _extensionUri;
3342
final _devHandlerPaths = StreamController<String>();

0 commit comments

Comments
 (0)