Skip to content

Commit

Permalink
improved docs, see phetsims/tambo#73
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Oct 21, 2019
1 parent a44b724 commit ed80d14
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions js/requirejs-plugins/sound.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2013-2019, University of Colorado Boulder

/**
* A RequireJS plugin for loading sound clips dynamically from the file system at development time and from base64
* in built versions of simulation. It also provides the ability to convert sound files into base64 data so that it can
* be built into a single-file simulation. For development time, this is pretty similar to the image
* plugin at https://github.com/millermedeiros/requirejs-plugins.
* A RequireJS plugin for loading sound files dynamically from the file system at development time and from base64 in
* built versions of simulation. It also provides the ability to convert sound files into base64 data so that it can be
* built into a single-file simulation. For development time, this is pretty similar to the image plugin at
* https://github.com/millermedeiros/requirejs-plugins.
*
* General documentation about RequireJS plugins is available at http://requirejs.org/docs/plugins.html.
*
Expand All @@ -16,7 +16,7 @@
define( require => {
'use strict';

// modules - paths are relative to the requirejs config.js file
// modules - paths are relative to the RequireJS config.js file
const getLicenseEntry = require( '../../chipper/js/common/getLicenseEntry' );
const getProjectURL = require( '../../chipper/js/requirejs-plugins/getProjectURL' );
const loadFileAsDataURI = require( '../../chipper/js/common/loadFileAsDataURI' );
Expand Down Expand Up @@ -49,7 +49,7 @@ define( require => {
errors.push( error );
};

// register the license for this sound clip
// register the license for this sound file
registerLicenseEntry( name, getLicenseEntry( soundInfo.url ), global.phet.chipper.brand, 'sounds', onloadAdapter );

// If any license entry was a problem, then we must fail the build. For simplicity, just report the first error.
Expand Down

0 comments on commit ed80d14

Please sign in to comment.