Skip to content

Commit

Permalink
lint CS
Browse files Browse the repository at this point in the history
  • Loading branch information
emillon committed Nov 7, 2014
1 parent d328225 commit 4716f18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions static/coffee/audioplayer.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ class AudioPlayer
ann_url = '/view/' + docid + '/audioannotations'
$.getJSON ann_url, (annotations) =>
for ann in annotations.data
annotation = new AudioAnnotation this, ann.id, ann.start, ann.length, ann.state, ann.text
annotation = new AudioAnnotation this, ann.id, ann.start,
ann.length, ann.state, ann.text
@$div.append annotation.$div
@annotations.push annotation
@update()
Expand Down Expand Up @@ -262,7 +263,7 @@ class AudioAnnotation
onblur: 'submit'

update: ->
y = @player.secondsToPixels (@start + @length/2)
y = @player.secondsToPixels (@start + @length / 2)
@$div.css
top: y + "px"

Expand Down
2 changes: 1 addition & 1 deletion static/coffee/rest.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class RestClient
type: type
url: url
data: data
success: (d) =>
success: (d) ->
if type == 'POST'
obj.id = d.id

Expand Down

0 comments on commit 4716f18

Please sign in to comment.