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

@@ -5,7 +5,7 @@ import {
expectValidTranslationString,
} from '../helpers/content.helper';
import eggs from '../../common/script/content/eggs';
import eggs from '../../website/common/script/content/eggs';
describe('eggs', () => {
describe('all', () => {

View File

@@ -3,7 +3,7 @@ import {
expectValidTranslationString,
} from '../helpers/content.helper';
import {questions, stillNeedHelp} from '../../common/script/content/faq';
import {questions, stillNeedHelp} from '../../website/common/script/content/faq';
describe('FAQ Locales', () => {
describe('Questions', () => {

View File

@@ -3,9 +3,9 @@ import {
} from '../helpers/content.helper';
import { each, camelCase } from 'lodash';
import { tree as allGear } from '../../common/script/content/gear';
import backerGear from '../../common/script/content/gear/sets/special/special-backer';
import contributorGear from '../../common/script/content/gear/sets/special/special-contributor';
import { tree as allGear } from '../../website/common/script/content/gear';
import backerGear from '../../website/common/script/content/gear/sets/special/special-backer';
import contributorGear from '../../website/common/script/content/gear/sets/special/special-contributor';
describe('Gear', () => {
each(allGear, (piece, gearType) => {

View File

@@ -5,7 +5,7 @@ import {
expectValidTranslationString,
} from '../helpers/content.helper';
import hatchingPotions from '../../common/script/content/hatching-potions';
import hatchingPotions from '../../website/common/script/content/hatching-potions';
describe('hatchingPotions', () => {
describe('all', () => {

View File

@@ -3,7 +3,7 @@ import {
expectValidTranslationString
} from '../helpers/content.helper';
import mysterySets from '../../common/script/content/mystery-sets';
import mysterySets from '../../website/common/script/content/mystery-sets';
describe('Mystery Sets', () => {
it('has a valid text string', () => {

View File

@@ -4,11 +4,11 @@ import {
import {
expectValidTranslationString,
} from '../helpers/content.helper';
import t from '../../common/script/content/translation';
import t from '../../website/common/script/content/translation';
import stable from '../../common/script/content/stable';
import eggs from '../../common/script/content/eggs';
import potions from '../../common/script/content/hatching-potions';
import stable from '../../website/common/script/content/stable';
import eggs from '../../website/common/script/content/eggs';
import potions from '../../website/common/script/content/hatching-potions';
describe('stable', () => {
describe('dropPets', () => {

View File

@@ -1,5 +1,5 @@
import {STRING_ERROR_MSG, STRING_DOES_NOT_EXIST_MSG} from '../helpers/content.helper';
import translator from '../../common/script/content/translation';
import translator from '../../website/common/script/content/translation';
describe('Translator', () => {
it('returns error message if string is not properly formatted', () => {