Files
meteor/packages/code-prettify/package.js
David Greenspan ca9b8f571f Version bumps
Tried to get everything to an rc.0 of the very latest version,
which required some research in some cases about the published
versions.  For example, some packages had version histories like:

```
...
  1.0.3-winr.2               January 20th, 2015
  1.0.3-winr.3               February 24th, 2015   installed
  1.0.3                      March 17th, 2015      installed
  1.0.4-anubhav.0            August 6th, 2015
  1.0.4-plugins.0            July 22nd, 2015
  1.0.5-galaxy.0             July 17th, 2015
```

In this case, I would bump the version from `1.0.4-plugins.0`
to `1.0.5-rc.0`, skipping `1.0.4`.
2015-08-10 22:10:52 -07:00

22 lines
595 B
JavaScript

// Source: http://code.google.com/p/google-code-prettify
// XXX this sucks. I would much rather do this processing at
// bundle-time on the server, not in the client. (though I'd like to
// support both..)
var path = Npm.require('path');
Package.describe({
summary: "Syntax highlighting of code, from Google",
version: "1.0.4-rc.0"
});
// XXX this code dumps symbols into the global namespace (directly
// onto 'window'.) we need to fix that.
Package.onUse(function (api) {
api.addFiles([
'prettify.js',
'prettify.css',
path.join('styles', 'sunburst.css')], "client");
});