Ignore:
Timestamp:
May 29, 2020, 10:45:52 PM (4 years ago)
Author:
coas-nagasima
Message:

Visual Studio 2019 と Bridge.NET でビルドできるよう更新。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/webapp/webmrbc/Mruby.cs

    r321 r425  
    4040using Bridge;
    4141using Bridge.Html5;
    42 using Bridge.Text.RegularExpressions;
    4342
    4443namespace WebMrbc
     
    141140                        var progressElement = (HTMLProgressElement)Document.GetElementById("progress");
    142141                        var spinnerElement = (HTMLDivElement)Document.GetElementById("spinner");
    143                         var m = text.Match(new Regex(@"([^(]+)\((\d+(\.\d+)?)\/(\d+)\)"));
     142                        var m = text.Match(new RegExp(@"([^(]+)\((\d+(\.\d+)?)\/(\d+)\)"));
    144143                        var now = DateTime.Now.Ticks;
    145144                        if (m != null && now - DateTime.Now.Ticks < 30) return; // if this is a progress update, skip it if too soon
     
    170169                }
    171170
    172                 [External, Name(false)]
     171                [External, Convention(Notation.PascalCase)]
    173172                internal string UTF8ArrayToString(Uint8Array buf, int index)
    174173                {
     
    194193                }
    195194
    196                 [Name(false)]
     195                [Convention(Notation.PascalCase)]
    197196                internal Uint8Array UTF8StringToArray(string str)
    198197                {
Note: See TracChangeset for help on using the changeset viewer.