IRC Log Viewer » #firebreath » 2015-07-30

IRC Nick Time (GMT-7) Message
kai 04:07 hi
I had successfully built EchoTestPlugin and called through wyrmhole
use codes below
postMessage({ "firebreath": "FBDevTeam", "callback": "cb" }, "*");
function cb(evt) { wh = evt.wyrmhole; wh.create().then(function (b) { var qq = "qq"; b.loadPlugin("application/x-echotestplugin").then(function (q) { b.sendMessage(["New", "application/x-echotestplugin", {}], function (acb) { b.sendMessage(["Invoke", 1, 0, "echo", ["aaa"]], function (iv, aa) { var ivvv = ""; })
function cb(evt) { wh = evt.wyrmhole; wh.create().then(function (b) { var qq = "qq"; b.loadPlugin("application/x-echotestplugin").then(function (q) { b.sendMessage(["New", "application/x-echotestplugin", {}], function (acb) { b.sendMessage(["Invoke", 1, 0, "echo", ["aaa"]], function (iv, aa) { var ivvv = ""; })
I wonder is it correct?
Since it is quite different to MessageExamples.txt on git hub refactor branch
I have to call postMessage({ "firebreath": "FBDevTeam", "callback": "cb" }, "*"); to initPage which in turn inject javascript
And I can't figure out what are 2nd number and 3rd number for in these messages ["Invoke", 1, 0, "echo", ["aaa"] ["GetP", 1, 0, "version"]
I read irc logs/mailling list,but find nothing
I read irc logs/mailling list,but find nothing
matra 06:07 Anyone knows if Firebreath 2.0 (beta) source code is available anwhere. I was not able to find it at github...
matra 12:07 Hi, can anyone point me to FB 2.0 sources. I was unabke to find them on github,...
taxilian 13:07 matra it's in the refactor branch
and I'm about to leave town and will be most likely away from internet