8000 update yabble · GameJs/gamejs@41ca7b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 41ca7b2

Browse files
committed
update yabble
1 parent 87c3328 commit 41ca7b2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/skeleton/javascript/main.js

-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ gamejs.ready(function() {
1616
};
1717
gamejs.time.fpsCallback(tick, this, 26);
1818
**/
19-
2019
});

examples/skeleton/public/yabble.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
if (e instanceof SyntaxError) {
322322
var msg = 'Syntax Error: ';
323323
if (e.lineNumber) {
324-
msg += 'line ' + e.lineNumber;
324+
msg += 'line ' + (e.lineNumber - 581);
325325
} else {
326326
console.log('GameJs tip: use Firefox to see line numbers in Syntax Errors.');
327327
}

0 commit comments

Comments
 (0)
0