@@ -6,7 +6,7 @@ inspectorFields = {
}
class CoffeeSpinner extends Atomic.JSComponent
-
+
update:(timeStep) ->
this.node.yaw(timeStep * 75 * this.speed)
@@ -5,7 +5,7 @@ var inspectorFields = {
speed: 1.0
-exports.component = function(self) {
+module.exports = function(self) {
self.start = function() {
self.update = function(timeStep) {