mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -5,14 +5,14 @@ module.exports = function DeviceListEmptyDirective() {
|
||||
, scope: {
|
||||
tracker: '&tracker'
|
||||
}
|
||||
, link: function (scope) {
|
||||
, link: function(scope) {
|
||||
var tracker = scope.tracker()
|
||||
|
||||
scope.empty = !tracker.devices.length
|
||||
|
||||
function update() {
|
||||
var oldEmpty = scope.empty
|
||||
, newEmpty = !tracker.devices.length
|
||||
var newEmpty = !tracker.devices.length
|
||||
|
||||
if (oldEmpty !== newEmpty) {
|
||||
scope.$apply(function() {
|
||||
|
||||
Reference in New Issue
Block a user