Skip to content

Commit

Permalink
Updated to lodash 4.17.4, see phetsims/sherpa#58
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Feb 3, 2017
1 parent 9259f1f commit 892c42e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion curve-fitting_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
// Preloads, with more included for phet-io brand
var preloads = [
'../sherpa/lib/jquery-2.1.0.js',
'../sherpa/lib/lodash-2.4.1.js',
'../sherpa/lib/lodash-4.17.4.js',
'../sherpa/lib/FileSaver-b8054a2.js',
'../assert/js/assert.js',
'../query-string-machine/js/QueryStringMachine.js',
Expand Down
2 changes: 1 addition & 1 deletion js/curve-fitting/model/CurveFittingModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ define( function( require ) {
assert && assert( order >= 1 && order <= 3, 'invalid order: ' + order );
} );
this.fitProperty.link( function( fit ) {
assert && assert( _.contains( VALID_FIT_VALUES, fit ), 'invalid fit: ' + fit );
assert && assert( _.includes( VALID_FIT_VALUES, fit ), 'invalid fit: ' + fit );
} );

//TODO this field is not used consistently, see https://github.com/phetsims/curve-fitting/issues/88
Expand Down

0 comments on commit 892c42e

Please sign in to comment.