mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 12:55:26 +02:00
Replaced old jade with new pug.
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
This commit is contained in:
@@ -4,7 +4,7 @@ module.exports = function refreshPageDirective($window) {
|
||||
replace: true,
|
||||
scope: {
|
||||
},
|
||||
template: require('./refresh-page.jade'),
|
||||
template: require('./refresh-page.pug'),
|
||||
link: function(scope) {
|
||||
scope.reloadWindow = function() {
|
||||
$window.location.reload()
|
||||
|
||||
Reference in New Issue
Block a user