Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

once.js 248B

123456789
  1. define(['./before', './partial'], function (before, partial) {
  2. // Returns a function that will be executed at most one time, no matter how
  3. // often you call it. Useful for lazy initialization.
  4. var once = partial(before, 2);
  5. return once;
  6. });