mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-25 23:35:21 +02:00
Using temporarily npm-shrinkwrap since `template-html-loader` uses an old `consolidate.js` version which doesn't support `pug`. Follow here: https://github.com/jtangelder/template-html-loader/issues/8
11 lines
210 B
JavaScript
11 lines
210 B
JavaScript
module.exports = function screenKeyboardDirective() {
|
|
return {
|
|
restrict: 'E',
|
|
template: require('./screen-keyboard.pug'),
|
|
link: function(scope, element) {
|
|
element.find('input')
|
|
|
|
}
|
|
}
|
|
}
|