Remove jQuery UI

This commit is contained in:
John McLear 2012-02-02 18:42:34 +00:00
parent 8d7ec7d24a
commit a7d7295116
3 changed files with 6 additions and 13 deletions

View file

@ -18,7 +18,6 @@
, "pad_impexp.js"
, "pad_savedrevs.js"
, "pad_connectionstatus.js"
, "jquery-ui.js"
, "chat.js"
, "excanvas.js"
, "farbtastic.js"

View file

@ -37,14 +37,10 @@ var chat = (function()
var self = {
show: function ()
{
$("#chaticon").hide("slide", {
direction: "down"
}, hDuration, function ()
$("#chaticon").hide(function ()
{
$("#chatbox").show("slide", {
direction: "down"
}, sDuration, self.scrollDown);
$("#chatbox").resizable(
$("#chatbox").show();
/* $("#chatbox").resizable(
{
handles: 'nw',
minHeight: 40,
@ -66,6 +62,7 @@ var chat = (function()
self.scrollDown();
}
});
*/
});
chatMentions = 0;
document.title = title;
@ -90,10 +87,8 @@ var chat = (function()
hide: function ()
{
$("#chatcounter").text("0");
$("#chatbox").hide("slide", { direction: "down" }, sDuration, function()
{
$("#chaticon").show("slide", { direction: "down" }, hDuration);
});
$("#chatbox").hide();
$("#chaticon").show();
},
scrollDown: function()
{

View file

@ -27,7 +27,6 @@ var socket;
// These jQuery things should create local references, but for now `require()`
// assigns to the global `$` and augments it with plugins.
require('/jquery');
require('/jquery-ui');
require('/farbtastic');
require('/excanvas');
JSON = require('/json2');