Sfoglia il codice sorgente

decaffeinate: Run post-processing cleanups on app.coffee and 75 other files

decaffeinate 1 anno fa
parent
commit
c237856902
76 ha cambiato i file con 152 aggiunte e 0 eliminazioni
  1. 2 0
      assets/javascripts/app/app.js
  2. 2 0
      assets/javascripts/app/db.js
  3. 2 0
      assets/javascripts/app/router.js
  4. 2 0
      assets/javascripts/app/searcher.js
  5. 2 0
      assets/javascripts/app/serviceworker.js
  6. 2 0
      assets/javascripts/app/settings.js
  7. 2 0
      assets/javascripts/app/shortcuts.js
  8. 2 0
      assets/javascripts/app/update_checker.js
  9. 2 0
      assets/javascripts/application.js.js
  10. 2 0
      assets/javascripts/collections/collection.js
  11. 2 0
      assets/javascripts/collections/docs.js
  12. 2 0
      assets/javascripts/collections/entries.js
  13. 2 0
      assets/javascripts/collections/types.js
  14. 2 0
      assets/javascripts/debug.js.js
  15. 2 0
      assets/javascripts/lib/ajax.js
  16. 2 0
      assets/javascripts/lib/cookies_store.js
  17. 2 0
      assets/javascripts/lib/events.js
  18. 2 0
      assets/javascripts/lib/favicon.js
  19. 2 0
      assets/javascripts/lib/license.js
  20. 2 0
      assets/javascripts/lib/local_storage_store.js
  21. 2 0
      assets/javascripts/lib/page.js
  22. 2 0
      assets/javascripts/lib/util.js
  23. 2 0
      assets/javascripts/models/doc.js
  24. 2 0
      assets/javascripts/models/entry.js
  25. 2 0
      assets/javascripts/models/model.js
  26. 2 0
      assets/javascripts/models/type.js
  27. 2 0
      assets/javascripts/templates/base.js
  28. 2 0
      assets/javascripts/templates/error_tmpl.js
  29. 2 0
      assets/javascripts/templates/notice_tmpl.js
  30. 2 0
      assets/javascripts/templates/notif_tmpl.js
  31. 2 0
      assets/javascripts/templates/pages/about_tmpl.js
  32. 2 0
      assets/javascripts/templates/pages/help_tmpl.js
  33. 2 0
      assets/javascripts/templates/pages/offline_tmpl.js
  34. 2 0
      assets/javascripts/templates/pages/settings_tmpl.js
  35. 2 0
      assets/javascripts/templates/pages/type_tmpl.js
  36. 2 0
      assets/javascripts/templates/path_tmpl.js
  37. 2 0
      assets/javascripts/templates/sidebar_tmpl.js
  38. 2 0
      assets/javascripts/templates/tip_tmpl.js
  39. 2 0
      assets/javascripts/views/content/content.js
  40. 2 0
      assets/javascripts/views/content/entry_page.js
  41. 2 0
      assets/javascripts/views/content/offline_page.js
  42. 2 0
      assets/javascripts/views/content/root_page.js
  43. 2 0
      assets/javascripts/views/content/settings_page.js
  44. 2 0
      assets/javascripts/views/content/static_page.js
  45. 2 0
      assets/javascripts/views/content/type_page.js
  46. 2 0
      assets/javascripts/views/layout/document.js
  47. 2 0
      assets/javascripts/views/layout/menu.js
  48. 2 0
      assets/javascripts/views/layout/mobile.js
  49. 2 0
      assets/javascripts/views/layout/path.js
  50. 2 0
      assets/javascripts/views/layout/resizer.js
  51. 2 0
      assets/javascripts/views/layout/settings.js
  52. 2 0
      assets/javascripts/views/list/list_focus.js
  53. 2 0
      assets/javascripts/views/list/list_fold.js
  54. 2 0
      assets/javascripts/views/list/list_select.js
  55. 2 0
      assets/javascripts/views/list/paginated_list.js
  56. 2 0
      assets/javascripts/views/misc/news.js
  57. 2 0
      assets/javascripts/views/misc/notice.js
  58. 2 0
      assets/javascripts/views/misc/notif.js
  59. 2 0
      assets/javascripts/views/misc/tip.js
  60. 2 0
      assets/javascripts/views/misc/updates.js
  61. 2 0
      assets/javascripts/views/pages/base.js
  62. 2 0
      assets/javascripts/views/pages/hidden.js
  63. 2 0
      assets/javascripts/views/pages/jquery.js
  64. 2 0
      assets/javascripts/views/pages/rdoc.js
  65. 2 0
      assets/javascripts/views/pages/sqlite.js
  66. 2 0
      assets/javascripts/views/pages/support_tables.js
  67. 2 0
      assets/javascripts/views/search/search.js
  68. 2 0
      assets/javascripts/views/search/search_scope.js
  69. 2 0
      assets/javascripts/views/sidebar/doc_list.js
  70. 2 0
      assets/javascripts/views/sidebar/doc_picker.js
  71. 2 0
      assets/javascripts/views/sidebar/entry_list.js
  72. 2 0
      assets/javascripts/views/sidebar/results.js
  73. 2 0
      assets/javascripts/views/sidebar/sidebar.js
  74. 2 0
      assets/javascripts/views/sidebar/sidebar_hover.js
  75. 2 0
      assets/javascripts/views/sidebar/type_list.js
  76. 2 0
      assets/javascripts/views/view.js

