Commit 5c7ba34f authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Reorganise repo/ files to match guidelines

parent ba8bcdab
<script>
import Store from './repo_store';
import RepoHelper from './repo_helper';
import Store from '../stores/repo_store';
import RepoHelper from '../helpers/repo_helper';
const RepoBinaryViewer = {
data: () => Store,
......
<script>
/* global Flash */
import Store from './repo_store';
import Api from '../api';
import RepoMixin from './repo_mixin';
import Helper from './repo_helper';
import Store from '../stores/repo_store';
import Api from '../../api';
import RepoMixin from '../mixins/repo_mixin';
import Helper from '../helpers/repo_helper';
const RepoCommitSection = {
data: () => Store,
......
<script>
/* global monaco */
import Store from './repo_store';
import Helper from './repo_helper';
import Store from '../stores/repo_store';
import Helper from '../helpers/repo_helper';
const RepoEditor = {
data: () => Store,
......
<script>
import TimeAgoMixin from '../vue_shared/mixins/timeago';
import TimeAgoMixin from '../../vue_shared/mixins/timeago';
const RepoFile = {
mixins: [TimeAgoMixin],
......
<script>
import Store from './repo_store';
import Helper from './repo_helper';
import RepoMixin from './repo_mixin';
import Store from '../stores/repo_store';
import Helper from '../helpers/repo_helper';
import RepoMixin from '../mixins/repo_mixin';
const RepoFileButtons = {
data: () => Store,
......
<script>
import Service from './repo_service';
import Helper from './repo_helper';
import Store from './repo_store';
import Service from '../services/repo_service';
import Helper from '../helpers/repo_helper';
import Store from '../stores/repo_store';
import RepoPreviousDirectory from './repo_prev_directory.vue';
import RepoFileOptions from './repo_file_options.vue';
import RepoFile from './repo_file.vue';
import RepoLoadingFile from './repo_loading_file.vue';
import RepoMixin from './repo_mixin';
import RepoMixin from '../mixins/repo_mixin';
const RepoSidebar = {
mixins: [RepoMixin],
......
<script>
import RepoStore from './repo_store';
import RepoStore from '../stores/repo_store';
const RepoTab = {
props: {
......
<script>
import Vue from 'vue';
import Store from './repo_store';
import Store from '../stores/repo_store';
import RepoTab from './repo_tab.vue';
import RepoMixin from './repo_mixin';
import RepoMixin from '../mixins/repo_mixin';
const RepoTabs = {
mixins: [RepoMixin],
......
/* global Flash */
import Service from './repo_service';
import Store from './repo_store';
import '../flash';
import Service from '../services/repo_service';
import Store from '../stores/repo_store';
import '../../flash';
const RepoHelper = {
getDefaultActiveFile() {
......
......@@ -2,17 +2,17 @@
import $ from 'jquery';
import Vue from 'vue';
import Translate from '../vue_shared/translate';
import RepoSidebar from './repo_sidebar.vue';
import RepoSidebar from './components/repo_sidebar.vue';
import EditButton from './repo_edit_button';
import Service from './repo_service';
import Store from './repo_store';
import RepoCommitSection from './repo_commit_section.vue';
import RepoTabs from './repo_tabs.vue';
import RepoFileButtons from './repo_file_buttons.vue';
import RepoBinaryViewer from './repo_binary_viewer.vue';
import RepoEditor from './repo_editor.vue';
import Service from './services/repo_service';
import Store from './stores/repo_store';
import RepoCommitSection from './components/repo_commit_section.vue';
import RepoTabs from './components/repo_tabs.vue';
import RepoFileButtons from './components/repo_file_buttons.vue';
import RepoBinaryViewer from './components/repo_binary_viewer.vue';
import RepoEditor from './components/repo_editor.vue';
import monacoLoader from './monaco_loader';
import RepoMixin from './repo_mixin';
import RepoMixin from './mixins/repo_mixin';
import PopupDialog from '../vue_shared/components/popup_dialog.vue';
Vue.use(Translate);
......
import Store from './repo_store';
import Store from '../stores/repo_store';
const RepoMixin = {
computed: {
......
import Vue from 'vue';
import Store from './repo_store';
import RepoMixin from './repo_mixin';
import Store from './stores/repo_store';
import RepoMixin from './mixins/repo_mixin';
import { __ } from '../locale';
export default class RepoEditButton {
......
import axios from 'axios';
import Store from './repo_store';
import Store from '../stores/repo_store';
const RepoService = {
url: '',
......
/* global Flash */
import RepoHelper from './repo_helper';
import RepoHelper from '../helpers/repo_helper';
const RepoStore = {
ideEl: {},
......
import Vue from 'vue';
import Store from '~/repo/repo_store';
import repoBinaryViewer from '~/repo/repo_binary_viewer.vue';
import Store from '~/repo/stores/repo_store';
import repoBinaryViewer from '~/repo/components/repo_binary_viewer.vue';
describe('RepoBinaryViewer', () => {
function createComponent() {
......
import Vue from 'vue';
import repoCommitSection from '~/repo/repo_commit_section.vue';
import RepoStore from '~/repo/repo_store';
import RepoHelper from '~/repo/repo_helper';
import repoCommitSection from '~/repo/components/repo_commit_section.vue';
import RepoStore from '~/repo/stores/repo_store';
import RepoHelper from '~/repo/helpers/repo_helper';
import Api from '~/api';
describe('RepoCommitSection', () => {
......
import Vue from 'vue';
import repoEditor from '~/repo/repo_editor.vue';
import RepoStore from '~/repo/repo_store';
import repoEditor from '~/repo/components/repo_editor.vue';
import RepoStore from '~/repo/stores/repo_store';
describe('RepoEditor', () => {
function createComponent() {
......
import Vue from 'vue';
import repoFileButtons from '~/repo/repo_file_buttons.vue';
import RepoStore from '~/repo/repo_store';
import repoFileButtons from '~/repo/components/repo_file_buttons.vue';
import RepoStore from '~/repo/stores/repo_store';
describe('RepoFileButtons', () => {
function createComponent() {
......
import Vue from 'vue';
import repoFileOptions from '~/repo/repo_file_options.vue';
import repoFileOptions from '~/repo/components/repo_file_options.vue';
describe('RepoFileOptions', () => {
const projectName = 'projectName';
......
import Vue from 'vue';
import repoFile from '~/repo/repo_file.vue';
import repoFile from '~/repo/components/repo_file.vue';
describe('RepoFile', () => {
const updated = 'updated';
......
import Vue from 'vue';
import repoLoadingFile from '~/repo/repo_loading_file.vue';
import repoLoadingFile from '~/repo/components/repo_loading_file.vue';
describe('RepoLoadingFile', () => {
function createComponent(propsData) {
......
import Vue from 'vue';
import repoPrevDirectory from '~/repo/repo_prev_directory.vue';
import repoPrevDirectory from '~/repo/components/repo_prev_directory.vue';
describe('RepoPrevDirectory', () => {
function createComponent(propsData) {
......
import Vue from 'vue';
import RepoStore from '~/repo/repo_store';
import repoSidebar from '~/repo/repo_sidebar.vue';
import RepoStore from '~/repo/stores/repo_store';
import repoSidebar from '~/repo/components/repo_sidebar.vue';
describe('RepoSidebar', () => {
function createComponent() {
......
import Vue from 'vue';
import repoTab from '~/repo/repo_tab.vue';
import repoTab from '~/repo/components/repo_tab.vue';
describe('RepoTab', () => {
function createComponent(propsData) {
......
import Vue from 'vue';
import RepoStore from '~/repo/repo_store';
import repoTabs from '~/repo/repo_tabs.vue';
import RepoStore from '~/repo/stores/repo_store';
import repoTabs from '~/repo/components/repo_tabs.vue';
describe('RepoTabs', () => {
const openedFiles = [{
......
import axios from 'axios';
import RepoService from '~/repo/repo_service';
import RepoService from '~/repo/services/repo_service';
describe('RepoService', () => {
it('has default json format param', () => {
......
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