Improve Jqhtml_Integration.js documentation with hydration system explanation Add jqhtml-laravel integration packages for traditional Laravel projects 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
452 B
JavaScript
13 lines
452 B
JavaScript
import { unsafeUniformIntDistribution } from './UnsafeUniformIntDistribution.js';
|
|
function uniformIntDistribution(from, to, rng) {
|
|
if (rng != null) {
|
|
var nextRng = rng.clone();
|
|
return [unsafeUniformIntDistribution(from, to, nextRng), nextRng];
|
|
}
|
|
return function (rng) {
|
|
var nextRng = rng.clone();
|
|
return [unsafeUniformIntDistribution(from, to, nextRng), nextRng];
|
|
};
|
|
}
|
|
export { uniformIntDistribution };
|