Files
meteor/packages/code-prettify/package.js
Ben Newman 232ab2d209 Bump package versions for 1.4.2-beta.9 release.
I had to scrap the 1.4.2-beta.8 release because meteor-tool@1.4.2-beta.8
got published by a partial run of the publish-release script, but then the
publish-release script thought meteor-tool changed after that, and I
didn't want to republish it as something like 1.4.2-1-beta.8.
2016-10-05 18:42:56 -04:00

22 lines
598 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.11-beta.9"
});
// 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");
});