Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 13 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | import Handlebars from 'handlebars' |
||
2 | import abeEngine from '../../../' |
||
3 | |||
4 | /** |
||
5 | * Print properties inside html tag |
||
6 | * @param {String} attr exemple: atl, title, ... |
||
7 | * @param {[type]} value value of the property |
||
8 | * @return {String} the value to print inside the attribut |
||
9 | */ |
||
10 | export default function attrAbe (attr, value) { |
||
11 | var content = abeEngine._content |
||
|
|||
12 | return new Handlebars.SafeString(value) |
||
13 | } |
||
14 |