mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
22 lines
798 B
JavaScript
22 lines
798 B
JavaScript
// XXX this is hella confusing. this package really only has the
|
|
// handlebars *runtime*, for precompiled templates. so really it is an
|
|
// internal package that should get shipped down to the client iff you
|
|
// have a precompiled handlebars template in your project.
|
|
|
|
Package.describe({
|
|
summary: "Simple semantic templating language"
|
|
});
|
|
|
|
require('../../packages/handlebars/parse.js'); // XXX lame!!
|
|
|
|
Package.on_use(function (api) {
|
|
// XXX should only be sent if we have handlebars templates in the app..
|
|
api.add_files('evaluate.js', 'client');
|
|
api.use('underscore', 'client');
|
|
});
|
|
|
|
// XXX lots more to do here .. registering this a templating engine,
|
|
// making it the default default, providing the compiler code,
|
|
// depending on the node package (or packaging the compiler
|
|
// ourselves..)
|