diff --git a/adapted-from-phet/js/Brand.js b/adapted-from-phet/js/Brand.js index b2f841e..1ab01e2 100644 --- a/adapted-from-phet/js/Brand.js +++ b/adapted-from-phet/js/Brand.js @@ -1,11 +1,11 @@ // Copyright 2002-2014, University of Colorado Boulder // Returns branding information for the simulations, see https://github.com/phetsims/brand/issues/1 -define( function( require ) { +define( require => { 'use strict'; // modules - var brand = require( 'BRAND/../../js/brand' ); + const brand = require( 'BRAND/../../js/brand' ); var Brand = { diff --git a/js/brand.js b/js/brand.js index cd07cd4..1c1264b 100644 --- a/js/brand.js +++ b/js/brand.js @@ -5,11 +5,11 @@ * * @author Chris Malley (PixelZoom, Inc.) */ -define( function( require ) { +define( require => { 'use strict'; // modules - var Namespace = require( 'PHET_CORE/Namespace' ); + const Namespace = require( 'PHET_CORE/Namespace' ); return new Namespace( 'brand' ); } ); \ No newline at end of file diff --git a/phet-io/js/Brand.js b/phet-io/js/Brand.js index c87e092..61ae8e8 100644 --- a/phet-io/js/Brand.js +++ b/phet-io/js/Brand.js @@ -1,16 +1,16 @@ // Copyright 2002-2016, University of Colorado Boulder // Returns branding information for the simulations, see https://github.com/phetsims/brand/issues/1 -define( function( require ) { +define( require => { 'use strict'; // modules - var brand = require( 'BRAND/../../js/brand' ); + const brand = require( 'BRAND/../../js/brand' ); // strings - var termsPrivacyAndLicensingString = require( 'string!JOIST/termsPrivacyAndLicensing' ); - var translationCreditsLinkString = require( 'string!JOIST/translation.credits.link' ); - var thirdPartyCreditsLinkString = require( 'string!JOIST/thirdParty.credits.link' ); + const termsPrivacyAndLicensingString = require( 'string!JOIST/termsPrivacyAndLicensing' ); + const translationCreditsLinkString = require( 'string!JOIST/translation.credits.link' ); + const thirdPartyCreditsLinkString = require( 'string!JOIST/thirdParty.credits.link' ); // Documentation for all properties is available in brand/adapted-from-phet/js/Brand.js var Brand = { diff --git a/phet/js/Brand.js b/phet/js/Brand.js index 1bd641b..1088d05 100644 --- a/phet/js/Brand.js +++ b/phet/js/Brand.js @@ -1,16 +1,16 @@ // Copyright 2002-2014, University of Colorado Boulder // Returns branding information for the simulations, see https://github.com/phetsims/brand/issues/1 -define( function( require ) { +define( require => { 'use strict'; // modules - var brand = require( 'BRAND/../../js/brand' ); + const brand = require( 'BRAND/../../js/brand' ); // strings - var termsPrivacyAndLicensingString = require( 'string!JOIST/termsPrivacyAndLicensing' ); - var translationCreditsLinkString = require( 'string!JOIST/translation.credits.link' ); - var thirdPartyCreditsLinkString = require( 'string!JOIST/thirdParty.credits.link' ); + const termsPrivacyAndLicensingString = require( 'string!JOIST/termsPrivacyAndLicensing' ); + const translationCreditsLinkString = require( 'string!JOIST/translation.credits.link' ); + const thirdPartyCreditsLinkString = require( 'string!JOIST/thirdParty.credits.link' ); // Documentation for all properties is available in brand/adapted-from-phet/js/Brand.js var Brand = {