mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-22 22:05:21 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
module.exports = function imageOnloadAnimateDirective($parse, $animate) {
|
||||
return {
|
||||
restrict: 'A',
|
||||
link: function (scope, element) {
|
||||
link: function(scope, element) {
|
||||
$animate.addClass(element, 'ng-image-not-loaded')
|
||||
element.bind('load', function () {
|
||||
element.bind('load', function() {
|
||||
$animate.removeClass(element, 'ng-image-not-loaded')
|
||||
|
||||
//if(!scope.$$phase) {
|
||||
|
||||
Reference in New Issue
Block a user