Closed anthonyshort closed 11 years ago
View-specific adapters. Pretty simple. Libraries can provide their own adapters:
var Observable = require('observable'); var view = reactive(el, model); view.adapter = Observable.adapter;
Same interface for global reactive adapter so this still works
reactive.adapter = Observable.adapter;
To make it affect all Reactive instances. If we get that use pull request in, it will be cleaner:
use
reactive.use(observable.adapter);
LGTM! just needs a rebase apparently
View-specific adapters. Pretty simple. Libraries can provide their own adapters:
Same interface for global reactive adapter so this still works
To make it affect all Reactive instances. If we get that
use
pull request in, it will be cleaner: