Persist console logs to an IndexedDB instance

This commit is contained in:
Kegan Dougal 2017-01-18 16:00:13 +00:00
parent 641a5c244c
commit e9884768f6
2 changed files with 187 additions and 0 deletions

View file

@ -36,6 +36,13 @@ require('gfm.css/gfm.css');
require('highlight.js/styles/github.css');
require('draft-js/dist/Draft.css');
const rageshake = require("./rageshake");
rageshake.init().then(() => {
console.log("Initialised rageshake");
}, (err) => {
console.error("Failed to initialise rageshake: " + err);
});
// add React and ReactPerf to the global namespace, to make them easier to
// access via the console