Skip to content

Commit

Permalink
Update to CoffeeScript 2
Browse files Browse the repository at this point in the history
  • Loading branch information
1j01 committed Oct 15, 2017
1 parent 9e2c469 commit 8e3dc82
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"async": "^2.0.1",
"browserify": "^13.1.0",
"chai": "^3.5.0",
"coffee-script": "^1.11.1",
"coffeeify": "^2.0.1",
"coffeeify": "^3.0.0",
"coffeescript": "^2.0.1",
"easingjs": "^1.0.1",
"elementary.css": "^2.0.2",
"gulp": "^3.9.1",
Expand Down Expand Up @@ -51,7 +51,7 @@
"start": "nw",
"dev": "gulp",
"watch": "gulp",
"test": "mocha --compilers coffee:coffee-script/register"
"test": "mocha --compilers coffee:coffeescript/register"
},
"window": {
"icon": "images/icons/48.png",
Expand Down
4 changes: 2 additions & 2 deletions src/audio-clips.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class AudioClipStorage
label: "Reload app"
action: -> location.reload()
}]
###
###
when "report_issue"
[{
label: "Report issue"
Expand Down Expand Up @@ -78,7 +78,7 @@ class AudioClipStorage
email_url = "mailto:${email_address}?subject=#{enc title}&body=#{enc email_body}"
window.open(new_issue_url)
}]
###
###

throttle = 0

Expand Down
1 change: 1 addition & 0 deletions src/components/AudioEditor.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class exports.AudioEditor extends Component
copy_of = (o)-> JSON.parse JSON.stringify o

constructor: ->
super()
@state =
tracks: [
{
Expand Down
1 change: 1 addition & 0 deletions src/components/DropdownButton.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class DropdownButton extends Component
@instances: []

constructor: ->
super()
@state =
menu_open: no
just_opened_via_mousedown: no
Expand Down
1 change: 1 addition & 0 deletions src/components/TracksArea.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ easing = require "easingjs"
module.exports =
class TracksArea extends Component
constructor: ->
super()
@y_offset_anims_by_track_id = {}

render: ->
Expand Down

0 comments on commit 8e3dc82

Please sign in to comment.