From 5937eedc0c933f46d53e6eb79cb377b1e5c4675d Mon Sep 17 00:00:00 2001 From: Jonathan Olson Date: Fri, 6 Jul 2018 16:42:33 -0600 Subject: [PATCH] Patching for https://github.com/phetsims/function-builder/issues/119 --- js/grunt/requirejsBuild.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/js/grunt/requirejsBuild.js b/js/grunt/requirejsBuild.js index 4de231d31..3d46c5608 100644 --- a/js/grunt/requirejsBuild.js +++ b/js/grunt/requirejsBuild.js @@ -15,12 +15,6 @@ var assert = require( 'assert' ); module.exports = function( grunt, buildConfig ) { 'use strict'; - // Validate phet-io brand naming, see https://github.com/phetsims/chipper/issues/504 - if ( buildConfig.brand === 'phet-io' ) { - assert( buildConfig.version.indexOf( 'phetio' ) >= 0, 'phet-io branded things must have phetio in the string so they will be ' + - 'properly dealt with on build-server' ); - } - if ( buildConfig.brand === 'phet' ) { assert( buildConfig.version.indexOf( 'phetio' ) === -1, 'phet versions cannot be named like phet-io versions' ); }