Download pool/shard007/JavaScript/0044068_report-message.controller.js from Variable-role/sajaniemi_variable_dataset_large: direct link, hf CLI and curl.
- Browser
- Download file 495 Bytes
-
https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard007/JavaScript/0044068_report-message.controller.js
- Command line
-
hf download hf://datasets/Variable-role/sajaniemi_variable_dataset_large/pool/shard007/JavaScript/0044068_report-message.controller.js
-
curl -L -o 0044068_report-message.controller.js https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard007/JavaScript/0044068_report-message.controller.js
495 Bytes
| ReportMessageController = [ | |
| '$scope', | |
| '$mdDialog', | |
| function($scope, $mdDialog) { | |
| $scope.report = { | |
| reason: '', | |
| typeId: '', | |
| category: '', | |
| description: '' | |
| }; | |
| $scope.hide = function() { | |
| $mdDialog.hide(); | |
| }; | |
| $scope.cancel = function() { | |
| $mdDialog.cancel(); | |
| }; | |
| $scope.save = function() { | |
| if (!$scope.report || s.isBlank($scope.report.reason)) { | |
| return; | |
| } | |
| $mdDialog.hide($scope.report); | |
| }; | |
| } | |
| ] | |