Sha256: 982ec5026413030bcf899b6f86fed32eed4613827a87d13a31e7e9cc00582b2c

Contents?: true

Size: 607 Bytes

Versions: 6

Compression:

Stored size: 607 Bytes

Contents

/* global sortSteps */

// = require jquery
// = require jquery_ujs
// = require foundation
// = require html.sortable
// = require ./sort_steps
// = require ./tab_focus
// = require ./toggle_nav
// = require decidim/editor
// = require foundation-datepicker
// = require form_datepicker
// = require moment.min
// = require_self

window.Decidim = window.Decidim || {};

const pageLoad = () => {
  $(document).foundation();
  sortSteps();

  if (DecidimAdmin) {
    DecidimAdmin.toggleNav();
  }
};

$(() => {
  pageLoad();
 if (window.Decidim.formDatePicker) {
    window.Decidim.formDatePicker();
  }
});

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
decidim-admin-0.2.0 app/assets/javascripts/decidim/admin/application.js.es6
decidim-0.2.0 decidim-admin/app/assets/javascripts/decidim/admin/application.js.es6
decidim-admin-0.1.0 app/assets/javascripts/decidim/admin/application.js.es6
decidim-0.1.0 decidim-admin/app/assets/javascripts/decidim/admin/application.js.es6
decidim-admin-0.0.8.1 app/assets/javascripts/decidim/admin/application.js.es6
decidim-0.0.8.1 decidim-admin/app/assets/javascripts/decidim/admin/application.js.es6