Commit 352e5ad4 authored by Clement Ho's avatar Clement Ho

Add export to ee module

parent f45739fb
import '~/pages/projects/tree/show/index';
import initPathLocks from 'ee/path_locks';
document.addEventListener('DOMContentLoaded', () => {
export default () => {
if (document.querySelector('.js-tree-content').dataset.pathLocksAvailable === 'true') {
initPathLocks(
document.querySelector('.js-tree-content').dataset.pathLocksToggle,
document.querySelector('.js-tree-content').dataset.pathLocksPath,
);
}
});
};
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