mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 17:58:55 +00:00
15 lines
260 B
JavaScript
15 lines
260 B
JavaScript
'use strict';
|
|
|
|
// TODO: Use real AMD, and don't install crap globally.
|
|
(function() {
|
|
window.Volume = {
|
|
/** Default volume. */
|
|
DEFAULT: 3.0,
|
|
|
|
// TODO: Set validity in UI.
|
|
valid: function(volume) {
|
|
return !isNaN(volume);
|
|
},
|
|
}
|
|
}());
|