Skip to content

Commit 98b5bbe

Browse files
committed
Fine adjustments
1 parent 94be645 commit 98b5bbe

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 0.4.1
2+
3+
- Release as a portable library (profile 259)
4+
- Adjustable console logger
5+
16
# 0.4.0
27

38
- Fixed some bugs (#24, #20, #17, #16)

src/AngleSharp.Scripting.JavaScript/Dom/DomParser.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,23 @@ public sealed class DomParser
2626

2727
readonly IWindow _window;
2828

29+
/// <summary>
30+
/// Creates a new DOMParser instance.
31+
/// </summary>
32+
/// <param name="window">The window to host the parser.</param>
2933
[DomConstructor]
3034
public DomParser(IWindow window)
3135
{
3236
_window = window;
3337
}
3438

39+
/// <summary>
40+
/// Parses the given string for the given type. Throws a not supported
41+
/// exception if the type is not supported.
42+
/// </summary>
43+
/// <param name="str">The content to parse.</param>
44+
/// <param name="type">The type of the target to parse to.</param>
45+
/// <returns>The document of the given type.</returns>
3546
[DomName("parseFromString")]
3647
public IDocument Parse(String str, String type)
3748
{

0 commit comments

Comments
 (0)