mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
14 lines
375 B
JavaScript
14 lines
375 B
JavaScript
Package.describe({
|
|
summary: "Provides JSON.stringify and JSON.parse for older browsers",
|
|
internal: true
|
|
});
|
|
|
|
// We need to figure out how to serve this file only to browsers that
|
|
// don't have JSON.stringify (eg, IE7 and earlier -- or is that IE8?)
|
|
|
|
Package.on_use(function (api, where) {
|
|
where = where || ['client', 'server'];
|
|
|
|
api.add_files('json2.js', where);
|
|
});
|