Skip to content

updating JS libraries 2022.02 #3177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion qiita_pet/static/js/qiita.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,12 @@ var qiita_websocket = new function () {
ws.onerror = on_error;

ws.onmessage = function(evt) {
message = decode(evt.data);
var data = evt.data;
if (data === 'hello'){
message = '';
} else {
message = decode(evt.data);
}
for(var action in message) {
if(action in callbacks) {
callbacks[action](message[action]);
Expand Down
3 changes: 2 additions & 1 deletion qiita_pet/static/js/sampleTemplateVue.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ Vue.component('sample-template-page', {
var catValues, $tr, $td, rowIdx, collapsedId, $trVal, $div, $btn;
$div = $('<div>').addClass('panel panel-default').appendTo('#sample-info-tab');
$('<div>').addClass('panel-heading').appendTo($div).append('Information summary');
var $table = $('<table>').addClass('table').appendTo($div);
var $mtable = $('<table>').addClass('table').appendTo($div);
var $table = $('<tbody>').appendTo($mtable);
var categories = data['values'];
categories.sort(function(a, b){return a[0].localeCompare(b[0], 'en', {'sensitivity': 'base'});});

Expand Down
3 changes: 1 addition & 2 deletions qiita_pet/static/vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ Qiita relies on the following JavaScript libraries:
- [Select2](https://select2.org/).
- [SlickGrid](https://github.com/mleibman/SlickGrid).
- [String.js](https://github.com/jprichardson/string.js).
- [tag-it.js](http://aehlke.github.io/tag-it/).
- [underscore.js](http://underscorejs.org/).
- [tagify](https://github.com/yairEO/tagify).
- [vue.js](https://vuejs.org).
- [ol.js](https://openlayers.org/).
- [cytoscape.js](https://github.com/cytoscape/cytoscape.js).
Expand Down
Binary file modified qiita_pet/static/vendor/css/chosen-sprite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified qiita_pet/static/vendor/css/chosen-sprite@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading