Common reorg (#8025)

* Re-organize common folder

* fix: Correct paths in tests

* fix: move new content to proper folder

* chore: Move audio folder to assets

* Move sprites to sprites assets directory

* Move css sprites to assets directory

* Split out readmes for common code and sprites

* Move images to assets directory

* Move destinatin of shared browserified file

* remove unused file

* move compiled js to client-old

* Fix karma tests

* fix: Correct paths for sprites
This commit is contained in:
Blade Barringer
2016-09-16 10:18:07 -05:00
committed by Matteo Pagliazzi
parent d971e673af
commit 81b7eeeb71
5956 changed files with 269 additions and 270 deletions

View File

@@ -1,4 +1,4 @@
import common from '../../../../common';
import common from '../../../common';
import _ from 'lodash';
import { langCodes } from '../../libs/i18n';
import Bluebird from 'bluebird';

View File

@@ -1,7 +1,7 @@
import { authWithHeaders } from '../../middlewares/auth';
import ensureDevelpmentMode from '../../middlewares/ensureDevelpmentMode';
import { BadRequest } from '../../libs/errors';
import { content } from '../../../../common';
import { content } from '../../../common';
import _ from 'lodash';
let api = {};

View File

@@ -15,7 +15,7 @@ import {
getUserInfo,
sendTxn as sendTxnEmail,
} from '../../libs/email';
import common from '../../../../common';
import common from '../../../common';
import { sendNotification as sendPushNotification } from '../../libs/pushNotifications';
const questScrolls = common.content.quests;

View File

@@ -1,5 +1,5 @@
import { authWithHeaders } from '../../middlewares/auth';
import { shops } from '../../../../common/';
import { shops } from '../../../common/';
let api = {};

View File

@@ -13,7 +13,7 @@ import {
createTasks,
getTasks,
} from '../../libs/taskManager';
import common from '../../../../common';
import common from '../../../common';
import Bluebird from 'bluebird';
import _ from 'lodash';
import logger from '../../libs/logger';

View File

@@ -1,5 +1,5 @@
import { authWithHeaders } from '../../middlewares/auth';
import common from '../../../../common';
import common from '../../../common';
import {
NotFound,
BadRequest,