Add package-lock to .gitignore

This commit is contained in:
David Baker 2018-08-01 15:08:12 +01:00
parent ccf52d3bff
commit 10ed13acc0
2 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View file

@ -19,3 +19,6 @@ electron/pub
/config.json.*
/config.local*.json
/src/component-index.js
# https://github.com/vector-im/riot-web/issues/7083
package-lock.json

View file

@ -25,13 +25,13 @@ require('gfm.css/gfm.css');
require('highlight.js/styles/github.css');
require('draft-js/dist/Draft.css');
const rageshake = require("matrix-react-sdk/lib/rageshake/rageshake");
/*const rageshake = require("matrix-react-sdk/lib/rageshake/rageshake");
rageshake.init().then(() => {
console.log("Initialised rageshake: See https://bugs.chromium.org/p/chromium/issues/detail?id=583193 to fix line numbers on Chrome.");
rageshake.cleanup();
}, (err) => {
console.error("Failed to initialise rageshake: " + err);
});
});*/
window.addEventListener('beforeunload', (e) => {
console.log('riot-web closing');