Browse Source

Revert "Do those imports!"

This reverts commit 64dcc70bd271d827c1639f8c847543a6d2ede713.
David Arnold 4 years ago
parent
commit
be712541d5

+ 0 - 2
client/components/cards/attachments.js

@@ -1,5 +1,3 @@
-import Attachments from '../../../models/attachments';
-
 Template.attachmentsGalery.events({
   'click .js-add-attachment': Popup.open('cardAttachments'),
   'click .js-confirm-delete': Popup.afterConfirm(

+ 0 - 2
client/components/main/editor.js

@@ -1,5 +1,3 @@
-import Attachments from '/models/attachments';
-
 const specialHandles = [
   {userId: 'board_members', username: 'board_members'},
   {userId: 'card_members', username: 'card_members'}

+ 0 - 1
client/components/users/userAvatar.js

@@ -3,7 +3,6 @@ import Avatars from '/models/avatars';
 import Users from '/models/users';
 import Org from '/models/org';
 import Team from '/models/team';
-import Avatars from '/models/avatars';
 
 Template.userAvatar.helpers({
   userData() {

+ 0 - 2
models/activities.js

@@ -1,5 +1,3 @@
-import Attachments from './attachments';
-
 // Activities don't need a schema because they are always set from the a trusted
 // environment - the server - and there is no risk that a user change the logic
 // we use with this collection. Moreover using a schema for this collection

+ 0 - 1
models/boards.js

@@ -6,7 +6,6 @@ import {
   TYPE_TEMPLATE_CONTAINER,
 } from '/config/const';
 import Users from "./users";
-import Attachments from './attachments';
 
 const escapeForRegex = require('escape-string-regexp');
 

+ 0 - 1
models/cards.js

@@ -4,7 +4,6 @@ import {
   TYPE_LINKED_BOARD,
   TYPE_LINKED_CARD,
 } from '../config/const';
-import Attachments from './attachments';
 
 Cards = new Mongo.Collection('cards');
 

+ 0 - 1
models/exporter.js

@@ -1,5 +1,4 @@
 const Papa = require('papaparse');
-import Attachments from './attachments';
 
 //const stringify = require('csv-stringify');
 

+ 0 - 2
server/publications/boards.js

@@ -1,5 +1,3 @@
-import Attachments from '../../models/attachments';
-
 // This is the publication used to display the board list. We publish all the
 // non-archived boards:
 // 1. that the user is a member of