Files
meteor/packages/browser-policy/package.js
Emily Stark b5286b941a Separate browser policy functions into two packages.
* browser-policy uses browser-policy-framing and browser-policy-content, both of
  which set default policies when they are used. This way you get a default
  policy when you add a browser policy package, but you can pick and choose
  different packages if you only want to think about one of them.
* The two packages use different namespaces: BrowserPolicy.framing and
  BrowserPolicy.content, which meant some functions got renamed (e.g. not using
  "framing" or "content in the function name when it's already in the
  namespace).
2013-10-03 13:56:03 -07:00

14 lines
403 B
JavaScript

Package.describe({
summary: "Configure security policies enforced by the browser"
});
Package.on_use(function (api) {
api.use(['browser-policy-content', 'browser-policy-framing'], 'server');
api.imply(['browser-policy-common'], 'server');
});
Package.on_test(function (api) {
api.use(["tinytest", "browser-policy", "ejson"], "server");
api.add_files("browser-policy-test.js", "server");
});