forked from enviPath/enviPy
Current Dev State
This commit is contained in:
9
static/js/ketcher2/node_modules/plur/index.js
generated
vendored
Normal file
9
static/js/ketcher2/node_modules/plur/index.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
module.exports = function (str, plural, count) {
|
||||
if (typeof plural === 'number') {
|
||||
count = plural;
|
||||
plural = str + 's';
|
||||
}
|
||||
|
||||
return count === 1 ? str : plural;
|
||||
};
|
||||
Reference in New Issue
Block a user