mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +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
13 lines
310 B
JavaScript
13 lines
310 B
JavaScript
module.exports = function timelinesDirective(Timelines) {
|
|
return {
|
|
restrict: 'AE',
|
|
replace: false,
|
|
scope: {},
|
|
template: require('./timelines.pug'),
|
|
link: function(scope) {
|
|
scope.cssPrefix = Timelines.options.cssPrefix
|
|
scope.notifications = Timelines.notifications
|
|
}
|
|
}
|
|
}
|