Skip to content

Commit 5ed0d57

Browse files
committed
Fix an issue with a test on Safari
1 parent 8790d20 commit 5ed0d57

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Utils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ var Utils = {
160160
if (pos !== undefined) {
161161
oError.pos = pos;
162162
}
163-
if (line !== undefined) {
163+
// Safari: Some additional properties are already defined: line, column. Shall we use "cause" property now?
164+
if (line !== oError.line) {
164165
oError.line = line;
165166
}
166167
if (hidden !== undefined) {

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<link rel="stylesheet" href="cpcbasic.css" />
7-
<title id="title">CPC Basic v0.10.9</title>
7+
<title id="title">CPC Basic v0.10.10</title>
88
</head>
99

1010
<body id="pageBody">

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cpcbasic",
3-
"version": "0.10.9",
3+
"version": "0.10.10",
44
"description": "# CPCBasic - Run CPC BASIC in a Browser",
55
"main": "cpcbasic.js",
66
"directories": {

0 commit comments

Comments
 (0)