Files
meteor/packages/code-prettify/package.js
2012-01-27 20:02:26 -08:00

19 lines
525 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..)
Package.describe({
summary: "Syntax highlighting of code, from Google"
});
// XXX this code dumps symbols into the global namespace (directly
// onto 'window'.) we need to fix that.
Package.on_use(function (api) {
api.add_files([
'prettify.js',
'prettify.css',
'styles/sunburst.css'], "client");
});