mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
Revert "[third] Upgrade jquery to version 1.8.3."
This reverts commit be93b6ea28.
Unfortunately, the newer jquery comes with a huge performance
regression affecting the hotkeys code, which has the effect of making
typing super slow.
Fixes: #1449.
This commit is contained in:
@@ -23,7 +23,7 @@ i18n.init({
|
||||
}
|
||||
});
|
||||
|
||||
global.$ = require('jquery');
|
||||
global.$ = require('jQuery');
|
||||
var _ = global._;
|
||||
|
||||
// When writing these tests, the following command might be helpful:
|
||||
|
||||
@@ -2,7 +2,7 @@ var _ = require('third/underscore/underscore.js');
|
||||
var MessageListView = require('js/message_list_view.js');
|
||||
|
||||
add_dependencies({
|
||||
$: 'jquery',
|
||||
$: 'jQuery',
|
||||
XDate: 'third/xdate/xdate.dev.js',
|
||||
util: 'js/util.js'
|
||||
});
|
||||
|
||||
@@ -25,7 +25,7 @@ compose_fade.update_faded_users = function () {
|
||||
return;
|
||||
};
|
||||
|
||||
global.$ = require('jquery');
|
||||
global.$ = require('jQuery');
|
||||
$.fn.expectOne = function () {
|
||||
assert(this.length === 1);
|
||||
return this;
|
||||
|
||||
@@ -20,7 +20,7 @@ set_global('message_store', {
|
||||
|
||||
var stream_list = require('js/stream_list.js');
|
||||
|
||||
global.$ = require('jquery');
|
||||
global.$ = require('jQuery');
|
||||
$.fn.expectOne = function () {
|
||||
assert(this.length === 1);
|
||||
return this;
|
||||
|
||||
@@ -15,7 +15,7 @@ i18n.init({
|
||||
lng: 'en'
|
||||
});
|
||||
|
||||
global.$ = require('jquery');
|
||||
global.$ = require('jQuery');
|
||||
var _ = global._;
|
||||
|
||||
// When writing these tests, the following command might be helpful:
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"devDependencies": {
|
||||
"handlebars": "1.3.0",
|
||||
"istanbul": "0.4.0",
|
||||
"jquery": "1.8.3",
|
||||
"jQuery": "1.7.4",
|
||||
"jsdom": "0.5.7",
|
||||
"xmlhttprequest": "1.5.0",
|
||||
"nwmatcher": "1.3.6",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -642,7 +642,7 @@ PIPELINE = {
|
||||
JS_SPECS = {
|
||||
'common': {
|
||||
'source_filenames': (
|
||||
'third/jquery/jquery-1.8.3.js',
|
||||
'third/jquery/jquery-1.7.2.js',
|
||||
'third/underscore/underscore.js',
|
||||
'js/blueslip.js',
|
||||
'third/bootstrap/js/bootstrap.js',
|
||||
|
||||
Reference in New Issue
Block a user