zynga/jukebox — comment on commit 0e0a664de75ab50205d55c58e1deb7f9eb04d1c1
File:  line 0
By aduros:

Hi, I was wondering if there was some reason to be using a RegExp here? Assuming that this function returns true if the volume was successfully set, why not just check for this.context.volume == value?

Also, I think there's a bug here considering that 'value' is between 0 and 1 (not 100).