From 564f133a46ce0412a3ab61083ec64d38c8f82a6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20G=C3=A5rdenberg?= Date: Mon, 25 Sep 2017 15:41:38 +0200 Subject: [PATCH] Moving _pos into for-declaration, removing deprecated info from readme --- MN.L10n/L10nParser.cs | 7 ++----- README.md | 13 ------------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/MN.L10n/L10nParser.cs b/MN.L10n/L10nParser.cs index a0cea22..79f82e1 100644 --- a/MN.L10n/L10nParser.cs +++ b/MN.L10n/L10nParser.cs @@ -7,17 +7,14 @@ namespace MN.L10n { public class L10nParser { - public List Invocations { get; set; } = new List(); - public List Parse(string source) { - Invocations.Clear(); - int _pos = -1; + List Invocations = new List(); bool inToken = false; StringBuilder _tokenContent = new StringBuilder(); char _stringContainer = '"'; - for (_pos = 0; _pos < source.Length; _pos++) + for (int _pos = 0; _pos < source.Length; _pos++) { switch (source[_pos]) { diff --git a/README.md b/README.md index 089d345..595e6d8 100644 --- a/README.md +++ b/README.md @@ -63,19 +63,6 @@ DealDetails.ShowNotification( ); ``` -## Linking javascript -```html -... - -... -``` - ## Global.asax.cs ```csharp protected void Application_Start(object sender, EventArgs e)