|
|
@ -403,8 +403,8 @@ var run = function() { |
|
|
|
// ----------------- compiler ----------------------
|
|
|
|
// ----------------- compiler ----------------------
|
|
|
|
|
|
|
|
|
|
|
|
function handleGithubCall(root, path, cb) { |
|
|
|
function handleGithubCall(root, path, cb) { |
|
|
|
$('#output').append($('<div/>').append($('<pre/>').text("Loading github.com/" + root + " ..."))); |
|
|
|
$('#output').append($('<div/>').append($('<pre/>').text("Loading github.com/" + root + "/" + path + " ..."))); |
|
|
|
return $.getJSON('https://api.github.com/repos/' + root + '/contents/' + path, cb); |
|
|
|
return $.getJSON('https://api.github.com/repos/' + root + '/contents/' + path, cb); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var compiler = new Compiler(web3, editor, handleGithubCall, $('#output'), getHidingRHP, updateFiles); |
|
|
|
var compiler = new Compiler(web3, editor, handleGithubCall, $('#output'), getHidingRHP, updateFiles); |
|
|
|