mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Specifically, this gives apps access to Deps (via meteor-platform, formerly known as standard-app-packages)
21 lines
543 B
JavaScript
21 lines
543 B
JavaScript
// Deprecated functions.
|
|
|
|
// These functions used to be on the Meteor object (and worked slightly
|
|
// differently).
|
|
// XXX COMPAT WITH 0.5.7
|
|
Meteor.flush = Tracker.flush;
|
|
Meteor.autorun = Tracker.autorun;
|
|
|
|
// We used to require a special "autosubscribe" call to reactively subscribe to
|
|
// things. Now, it works with autorun.
|
|
// XXX COMPAT WITH 0.5.4
|
|
Meteor.autosubscribe = Tracker.autorun;
|
|
|
|
// This Tracker API briefly existed in 0.5.8 and 0.5.9
|
|
// XXX COMPAT WITH 0.5.9
|
|
Tracker.depend = function (d) {
|
|
return d.depend();
|
|
};
|
|
|
|
Deps = Tracker;
|