File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 423
423
424
424
} ;
425
425
426
+ GameWindow . prototype . setInnerHTML = function ( search , replace , mod ) {
427
+ console . log ( '***deprecated: use W.html instead of W.setInnerHTML' ) ;
428
+ this . html ( search , replace , mod ) ;
429
+ } ;
430
+
426
431
/**
427
- * ### GameWindow.setInnerHTML
432
+ * ### GameWindow.html
428
433
*
429
434
* Replaces the innerHTML of the element with matching id or class name
430
435
*
437
442
* - 'className': replaces all elements with same class name
438
443
* - 'g': replaces globally, both by id and className
439
444
*/
440
- GameWindow . prototype . setInnerHTML = function ( search , replace , mod ) {
445
+ GameWindow . prototype . html = function ( search , replace , mod ) {
441
446
var el , i , len ;
442
447
443
448
// Only process strings or numbers.
You can’t perform that action at this time.
0 commit comments