Commit 8ad4881d authored by Clement Ho's avatar Clement Ho

Fix eslint

parent c0dfd967
......@@ -25,14 +25,12 @@ import BlobViewer from './blob/viewer/index';
import UsersSelect from './users_select';
import GfmAutoComplete from './gfm_auto_complete';
import Star from './star';
import TreeView from './tree';
import ZenMode from './zen_mode';
import initSettingsPanels from './settings_panels';
import PerformanceBar from './performance_bar';
import initNotes from './init_notes';
import initIssuableSidebar from './init_issuable_sidebar';
import NewGroupChild from './groups/new_group_child';
import { ajaxGet, convertPermissionToBoolean } from './lib/utils/common_utils';
import { convertPermissionToBoolean } from './lib/utils/common_utils';
import GlFieldErrors from './gl_field_errors';
import GLForm from './gl_form';
import Shortcuts from './shortcuts';
......
......@@ -20,4 +20,4 @@ export default () => {
$('#tree-slider').waitForImages(() => {
ajaxGet(document.querySelector('.js-tree-content').dataset.logsPath);
});
}
};
import initForm from '~/pages/projects/init_form';
export default initForm($('.snippet-form'));
import GLForm from '~/gl_form';
import ZenMode from '~/zen_mode';
import initForm from '~/pages/projects/init_form';
export default function () {
new GLForm($('.snippet-form'), true); // eslint-disable-line no-new
new ZenMode(); // eslint-disable-line no-new
}
export default initForm($('.snippet-form'));
import initSnippets from '~/pages/projects/snippets/init_snippets';
export default initSnippets;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment