This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const content = { | |
chap: { | |
whichChap: "第一幕第一場", | |
title: "奔跑吧開特力", | |
content: "前往劇場的道路危機四伏,尤其是那些上了年紀的人", | |
buttonText: "開始", | |
}, | |
chapStory: [ | |
[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (typeof module !== ‘undefined’ && module.exports) { | |
module.exports = TinySlide; | |
} else if (typeof define === ‘function’ && typeof define.amd === ‘object’ && define.amd) { | |
define(‘TinySlide’, [], function () { | |
return TinySlide; | |
}); | |
} else { | |
window.TinySlide = TinySlide; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// NandToTetris Part One Final Project | |
// https://www.coursera.org/learn/build-a-computer/home/welcome | |
#!/usr/bin/js | |
// Handling basic I/O | |
const XMLHttpRequest = require("./node_modules/xmlhttprequest").XMLHttpRequest; | |
const fs = require("fs"); | |
// Global variable |