mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -7,17 +7,18 @@ module.exports =
|
||||
|
||||
$scope.hasHistory = hasHistory()
|
||||
|
||||
$scope.goBack = function () {
|
||||
$scope.goBack = function() {
|
||||
$window.history.back()
|
||||
}
|
||||
|
||||
$scope.goHome = function () {
|
||||
$scope.goHome = function() {
|
||||
$location.path('/docs/Help')
|
||||
}
|
||||
|
||||
$rootScope.$on("$routeChangeError",
|
||||
function (event, current, previous, rejection) {
|
||||
console.log("ROUTE CHANGE ERROR: " + rejection)
|
||||
/* eslint no-console:0 */
|
||||
$rootScope.$on('$routeChangeError',
|
||||
function(event, current, previous, rejection) {
|
||||
console.error('ROUTE CHANGE ERROR: ' + rejection)
|
||||
console.log('event', event)
|
||||
console.log('current', current)
|
||||
console.log('previous', previous)
|
||||
|
||||
Reference in New Issue
Block a user