summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/objects.js b/objects.js
index 7eb7eb6..c0c99e9 100644
--- a/objects.js
+++ b/objects.js
@@ -124,7 +124,7 @@ PrototypeHatBlockMorph*/
// Global stuff ////////////////////////////////////////////////////////
-modules.objects = '2013-October-14';
+modules.objects = '2013-November-12';
var SpriteMorph;
var StageMorph;
@@ -6030,7 +6030,7 @@ WatcherMorph.prototype.update = function () {
} else {
newValue = this.target[this.getter]();
}
- num = parseFloat(newValue);
+ num = +newValue;
if (!isNaN(num)) {
newValue = Math.round(newValue * 1000000000) / 1000000000;
}