mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
JSON support is in all browsers we could conceivably care about; it's
ES5 and has perfect support in IE 8. No need to ship a library as
a core package, and no need to specify dependencies on it.
We could conceivably publish a new version of the `json` package that
is empty, so that apps using packages that still say `use("json")`
also get the code size reduction, but we'll wait until someone requests
that.
11 lines
245 B
JavaScript
11 lines
245 B
JavaScript
Package.describe({
|
|
summary: "Dictionary data structure allowing non-string keys",
|
|
version: '1.0.4-plugins.0'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.export('IdMap');
|
|
api.use(['underscore', 'ejson']);
|
|
api.addFiles([ 'id-map.js' ]);
|
|
});
|