mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-21 23:30:58 +00:00
github: added octokat.js back in
This commit is contained in:
parent
9a2e411587
commit
9f171bcf75
2265
lib/octokat.js
Normal file
2265
lib/octokat.js
Normal file
File diff suppressed because it is too large
Load Diff
@ -22,7 +22,7 @@ import { CallStackView, DebugBrowserView } from "./views/treeviews";
|
||||
import { saveAs } from "file-saver";
|
||||
|
||||
// external libs (TODO)
|
||||
declare var Tour, GIF;
|
||||
declare var Tour, GIF, Octokat;
|
||||
declare var ga;
|
||||
declare var $ : JQueryStatic; // use browser jquery
|
||||
|
||||
@ -638,7 +638,7 @@ function getCookie(name) : string {
|
||||
async function getGithubService() {
|
||||
if (!githubService) {
|
||||
// load github API client
|
||||
var Octokat = (await import('octokat')).default;
|
||||
await loadScript('lib/octokat.js');
|
||||
// load firebase
|
||||
await loadScript('https://www.gstatic.com/firebasejs/8.8.1/firebase-app.js');
|
||||
await loadScript('https://www.gstatic.com/firebasejs/8.8.1/firebase-auth.js');
|
||||
|
@ -286,7 +286,7 @@ class VCSPlatform extends BasePlatform {
|
||||
return "\n" + dumpRAM(ram, 0x80, 0x80);
|
||||
}
|
||||
getToolForFilename = getToolForFilename_vcs;
|
||||
getDefaultExtension() { return ".a"; }
|
||||
getDefaultExtension() { return ".dasm"; }
|
||||
getROMExtension() { return ".a26"; }
|
||||
|
||||
getDebugCategories() {
|
||||
@ -452,7 +452,7 @@ class VCSMAMEPlatform extends BaseMAME6502Platform implements Platform {
|
||||
getPresets = function() { return VCS_PRESETS; }
|
||||
|
||||
getToolForFilename = getToolForFilename_vcs;
|
||||
getDefaultExtension() { return ".a"; }
|
||||
getDefaultExtension() { return ".dasm"; }
|
||||
getROMExtension() { return ".a26"; }
|
||||
|
||||
getOriginPC = function() {
|
||||
@ -509,7 +509,7 @@ class VCSStellaPlatform implements Platform {
|
||||
return this.running;
|
||||
}
|
||||
getToolForFilename = getToolForFilename_vcs;
|
||||
getDefaultExtension() { return ".a"; }
|
||||
getDefaultExtension() { return ".dasm"; }
|
||||
getROMExtension() { return ".a26"; }
|
||||
getPresets() { return VCS_PRESETS }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user