Showing 4 of 4 total issues
Function HomeController
has 158 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function HomeController($scope, fireRef, FB_URL) {
// Global variables initialisation
$scope.fb_url = FB_URL;
$scope.newLink = '';
$scope.newLinkComment = '';
Function link
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function link(scope, $elt, attrs) {
var timeoutId;
var $link = $elt.find('a');
function update() {
Function auth
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var auth = new FirebaseSimpleLogin(appref, function(error, user) {
if (error) {
// An error occurred while attempting login
// TODO: error handler
console.log(error);
Function AdminController
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function AdminController($scope, fireRef) {
$scope.newLink = '';
$scope.nbLinks = 0;