Skip to content

Commit

Permalink
Package JSON cleanly. minimongo test passes on IE7
Browse files Browse the repository at this point in the history
  • Loading branch information
gschmidt committed Jan 17, 2012
1 parent 7a61bc7 commit 8cc4bc3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
File renamed without changes.
9 changes: 9 additions & 0 deletions packages/json/package.js
@@ -0,0 +1,9 @@
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.client_file('json2.js');
1 change: 1 addition & 0 deletions packages/livedata/package.js
Expand Up @@ -3,6 +3,7 @@ Package.describe({
internal: true
});

Package.require('json');
Package.require('underscore');
Package.require('session');
Package.require('minimongo');
Expand Down
1 change: 1 addition & 0 deletions packages/minimongo/package.js
Expand Up @@ -6,6 +6,7 @@ Package.describe({
// It would be sort of nice if minimongo didn't depend on underscore,
// so we could ship it separately.
Package.require('underscore');
Package.require('json');

Package.client_file('minimongo.js');
Package.client_file('selector.js');
Expand Down

0 comments on commit 8cc4bc3

Please sign in to comment.