mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge branch 'devel' into release-1.7
This commit is contained in:
@@ -24,7 +24,7 @@ if (process.env.METEOR_SETTINGS) {
|
||||
try {
|
||||
Meteor.settings = JSON.parse(process.env.METEOR_SETTINGS);
|
||||
} catch (e) {
|
||||
throw new Error("METEOR_SETTINGS are not valid JSON: " + process.env.METEOR_SETTINGS);
|
||||
throw new Error("METEOR_SETTINGS are not valid JSON.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ Package.onUse(function (api) {
|
||||
api.use("ecmascript");
|
||||
api.addFiles("tracker.js");
|
||||
api.export("Tracker");
|
||||
api.export("Deps");
|
||||
});
|
||||
|
||||
Package.onTest(function (api) {
|
||||
|
||||
@@ -8,6 +8,12 @@
|
||||
*/
|
||||
Tracker = {};
|
||||
|
||||
/**
|
||||
* @namespace Deps
|
||||
* @deprecated
|
||||
*/
|
||||
Deps = Tracker;
|
||||
|
||||
// http://docs.meteor.com/#tracker_active
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user