mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-24 23:05:22 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module.exports = function imageOnloadDirective() {
|
||||
return {
|
||||
restrict: 'A',
|
||||
link: function (scope, element, attrs) {
|
||||
link: function(scope, element, attrs) {
|
||||
element.bind('load', function() {
|
||||
scope.$eval(attrs.imageOnload)
|
||||
// console.log('image is loaded')
|
||||
|
||||
Reference in New Issue
Block a user