Skip to content

Commit

Permalink
Fix inconsistent indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nvh committed Oct 27, 2016
1 parent bdd0656 commit ff34779
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions framer/Animation.coffee
Expand Up @@ -140,13 +140,13 @@ class exports.Animation extends BaseClass
@_stateA.hasOwnProperty("minX") or
@_stateA.hasOwnProperty("midX") or
@_stateA.hasOwnProperty("maxX"))
animation.stop()
animation.stop()

if property is "y" and (
@_stateA.hasOwnProperty("minY") or
@_stateA.hasOwnProperty("midY") or
@_stateA.hasOwnProperty("maxY"))
animation.stop()
animation.stop()

if @options.debug
console.log "Animation.start"
Expand Down
2 changes: 1 addition & 1 deletion framer/Components/ShareComponent.coffee
Expand Up @@ -571,7 +571,7 @@ class ShareComponent
@sheet.height = @sheet.maxHeight

if @options.truncatedDescription
@description.height = @descriptionTruncatedSize.height
@description.height = @descriptionTruncatedSize.height
else
@description.height = @descriptionSize.height

Expand Down
4 changes: 2 additions & 2 deletions framer/Context.coffee
Expand Up @@ -345,8 +345,8 @@ class exports.Context extends BaseClass

@define "perspectiveOriginY",
get: ->
return @_perspectiveOriginY if _.isNumber(@_perspectiveOriginY)
return .5
return @_perspectiveOriginY if _.isNumber(@_perspectiveOriginY)
return .5
set: (value) ->
if _.isNumber(value)
@_perspectiveOriginY = value
Expand Down
2 changes: 1 addition & 1 deletion framer/Extras/ShareInfo.coffee
Expand Up @@ -18,7 +18,7 @@ class ShareInfo extends BaseClass

# When enabled before specifying Framer.Info
if _.isEmpty(Framer.Info)
Utils.delay 0, run
Utils.delay 0, run
else
run()

Expand Down
4 changes: 2 additions & 2 deletions framer/Layer.coffee
Expand Up @@ -1074,7 +1074,7 @@ class exports.Layer extends BaseClass
Events.Click, Events.Tap, Events.TapStart, Events.TapEnd,
Events.LongPress, Events.LongPressStart, Events.LongPressEnd]

parentDraggableLayer = @_parentDraggableLayer()
parentDraggableLayer = @_parentDraggableLayer()

if parentDraggableLayer

Expand Down Expand Up @@ -1271,7 +1271,7 @@ class exports.Layer extends BaseClass

for parent in @ancestors(context=true)
if parent.clip
frame = Utils.frameIntersection(frame, parent.canvasFrame)
frame = Utils.frameIntersection(frame, parent.canvasFrame)
if not frame
return

Expand Down

0 comments on commit ff34779

Please sign in to comment.