Skip to content

Commit 30f21a1

Browse files
committed
built
1 parent e1816d0 commit 30f21a1

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

build/nodegame-window.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4116,7 +4116,7 @@
41164116

41174117
/**
41184118
* # extra
4119-
* Copyright(c) 2019 Stefano Balietti
4119+
* Copyright(c) 2022 Stefano Balietti
41204120
* MIT Licensed
41214121
*
41224122
* GameWindow extras
@@ -4540,8 +4540,13 @@
45404540

45414541
};
45424542

4543+
GameWindow.prototype.setInnerHTML = function(search, replace, mod) {
4544+
// console.log('***deprecated: use W.html instead of W.setInnerHTML');
4545+
this.html(search, replace, mod);
4546+
};
4547+
45434548
/**
4544-
* ### GameWindow.setInnerHTML
4549+
* ### GameWindow.html
45454550
*
45464551
* Replaces the innerHTML of the element with matching id or class name
45474552
*
@@ -4554,7 +4559,7 @@
45544559
* - 'className': replaces all elements with same class name
45554560
* - 'g': replaces globally, both by id and className
45564561
*/
4557-
GameWindow.prototype.setInnerHTML = function(search, replace, mod) {
4562+
GameWindow.prototype.html = function(search, replace, mod) {
45584563
var el, i, len;
45594564

45604565
// Only process strings or numbers.

0 commit comments

Comments
 (0)