{"size": 539, "ext": "js", "max_stars_repo_path": "devicemanagement-vendMeDeviceControl/index.js", "max_stars_repo_name": "goflo/c8y-ng1-modules-patch", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "devicemanagement-vendMeDeviceControl/index.js", "max_issues_repo_name": "goflo/c8y-ng1-modules-patch", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "devicemanagement-vendMeDeviceControl/index.js", "max_forks_repo_name": "goflo/c8y-ng1-modules-patch", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 539.0, "max_line_length": 539, "alphanum_fraction": 0.7179962894}
"use strict";angular.module("c8y.parts.vendMeDeviceControl",[]).config(["c8yViewsProvider","gettext",function(e,t){e.when("/device/:deviceId",{templateUrl:":::PLUGIN_PATH:::/views/index.html",icon:"coffee",name:t("Vendme"),controller:["$scope","$routeParams","c8yBase","c8yDevices",function(t,e,c,n){t.device={},n.detail(e.deviceId).then(c.getResData).then(function(e){t.device=e})}],showIf:["$routeParams","c8yDevices",function(e,c){var t=e.deviceId;return c.detailCached(t).then(function(e){var t=e.data;return t&&c.isVendme(t)})}]})}]);