diff --git a/README.md b/README.md index c38204c..93cfc8a 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,9 @@ Can be used to build automation tools in NodeJS. The documentation is [here](htt #### The Public API: Hosted on our http://yellowlab.tools server, it is a RESTful API that allows you to launch distant tests. The documentation is [here](https://github.com/gmetais/YellowLabTools/wiki/Public-API). +#### The Grunt task: +If you have a Continuous Integration platform, may I suggest you to use [grunt-yellowlabtools](https://github.com/gmetais/grunt-yellowlabtools)? You set it up once, then the task fails if the front-end quality conditions you defined are not met. + ## Install your own private instance diff --git a/front/src/js/controllers/dashboardCtrl.js b/front/src/js/controllers/dashboardCtrl.js index d693e7f..e688634 100644 --- a/front/src/js/controllers/dashboardCtrl.js +++ b/front/src/js/controllers/dashboardCtrl.js @@ -59,10 +59,5 @@ dashboardCtrl.controller('DashboardCtrl', ['$scope', '$rootScope', '$routeParams window.open(url, 'sharer', 'top=' + winTop + ',left=' + winLeft + ',toolbar=0,status=0,width=' + winWidth + ',height=' + winHeight); } - // Returns the URL of the JSON result - $scope.getAPIUrl = function() { - return '/api/results/' + $scope.runId; - }; - loadResults(); }]); \ No newline at end of file diff --git a/front/src/views/dashboard.html b/front/src/views/dashboard.html index ab85f9f..bfa7d8d 100644 --- a/front/src/views/dashboard.html +++ b/front/src/views/dashboard.html @@ -47,7 +47,7 @@
- Did you know? Yellow Lab Tools now has an API! Here is the JSON output for this run. Checkout the API doc. + Did you know? Yellow Lab Tools has a brand new Grunt plugin!