summaryrefslogtreecommitdiff
path: root/public/assets/javascripts/rectangles/util
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/javascripts/rectangles/util')
-rw-r--r--public/assets/javascripts/rectangles/util/uid.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/assets/javascripts/rectangles/util/uid.js b/public/assets/javascripts/rectangles/util/uid.js
index 50d18c5..0c0b176 100644
--- a/public/assets/javascripts/rectangles/util/uid.js
+++ b/public/assets/javascripts/rectangles/util/uid.js
@@ -19,10 +19,10 @@
}
if ('window' in this) {
- window.UidGenerator = new UidGenerator
+ window.UidGenerator = UidGenerator
}
else {
- module.exports = new UidGenerator
+ module.exports = UidGenerator
}
})()