mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-06 08:08:25 -04:00
10 lines
248 B
JavaScript
10 lines
248 B
JavaScript
define(['./before', './partial'], function (before, partial) {
|
|
|
|
// Returns a function that will be executed at most one time, no matter how
|
|
// often you call it. Useful for lazy initialization.
|
|
var once = partial(before, 2);
|
|
|
|
return once;
|
|
|
|
});
|