Skip to content

Commit

Permalink
Move default songs
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkace committed Mar 14, 2018
1 parent 3068698 commit 544e089
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 13 deletions.
15 changes: 2 additions & 13 deletions src/state/song.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,9 @@ import eol from "eol";
import hash from "string-hash";
import slugify from "slugify";

const titleSplit = "\n\n---\n\n";
import songs from "./songs";

// todo: why require
const songs = [
require("../songs/smells-like-teen-spirit.txt"),
require("../songs/judy-is-a-punk.txt"),
require("../songs/hatebreeders.txt"),
require("../songs/gods-plan.txt"),
require("../songs/perfect.txt"),
require("../songs/finesse-remix.txt"),
require("../songs/son-of-a-gun.txt"),
require("../songs/sparks.txt"),
require("../songs/black-hole-sun.txt")
];
const titleSplit = "\n\n---\n\n";

function parseLyricString(lyricString) {
return lyricString
Expand Down
21 changes: 21 additions & 0 deletions src/state/songs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import song1 from "../songs/smells-like-teen-spirit.txt";
import song2 from "../songs/judy-is-a-punk.txt";
import song3 from "../songs/hatebreeders.txt";
import song4 from "../songs/gods-plan.txt";
import song5 from "../songs/perfect.txt";
import song6 from "../songs/finesse-remix.txt";
import song7 from "../songs/son-of-a-gun.txt";
import song8 from "../songs/sparks.txt";
import song9 from "../songs/black-hole-sun.txt";

export default [
song1,
song2,
song3,
song4,
song5,
song6,
song7,
song8,
song9
];

0 comments on commit 544e089

Please sign in to comment.