Changeset 425 for EcnlProtoTool/trunk/webapp/webmrbc/Mruby.cs
- Timestamp:
- May 29, 2020, 10:45:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/webapp/webmrbc/Mruby.cs
r321 r425 40 40 using Bridge; 41 41 using Bridge.Html5; 42 using Bridge.Text.RegularExpressions;43 42 44 43 namespace WebMrbc … … 141 140 var progressElement = (HTMLProgressElement)Document.GetElementById("progress"); 142 141 var spinnerElement = (HTMLDivElement)Document.GetElementById("spinner"); 143 var m = text.Match(new Reg ex(@"([^(]+)\((\d+(\.\d+)?)\/(\d+)\)"));142 var m = text.Match(new RegExp(@"([^(]+)\((\d+(\.\d+)?)\/(\d+)\)")); 144 143 var now = DateTime.Now.Ticks; 145 144 if (m != null && now - DateTime.Now.Ticks < 30) return; // if this is a progress update, skip it if too soon … … 170 169 } 171 170 172 [External, Name(false)]171 [External, Convention(Notation.PascalCase)] 173 172 internal string UTF8ArrayToString(Uint8Array buf, int index) 174 173 { … … 194 193 } 195 194 196 [ Name(false)]195 [Convention(Notation.PascalCase)] 197 196 internal Uint8Array UTF8StringToArray(string str) 198 197 {
Note:
See TracChangeset
for help on using the changeset viewer.