dchambers / composerjs

The composable modelling library
1 stars 1 forks source link

Bad code in example #44

Open janhancic opened 9 years ago

janhancic commented 9 years ago

In the Sealing The Model section you have this example:

model.addHandler([], ['p1', 'p2'] someHandler);
model.seal();

Which isn't valid, as all handlers have to have at least one input.