Merge branch 'pikaday-undefined-fix' into 'master'
Fix Pikaday being undefined Closes #36207 See merge request !13422
This commit is contained in:
commit
a281b1e17e
4 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
/* eslint-disable wrap-iife, func-names, space-before-function-paren, comma-dangle, prefer-template, consistent-return, class-methods-use-this, arrow-body-style, no-unused-vars, no-underscore-dangle, no-new, max-len, no-sequences, no-unused-expressions, no-param-reassign */
|
/* eslint-disable wrap-iife, func-names, space-before-function-paren, comma-dangle, prefer-template, consistent-return, class-methods-use-this, arrow-body-style, no-unused-vars, no-underscore-dangle, no-new, max-len, no-sequences, no-unused-expressions, no-param-reassign */
|
||||||
/* global dateFormat */
|
/* global dateFormat */
|
||||||
/* global Pikaday */
|
|
||||||
|
|
||||||
|
import Pikaday from 'pikaday';
|
||||||
import DateFix from './lib/utils/datefix';
|
import DateFix from './lib/utils/datefix';
|
||||||
|
|
||||||
class DueDateSelect {
|
class DueDateSelect {
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
/* global GitLab */
|
/* global GitLab */
|
||||||
/* global Autosave */
|
/* global Autosave */
|
||||||
/* global dateFormat */
|
/* global dateFormat */
|
||||||
/* global Pikaday */
|
|
||||||
|
|
||||||
|
import Pikaday from 'pikaday';
|
||||||
import UsersSelect from './users_select';
|
import UsersSelect from './users_select';
|
||||||
import GfmAutoComplete from './gfm_auto_complete';
|
import GfmAutoComplete from './gfm_auto_complete';
|
||||||
import ZenMode from './zen_mode';
|
import ZenMode from './zen_mode';
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
import jQuery from 'jquery';
|
import jQuery from 'jquery';
|
||||||
import _ from 'underscore';
|
import _ from 'underscore';
|
||||||
import Cookies from 'js-cookie';
|
import Cookies from 'js-cookie';
|
||||||
import Pikaday from 'pikaday';
|
|
||||||
import Dropzone from 'dropzone';
|
import Dropzone from 'dropzone';
|
||||||
import Sortable from 'vendor/Sortable';
|
import Sortable from 'vendor/Sortable';
|
||||||
|
|
||||||
|
@ -20,7 +19,6 @@ import 'vendor/fuzzaldrin-plus';
|
||||||
window.jQuery = jQuery;
|
window.jQuery = jQuery;
|
||||||
window.$ = jQuery;
|
window.$ = jQuery;
|
||||||
window._ = _;
|
window._ = _;
|
||||||
window.Pikaday = Pikaday;
|
|
||||||
window.Dropzone = Dropzone;
|
window.Dropzone = Dropzone;
|
||||||
window.Sortable = Sortable;
|
window.Sortable = Sortable;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/* global Pikaday */
|
|
||||||
/* global dateFormat */
|
/* global dateFormat */
|
||||||
|
|
||||||
|
import Pikaday from 'pikaday';
|
||||||
|
|
||||||
(() => {
|
(() => {
|
||||||
// Add datepickers to all `js-access-expiration-date` elements. If those elements are
|
// Add datepickers to all `js-access-expiration-date` elements. If those elements are
|
||||||
// children of an element with the `clearable-input` class, and have a sibling
|
// children of an element with the `clearable-input` class, and have a sibling
|
||||||
|
|
Loading…
Reference in a new issue