handlebars-helper-create-frame

WebJar for handlebars-helper-create-frame

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.bowergithub.helpers
Идентификатор

Идентификатор

handlebars-helper-create-frame
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

handlebars-helper-create-frame
WebJar for handlebars-helper-create-frame
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/helpers/handlebars-helper-create-frame

Скачать handlebars-helper-create-frame

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.helpers/handlebars-helper-create-frame/ -->
<dependency>
    <groupId>org.webjars.bowergithub.helpers</groupId>
    <artifactId>handlebars-helper-create-frame</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.helpers/handlebars-helper-create-frame/
implementation 'org.webjars.bowergithub.helpers:handlebars-helper-create-frame:0.1.0'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.helpers/handlebars-helper-create-frame/
implementation ("org.webjars.bowergithub.helpers:handlebars-helper-create-frame:0.1.0")
'org.webjars.bowergithub.helpers:handlebars-helper-create-frame:jar:0.1.0'
<dependency org="org.webjars.bowergithub.helpers" name="handlebars-helper-create-frame" rev="0.1.0">
  <artifact name="handlebars-helper-create-frame" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.helpers', module='handlebars-helper-create-frame', version='0.1.0')
)
libraryDependencies += "org.webjars.bowergithub.helpers" % "handlebars-helper-create-frame" % "0.1.0"
[org.webjars.bowergithub.helpers/handlebars-helper-create-frame "0.1.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.bowergithub.jonschlinkert : create-frame jar [1.0.0,2)
org.webjars.bowergithub.jonschlinkert : isobject jar [3.0.0,4)

Модули Проекта

Данный проект не имеет модулей.

handlebars-helper-create-frame NPM version NPM monthly downloads NPM total downloads Linux Build Status

Handlebars block helper for creating private variables that are accessible inside the block.

Install

Install with npm:

$ npm install --save handlebars-helper-create-frame

Usage

Example for handlebars, but this should work for any template engine that takes helpers or filters.

var handlebars = require('handlebars');

handlebars.registerHelper('frame', require('handlebars-helper-create-frame'));
var fn = handlebars.compile('{{#frame site=site}}Name: {{@site.name}}{{/frame}}');
console.log(fn({site: {name: 'Test'}}));
//=> 'Name: Test'

About

Related projects

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Please read the contributing guide for avice on opening issues, pull requests, and coding standards.

Building docs

(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)

To generate the readme and API documentation with verb:

$ npm install -g verb verb-generate-readme && verb

Running tests

Install dev dependencies:

$ npm install -d && npm test

Author

Jon Schlinkert

License

Copyright © 2017, Jon Schlinkert. Released under the MIT license.


This file was generated by verb-generate-readme, v0.2.3, on January 05, 2017.

org.webjars.bowergithub.helpers

Helpers

Template helpers and utils for any engine. Create an issue on helpers/meta to request a new helper repo, or ask to be added to the org.

Версии библиотеки

Версия
0.1.0