mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:23:25 +02:00
All JSHint trough webpack passes now.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module.exports = function imageOnloadAnimateDirective($parse, $animate) {
|
||||
return {
|
||||
restrict: 'A',
|
||||
link: function (scope, element, attrs) {
|
||||
link: function (scope, element) {
|
||||
$animate.addClass(element, 'ng-image-not-loaded')
|
||||
element.bind('load', function () {
|
||||
$animate.removeClass(element, 'ng-image-not-loaded')
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module.exports = function imageOnloadDirective($parse) {
|
||||
module.exports = function imageOnloadDirective() {
|
||||
return {
|
||||
restrict: 'A',
|
||||
link: function (scope, element, attrs) {
|
||||
|
||||
Reference in New Issue
Block a user