Дополнения к МУРОМУ | MUROM additions
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
219B

  1. // Subscribe several functions in a single call.
  2. Reporter.prototype.subscribeMany = function(funcs)
  3. {
  4. for (var i = 0; i < funcs.length; ++i)
  5. {
  6. var func = funcs[i];
  7. this.subscribe(func);
  8. }
  9. }