Fix all res/ files with ESLint rules with 0 errors.

This commit is contained in:
Gunther Brunner
2016-01-19 23:08:33 +09:00
parent 1006564ae7
commit a3f815c118
258 changed files with 1634 additions and 1634 deletions

View File

@@ -5,7 +5,7 @@ module.exports = function angularPackeryDirective(PackeryService,
return {
restrict: 'AE',
link: function (scope, element, attrs) {
link: function(scope, element, attrs) {
var container = element[0]
var parsedAttrs = $parse(attrs.angularPackery)()
if (typeof parsedAttrs !== 'object') {
@@ -24,10 +24,10 @@ module.exports = function angularPackeryDirective(PackeryService,
pckry.bindResize()
bindDraggable()
$timeout(function () {
$timeout(function() {
pckry.layout()
}, 0)
$timeout(function () {
$timeout(function() {
pckry.layout()
}, 100)
@@ -56,7 +56,7 @@ module.exports = function angularPackeryDirective(PackeryService,
scope.$on('panelsResized', _.throttle(onPanelsResized, 300))
scope.$on('$destroy', function () {
scope.$on('$destroy', function() {
pckry.unbindResize()
pckry.off('layoutComplete', onLayoutComplete)
pckry.destroy()