nekodb icon indicating copy to clipboard operation
nekodb copied to clipboard

Make ko.connect a noop if already connected

Open 4strid opened this issue 7 years ago • 0 comments

It's sort of icky to have to make sure you run ko.connect before requiring your models. Would be nice to have the option of just running ko.connect at the top of each model file.

The other solution to this is having a models index file that calls ko.connect and then requires all the models.

But it's nice to have options

4strid avatar Mar 14 '18 20:03 4strid