-
Notifications
You must be signed in to change notification settings - Fork 2
/
scripts.js
executable file
·27 lines (18 loc) · 949 Bytes
/
scripts.js
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
// Mechanism to pull in additional CSS or JavaScript files
// Textual.include_js("jquery.min.js");
// Textual.include_css("more_theme.css");
// Function called when new message from IRC has been posted to display
// Textual.newMessagePostedToDisplay = function(lineNumber)
// {
// var newLine = document.getElementById("line" + lineNumber);
// }
// Functions called for contextual menus used within WebView
// DO NOT change without knowledge of what to do.
// Safe to remove from source code if not needed.
// Textual.on_url = function() { app.setUrl(event.target.innerHTML); }
// Textual.on_chname = function() { app.setChan(event.target.innerHTML); }
// Textual.on_ct_nick: function() { app.setNick(event.target.innerHTML); }
// Textual.on_nick = function() { app.setNick(event.target.getAttribute("nick")); }
/* Using script.js as a loader */
Textual.include_js('lib/zepto.min.js');
Textual.include_js('lib/simplified-solarized.js');