Skip to content

Commit 3bdfb81

Browse files
Merge pull request #3177 from antgonza/update-JS-libraries-01.2022
updating JS libraries 2022.02
2 parents 881d4bd + d18ac46 commit 3bdfb81

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+9869
-698
lines changed

qiita_pet/static/js/qiita.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,12 @@ var qiita_websocket = new function () {
265265
ws.onerror = on_error;
266266

267267
ws.onmessage = function(evt) {
268-
message = decode(evt.data);
268+
var data = evt.data;
269+
if (data === 'hello'){
270+
message = '';
271+
} else {
272+
message = decode(evt.data);
273+
}
269274
for(var action in message) {
270275
if(action in callbacks) {
271276
callbacks[action](message[action]);

qiita_pet/static/js/sampleTemplateVue.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,8 @@ Vue.component('sample-template-page', {
329329
var catValues, $tr, $td, rowIdx, collapsedId, $trVal, $div, $btn;
330330
$div = $('<div>').addClass('panel panel-default').appendTo('#sample-info-tab');
331331
$('<div>').addClass('panel-heading').appendTo($div).append('Information summary');
332-
var $table = $('<table>').addClass('table').appendTo($div);
332+
var $mtable = $('<table>').addClass('table').appendTo($div);
333+
var $table = $('<tbody>').appendTo($mtable);
333334
var categories = data['values'];
334335
categories.sort(function(a, b){return a[0].localeCompare(b[0], 'en', {'sensitivity': 'base'});});
335336

qiita_pet/static/vendor/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ Qiita relies on the following JavaScript libraries:
99
- [Select2](https://select2.org/).
1010
- [SlickGrid](https://github.com/mleibman/SlickGrid).
1111
- [String.js](https://github.com/jprichardson/string.js).
12-
- [tag-it.js](http://aehlke.github.io/tag-it/).
13-
- [underscore.js](http://underscorejs.org/).
12+
- [tagify](https://github.com/yairEO/tagify).
1413
- [vue.js](https://vuejs.org).
1514
- [ol.js](https://openlayers.org/).
1615
- [cytoscape.js](https://github.com/cytoscape/cytoscape.js).
-108 Bytes
Loading
-134 Bytes
Loading

0 commit comments

Comments
 (0)