decko-commons/decko

View on GitHub
mod/format/assets/script/manifest.yml

Summary

Maintainability
Test Coverage
remote:
  items:
    # NOTE: jQuery 3.6.0 made it so we couldn't set the focus in the search box
    # Please test that use case when upgrading!
    - src: https://code.jquery.com/jquery-3.5.1.min.js
      integrity: sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=
      crossorigin: "anonymous"

    - src: https://cdnjs.cloudflare.com/ajax/libs/jquery-ujs/1.2.3/rails.min.js
      integrity: sha512-yDJWVxuRSkQa1u9/Zif6Gh93Gk0Urboz98JLEPcERMQ+pTHz/c27d0Xz08G+lgutFyKklB9UILtnhG6bth6B4A==
      crossorigin: anonymous
      referrerpolicy: no-referrer

jquery:
  items:
    # jquery-ui includes all interaction components, the dialog and the autocomplete widget
    # and all dependencies for those
    # decko depends on autocomplete, sortable, jquery.autosize and jquery.fileupload
    # the dialog widget is not used in decko but in wikirate
    # don't know if iframe-transport is needed but it used to be there

    - jquery/jquery-ui.min.js
    - jquery/jquery.ui.autocomplete.html.js
    - jquery/jquery.autosize.js

    - ../../vendor/jquery_file_upload/js/jquery.fileupload.js
    - ../../vendor/jquery_file_upload/js/jquery.iframe-transport.js

decko:
  items:
    - decko/decko.js.coffee
    - decko/decko_jquery.js.coffee

    - decko/slot.js.coffee
    - decko/slotter.js.coffee

    - decko/slot_ready.js.coffee
    - decko/clicks_and_hovers.js.coffee