mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 12:53:31 +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
require('./vnc.css')
|
|
|
|
module.exports = angular.module('stf.vnc', [
|
|
require('gettext').name
|
|
])
|
|
.run(['$templateCache', function($templateCache) {
|
|
$templateCache.put(
|
|
'control-panes/advanced/vnc/vnc.pug',
|
|
require('./vnc.pug')
|
|
)
|
|
}])
|
|
.controller('VNCCtrl', require('./vnc-controller'))
|