Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Commit

Permalink
Fix css copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Canetti committed Mar 4, 2021
1 parent a2cfad9 commit c85370a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/parse.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function readLocalFile(file) {
rawFile.onreadystatechange = function () {
if (rawFile.readyState === 4) {
if (rawFile.status === 200 || rawFile.status == 0) {
var allText = rawFile.responseText;
var timelinescss = rawFile.responseText;
}
}
}
Expand All @@ -93,7 +93,8 @@ function getZIP() {

// // Generate and populate scss directory
var scss = zip.folder("scss");
var timelinescss = readLocalFile("src/partials/_timeline.scss");
readLocalFile("src/partials/_timeline.scss");
console.log(timelinescss)
scss.file("_timeline.scss", timelinescss);

// Create html file
Expand Down

0 comments on commit c85370a

Please sign in to comment.