mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -2,7 +2,7 @@ module.exports =
|
||||
function angularDraggabillyDirective(DraggabillyService, $parse) {
|
||||
return {
|
||||
restrict: 'AE',
|
||||
link: function (scope, element, attrs) {
|
||||
link: function(scope, element, attrs) {
|
||||
var parsedAttrs = $parse(attrs.angularDraggabilly)()
|
||||
if (typeof parsedAttrs !== 'object') {
|
||||
parsedAttrs = {}
|
||||
@@ -11,7 +11,7 @@ module.exports =
|
||||
var options = angular.extend({
|
||||
}, parsedAttrs)
|
||||
|
||||
/* jshint unused: false */
|
||||
/* eslint no-unused-vars: 0 */
|
||||
var draggie = new DraggabillyService(element[0], options)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user