Skip to content

Commit

Permalink
Update copyright to 2019
Browse files Browse the repository at this point in the history
  • Loading branch information
goldfire committed Apr 19, 2019
1 parent 5f4c37e commit 430276c
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013-2018 James Simpson and GoldFire Studios, Inc.
Copyright (c) 2013-2019 James Simpson and GoldFire Studios, Inc.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ Check if a sound is currently playing or not, returns a `Boolean`. If no sound I
* **id**: `Number` The sound ID to check.

#### duration([id])
Get the duration of the audio source. Will return 0 until after the `load` event fires.
Get the duration of the audio source (in seconds). Will return 0 until after the `load` event fires.
* **id**: `Number` `optional` The sound ID to check. Passing an ID will return the duration of the sprite being played on this instance; otherwise, the full source duration is returned.

#### on(event, function, [id])
Expand Down Expand Up @@ -478,6 +478,6 @@ ffmpeg -i sound1.wav -dash 1 sound1.webm

### License

Copyright (c) 2013-2018 [James Simpson](https://twitter.com/GoldFireStudios) and [GoldFire Studios, Inc.](http://goldfirestudios.com)
Copyright (c) 2013-2019 [James Simpson](https://twitter.com/GoldFireStudios) and [GoldFire Studios, Inc.](http://goldfirestudios.com)

Released under the [MIT License](https://github.com/goldfire/howler.js/blob/master/LICENSE.md).
2 changes: 1 addition & 1 deletion examples/3d/js/camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Howler.js 3D Sound Demo
* howlerjs.com
*
* (c) 2013-2018, James Simpson of GoldFire Studios
* (c) 2013-2019, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
Expand Down
2 changes: 1 addition & 1 deletion examples/3d/js/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Howler.js 3D Sound Demo
* howlerjs.com
*
* (c) 2013-2018, James Simpson of GoldFire Studios
* (c) 2013-2019, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
Expand Down
2 changes: 1 addition & 1 deletion examples/3d/js/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Howler.js 3D Sound Demo
* howlerjs.com
*
* (c) 2013-2018, James Simpson of GoldFire Studios
* (c) 2013-2019, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
Expand Down
2 changes: 1 addition & 1 deletion examples/3d/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Howler.js 3D Sound Demo
* howlerjs.com
*
* (c) 2013-2018, James Simpson of GoldFire Studios
* (c) 2013-2019, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
Expand Down
2 changes: 1 addition & 1 deletion examples/3d/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Howler.js 3D Sound Demo
* howlerjs.com
*
* (c) 2013-2018, James Simpson of GoldFire Studios
* (c) 2013-2019, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
Expand Down
2 changes: 1 addition & 1 deletion examples/3d/js/sound.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Howler.js 3D Sound Demo
* howlerjs.com
*
* (c) 2013-2018, James Simpson of GoldFire Studios
* (c) 2013-2019, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
Expand Down
2 changes: 1 addition & 1 deletion examples/3d/js/texture.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Howler.js 3D Sound Demo
* howlerjs.com
*
* (c) 2013-2018, James Simpson of GoldFire Studios
* (c) 2013-2019, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
Expand Down
2 changes: 1 addition & 1 deletion examples/player/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Howler.js Audio Player Demo
* howlerjs.com
*
* (c) 2013-2018, James Simpson of GoldFire Studios
* (c) 2013-2019, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
Expand Down
2 changes: 1 addition & 1 deletion examples/radio/radio.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Howler.js Radio Demo
* howlerjs.com
*
* (c) 2013-2018, James Simpson of GoldFire Studios
* (c) 2013-2019, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
Expand Down
2 changes: 1 addition & 1 deletion examples/sprite/sprite.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Howler.js Audio Sprite Demo
* howlerjs.com
*
* (c) 2013-2018, James Simpson of GoldFire Studios
* (c) 2013-2019, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"url": "git://github.com/goldfire/howler.js.git"
},
"scripts": {
"build": "VERSION=`printf 'v' && node -e 'console.log(require(\"./package.json\").version)'` && sed -i '' '2s/.*/ * howler.js '\"$VERSION\"'/' src/howler.core.js && sed -i '' '4s/.*/ * howler.js '\"$VERSION\"'/' src/plugins/howler.spatial.js && uglifyjs --preamble \"/*! howler.js $VERSION | (c) 2013-2018, James Simpson of GoldFire Studios | MIT License | howlerjs.com */\" src/howler.core.js -c -m --screw-ie8 -o dist/howler.core.min.js && uglifyjs --preamble \"/*! howler.js $VERSION | Spatial Plugin | (c) 2013-2018, James Simpson of GoldFire Studios | MIT License | howlerjs.com */\" src/plugins/howler.spatial.js -c -m --screw-ie8 -o dist/howler.spatial.min.js && awk 'FNR==1{echo \"\"}1' dist/howler.core.min.js dist/howler.spatial.min.js | sed '3s~.*~/*! Spatial Plugin */~' | perl -pe 'chomp if eof' > dist/howler.min.js && awk '(NR>1 && FNR==1){printf (\"\\n\\n\")};1' src/howler.core.js src/plugins/howler.spatial.js > dist/howler.js",
"build": "VERSION=`printf 'v' && node -e 'console.log(require(\"./package.json\").version)'` && sed -i '' '2s/.*/ * howler.js '\"$VERSION\"'/' src/howler.core.js && sed -i '' '4s/.*/ * howler.js '\"$VERSION\"'/' src/plugins/howler.spatial.js && uglifyjs --preamble \"/*! howler.js $VERSION | (c) 2013-2019, James Simpson of GoldFire Studios | MIT License | howlerjs.com */\" src/howler.core.js -c -m --screw-ie8 -o dist/howler.core.min.js && uglifyjs --preamble \"/*! howler.js $VERSION | Spatial Plugin | (c) 2013-2019, James Simpson of GoldFire Studios | MIT License | howlerjs.com */\" src/plugins/howler.spatial.js -c -m --screw-ie8 -o dist/howler.spatial.min.js && awk 'FNR==1{echo \"\"}1' dist/howler.core.min.js dist/howler.spatial.min.js | sed '3s~.*~/*! Spatial Plugin */~' | perl -pe 'chomp if eof' > dist/howler.min.js && awk '(NR>1 && FNR==1){printf (\"\\n\\n\")};1' src/howler.core.js src/plugins/howler.spatial.js > dist/howler.js",
"release": "VERSION=`printf 'v' && node -e 'console.log(require(\"./package.json\").version)'` && git tag $VERSION && git push && git push origin $VERSION && npm publish"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/howler.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* howler.js v2.1.1
* howlerjs.com
*
* (c) 2013-2018, James Simpson of GoldFire Studios
* (c) 2013-2019, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/howler.spatial.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* howler.js v2.1.1
* howlerjs.com
*
* (c) 2013-2018, James Simpson of GoldFire Studios
* (c) 2013-2019, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
Expand Down

0 comments on commit 430276c

Please sign in to comment.