Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
breck7 committed Nov 26, 2024
1 parent b1d3d2b commit d5fe74a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
7 changes: 0 additions & 7 deletions header.scroll
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ editButton
copyButtons
css html {font-family: "SF Pro", "Helvetica Neue", "Segoe UI", "Arial"; font-size: var(--base-font-size, 14px);}

iframeThumbsParser
extends iframesParser
javascript
compile () {
return this.atoms.slice(1).map(url => `<div class="iframeHolder"><iframe src="${url}" frameborder="0"></iframe></div>`).join("\n")
}

css
iframe {
width: 800px;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@breck/wws",
"version": "0.24.0",
"version": "0.25.0",
"description": "The World Wide Scroll",
"main": "wws.js",
"engines": {
Expand Down
4 changes: 4 additions & 0 deletions releaseNotes.scroll
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ node_modules/scroll-cli/microlangs/changes.parsers

thinColumns 1

πŸ“¦ 0.25.0 11/26/2024
πŸŽ‰ much faster now (just clone a single branch)
πŸŽ‰ updated scroll

πŸ“¦ 0.24.0 11/26/2024
πŸŽ‰ if you just type `wws [folderName]` it will run fetch

Expand Down
6 changes: 3 additions & 3 deletions wws.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ center
Your copy of the WWS is stored in \`${wwsDir}\`. ${this.fetchedFolders.length}/${this.folders.length} folders fetched. WWS version: ${WWS_VERSION}.
// todo: fix root includes in scroll and remove below.
${fs.readFileSync("header.scroll")}
${fs.readFileSync(path.join(__dirname, "header.scroll"))}
center
table
Expand Down Expand Up @@ -217,7 +217,7 @@ editUrl https://github.com/breck7/wws/blob/main/wws.js
if (!Disk.exists(rootFolder)) {
this.log(`Fetching ${folderName}`)
Disk.mkdir(rootFolder)
const cloneCommand = `git clone ${gitSource} ${rootFolder}`
const cloneCommand = `git clone --single-branch ${gitSource} ${rootFolder}`
console.log(cloneCommand)
child_process.execSync(cloneCommand)
} else {
Expand All @@ -236,7 +236,7 @@ editUrl https://github.com/breck7/wws/blob/main/wws.js
console.log(`Updating subfolder '${subfolderName}'`)
if (!Disk.exists(subfolderPath)) {
Disk.mkdir(subfolderPath)
child_process.execSync(`git ${sourceRepo} ${subfolderPath}`)
child_process.execSync(`git clone --single-branch ${sourceRepo} ${subfolderPath}`)
} else child_process.execSync(`cd ${subfolderPath} && git pull origin`)
})
}
Expand Down

0 comments on commit d5fe74a

Please sign in to comment.