Use // for multi-line comments

This commit is contained in:
Kevin Sawicki 2016-01-14 10:44:21 -08:00
parent f4af744519
commit 990dc30e8d
15 changed files with 65 additions and 138 deletions

View file

@ -19,10 +19,8 @@ module.exports = CallbacksRegistry = (function() {
}
id = ++this.nextId;
/*
Capture the location of the function and put it in the ID string,
so that release errors can be tracked down easily.
*/
// Capture the location of the function and put it in the ID string,
// so that release errors can be tracked down easily.
regexp = /at (.*)/gi;
stackString = (new Error).stack;
while ((match = regexp.exec(stackString)) !== null) {