Remove console.log
This commit is contained in:
@@ -27,12 +27,10 @@ app.directive('avatar', function() {
|
|||||||
scope: true,
|
scope: true,
|
||||||
link: function(scope, element, attr){
|
link: function(scope, element, attr){
|
||||||
attr.$observe('displayname', function(value){
|
attr.$observe('displayname', function(value){
|
||||||
console.log(value);
|
|
||||||
if(value!==undefined) {
|
if(value!==undefined) {
|
||||||
$(element).avatar(value, 32);
|
$(element).avatar(value, 32);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
@@ -684,12 +684,10 @@ app.directive('avatar', function() {
|
|||||||
scope: true,
|
scope: true,
|
||||||
link: function(scope, element, attr){
|
link: function(scope, element, attr){
|
||||||
attr.$observe('displayname', function(value){
|
attr.$observe('displayname', function(value){
|
||||||
console.log(value);
|
|
||||||
if(value!==undefined) {
|
if(value!==undefined) {
|
||||||
$(element).avatar(value, 32);
|
$(element).avatar(value, 32);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user