-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatforms.js
More file actions
27 lines (24 loc) · 802 Bytes
/
platforms.js
File metadata and controls
27 lines (24 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Generated by CoffeeScript 1.3.3
(function() {
var isSamsung,
__slice = [].slice;
isSamsung = /maple/i.test(navigator.userAgent);
if (isSamsung) {
this.console = {
log: function() {
var args;
args = 1 <= arguments.length ? __slice.call(arguments, 0) : [];
return alert(args);
}
};
document.write("<script type='text/javascript' src='$MANAGER_WIDGET/Common/API/Widget.js'></script>\n<script type='text/javascript' src='$MANAGER_WIDGET/Common/API/TVKeyValue.js'></script>");
window.onload = function() {
var keys;
keys = new Common.API.TVKeyValue();
this.VK_LEFT = keys.KEY_LEFT;
this.VK_RIGHT = keys.KEY_RIGHT;
this.VK_UP = keys.KEY_UP;
return this.VK_DOWN = keys.KEY_DOWN;
};
}
}).call(this);