+ 2 - 0
assets/javascripts/app/app.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/app/db.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/app/router.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/app/searcher.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/app/serviceworker.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/app/settings.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/app/shortcuts.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/app/update_checker.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS207: Consider shorter variations of null checks

+ 2 - 0
assets/javascripts/application.js.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/collections/collection.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/collections/docs.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/collections/entries.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS206: Consider reworking classes to avoid initClass

+ 2 - 0
assets/javascripts/collections/types.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/debug.js.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/lib/ajax.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/lib/cookies_store.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/lib/events.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/lib/favicon.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/lib/license.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * Copyright 2013-2023 Thibaut Courouble and other contributors
  *

+ 2 - 0
assets/javascripts/lib/local_storage_store.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/lib/page.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/lib/util.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/models/doc.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/models/entry.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/models/model.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 app.Model = class Model {
   constructor(attributes) {
     for (var key in attributes) { var value = attributes[key]; this[key] = value; }

+ 2 - 0
assets/javascripts/models/type.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/templates/base.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/templates/error_tmpl.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/templates/notice_tmpl.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/templates/notif_tmpl.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/templates/pages/about_tmpl.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/templates/pages/help_tmpl.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/templates/pages/offline_tmpl.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/templates/pages/settings_tmpl.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/templates/pages/type_tmpl.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/templates/path_tmpl.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/templates/sidebar_tmpl.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/templates/tip_tmpl.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/views/content/content.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/content/entry_page.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/content/offline_page.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/content/root_page.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/content/settings_page.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/content/static_page.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/views/content/type_page.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/views/layout/document.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/layout/menu.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/layout/mobile.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/layout/path.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/layout/resizer.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/layout/settings.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/list/list_focus.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/list/list_fold.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/list/list_select.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/list/paginated_list.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/misc/news.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/views/misc/notice.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/misc/notif.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/misc/tip.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS206: Consider reworking classes to avoid initClass

+ 2 - 0
assets/javascripts/views/misc/updates.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from

+ 2 - 0
assets/javascripts/views/pages/base.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/pages/hidden.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/pages/jquery.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/pages/rdoc.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns

+ 2 - 0
assets/javascripts/views/pages/sqlite.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/pages/support_tables.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS206: Consider reworking classes to avoid initClass

+ 2 - 0
assets/javascripts/views/search/search.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/search/search_scope.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/sidebar/doc_list.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/sidebar/doc_picker.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/sidebar/entry_list.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/sidebar/results.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/sidebar/sidebar.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/sidebar/sidebar_hover.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/sidebar/type_list.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS002: Fix invalid constructor

+ 2 - 0
assets/javascripts/views/view.js

@@ -1,3 +1,5 @@
+// TODO: This file was created by bulk-decaffeinate.
+// Sanity-check the conversion and remove this comment.
 /*
  * decaffeinate suggestions:
  * DS101: Remove unnecessary use of Array.from