Skip to content

Commit 920f759

Browse files
committed
cleanup listeners
1 parent 4e419ce commit 920f759

File tree

1 file changed

+0
-48
lines changed

1 file changed

+0
-48
lines changed

listeners/listeners.js

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,6 @@
1111

1212
"use strict";
1313

14-
// var J = node.JSUS;
15-
16-
// function getElement(idOrObj, prefix) {
17-
// var el;
18-
// if ('string' === typeof idOrObj) {
19-
// el = W.getElementById(idOrObj);
20-
// }
21-
// else if (J.isElement(idOrObj)) {
22-
// el = idOrObj;
23-
// }
24-
// else {
25-
// throw new TypeError(prefix + ': idOrObj must be string ' +
26-
// ' or HTML Element.');
27-
// }
28-
// return el;
29-
// }
30-
3114
var GameWindow = node.GameWindow;
3215

3316
/**
@@ -52,37 +35,6 @@
5235
W.init(node.conf.window);
5336
});
5437

55-
// node.on('HIDE', function(idOrObj) {
56-
// var el;
57-
// console.log('***GameWindow.on.HIDE is deprecated. Use ' +
58-
// 'GameWindow.hide() instead.***');
59-
// el = getElement(idOrObj, 'GameWindow.on.HIDE');
60-
// if (el) el.style.display = 'none';
61-
// });
62-
//
63-
// node.on('SHOW', function(idOrObj) {
64-
// var el;
65-
// console.log('***GameWindow.on.SHOW is deprecated. Use ' +
66-
// 'GameWindow.show() instead.***');
67-
// el = getElement(idOrObj, 'GameWindow.on.SHOW');
68-
// if (el) el.style.display = '';
69-
// });
70-
//
71-
// node.on('TOGGLE', function(idOrObj) {
72-
// var el;
73-
// console.log('***GameWindow.on.TOGGLE is deprecated. Use ' +
74-
// 'GameWindow.toggle() instead.***');
75-
// el = getElement(idOrObj, 'GameWindow.on.TOGGLE');
76-
// if (el) {
77-
// if (el.style.display === 'none') {
78-
// el.style.display = '';
79-
// }
80-
// else {
81-
// el.style.display = 'none';
82-
// }
83-
// }
84-
// });
85-
8638
// Disable all the input forms found within a given id element.
8739
node.on('INPUT_DISABLE', function(id) {
8840
W.toggleInputs(id, true);

0 commit comments

Comments
 (0)