在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:bbondy/khan-academy-fxos开源软件地址:https://github.com/bbondy/khan-academy-fxos开源编程语言:JavaScript 58.3%开源软件介绍:Khan Academy Firefox OS appKhan Academy's Firefox OS app source is Mozilla Public License Version 2.0 licensed. You can download the Khan Academy Firefox OS app on your device at the Firefox Marketplace. The Khan Academy app also functions as a:
About the sourceEverything is built using JavaScript. Omniscient which wraps React is used for views and ImmutableJS is used for data. The video player is using VideoJS. The exercises are using Perseus. Getting setup
Copy See here for information on how to apply for a Khan Academy API key: Building the sourceYou need Nodejs installed to run the following commands (please run them in the order given).
Navigate to http://localhost:8008. As you make changes webpack will rebundle the sources. Alternate route of getting setup (not recommended)To run a web server instead of using the Firefox emulator, run: Running gulp will:
Running testsRun For now, it's best to run the tests in a fresh restart of the browser in private browsing mode so you can be sure no files are cached. This is currently known to happen for some localization files with the simple python HTTP server otherwise. The first time you run tests, the APIClient.init test may take a while because it fetches the topic tree and may not be cached on the KA servers. StorageDevice Storage API is used for downloads and for cached topic trees. Your exact path will differ depending on your OS, your profile, and the simulator being used. Some other storage for smaller cached values is used with local storage.
You can clear that simply by opening the console and executing: ADB commandsFor OOM failures, check for sigkill being sent to app. The size is listed in pages (4 KB/page).
BranchesThere are 2 main branches. One with AMD module loading (requirejs) and one for CommonJS (using webpack) . Master is based on the webpack version but is not currently stable yet. ContributePlease feel free to contribute directly by adding pull requests and issues through github. If you would like help getting setup feel free to contact Brian R. Bondy Contributors
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论