Use // for single line comments

This commit is contained in:
Kevin Sawicki 2016-01-14 10:35:29 -08:00
parent 26350f4ccb
commit f4af744519
43 changed files with 311 additions and 310 deletions

View file

@ -1,25 +1,25 @@
/* Do not expose the internal modules to `require`. */
// Do not expose the internal modules to `require`.
exports.hideInternalModules = function() {
var globalPaths;
globalPaths = require('module').globalPaths;
if (globalPaths.length === 3) {
/* Remove the "common/api/lib" and "browser-or-renderer/api/lib". */
// Remove the "common/api/lib" and "browser-or-renderer/api/lib".
return globalPaths.splice(0, 2);
}
};
/* Attaches properties to |exports|. */
// Attaches properties to |exports|.
exports.defineProperties = function(exports) {
return Object.defineProperties(exports, {
/* Common modules, please sort with alphabet order. */
// Common modules, please sort with alphabet order.
clipboard: {
/* Must be enumerable, otherwise it woulde be invisible to remote module. */
// Must be enumerable, otherwise it woulde be invisible to remote module.
enumerable: true,
get: function() {
return require('../clipboard');
@ -44,7 +44,7 @@ exports.defineProperties = function(exports) {
}
},
/* The internal modules, invisible unless you know their names. */
// The internal modules, invisible unless you know their names.
CallbacksRegistry: {
get: function() {
return require('../callbacks-registry');