Lines Matching refs:runtime
1 # pug-runtime
3 The runtime components for the pug templating language
5 …atus](https://img.shields.io/travis/pugjs/pug-runtime/master.svg)](https://travis-ci.org/pugjs/pug…
6 …org/pugjs/pug/status.svg?path=packages/pug-runtime)](https://david-dm.org/pugjs/pug?path=packages/…
7 …pugjs/pug/dev-status.svg?path=packages/pug-runtime)](https://david-dm.org/pugjs/pug?path=packages/…
8 [](https://www.npmjs.org/package/pug-ru…
12 npm install pug-runtime
17 You can call runtime methods directly using `runtime.method`. This is particularly useful when com…
20 var runtime = require('pug-runtime');
22 assert(runtime.attr('foo', 'bar', true, true) === ' foo="bar"');
25 …method` by calling `build(arrayOfMethods)`. This is useful for inlining runtime functions within …
28 var build = require('pug-runtime/build');
35 …wser in Node.js, it is necessary to make the runtime available. To do so, one can use `require('pu…
39 var wrap = require('pug-runtime/wrap');
42 // By default compileClient automatically embeds the needed runtime functions,