mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-23 15:05:38 -06:00
17 lines
258 B
JavaScript
17 lines
258 B
JavaScript
|
function initRange(domain, range) {
|
||
|
switch (arguments.length) {
|
||
|
case 0:
|
||
|
break;
|
||
|
case 1:
|
||
|
this.range(domain);
|
||
|
break;
|
||
|
default:
|
||
|
this.range(range).domain(domain);
|
||
|
break;
|
||
|
}
|
||
|
return this;
|
||
|
}
|
||
|
export {
|
||
|
initRange as i
|
||
|
};
|