https://github.com/doochik/borschik-tech-yate
Yate tech for Borschik
https://github.com/doochik/borschik-tech-yate
Last synced: over 1 year ago
JSON representation
Yate tech for Borschik
- Host: GitHub
- URL: https://github.com/doochik/borschik-tech-yate
- Owner: doochik
- License: mit
- Created: 2013-10-28T18:16:47.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-23T17:45:22.000Z (almost 12 years ago)
- Last Synced: 2025-03-06T14:53:32.762Z (over 1 year ago)
- Language: JavaScript
- Size: 256 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
borschik-tech-yate
==================
[](https://travis-ci.org/doochik/borschik-tech-yate)
Tech to build [Yate](https://github.com/pasaran/yate) with [Borschik](https://github.com/bem/borschik)
## Building for node
Use `borschik -t yate -to '{"node": true}'` to build for nodejs.
## `borschik-link` usage
`borschik-link()` in Yate works the same way as `borschik.link()` in JavaScript
1. Static path
```
match / {
borschik-link('../real/path/to/file.png')
}
```
2. Dynamic path
```
match / {
borschik-link('@my-name')
}
```