Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 6, 2019
1 parent 71ee671 commit 7889724
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.js
Expand Up @@ -3,8 +3,8 @@ import { constants } from 'os'
import { getSignals } from './signals.js'
import { SIGRTMAX } from './realtime.js'

// Retrieve `signalsByName`, an object mapping signal name to signal properties
// We make sure the object is sorted by `number`
// Retrieve `signalsByName`, an object mapping signal name to signal properties.
// We make sure the object is sorted by `number`.
const getSignalsByName = function() {
const signals = getSignals()
return signals.reduce(getSignalByName, {})
Expand All @@ -23,8 +23,8 @@ const getSignalByName = function(
export const signalsByName = getSignalsByName()

// Retrieve `signalsByNumber`, an object mapping signal number to signal
// properties
// We make sure the object is sorted by `number`
// properties.
// We make sure the object is sorted by `number`.
const getSignalsByNumber = function() {
const signals = getSignals()
const length = SIGRTMAX + 1
Expand Down

0 comments on commit 7889724

Please sign in to comment.