Index: sky/examples/spinning-square.sky |
diff --git a/sky/examples/spinning-square.sky b/sky/examples/spinning-square.sky |
index 673716b738fe7e731182d810f83d10f301c60989..a570732892a906c7cc7c1e4418812f5342a08e35 100644 |
--- a/sky/examples/spinning-square.sky |
+++ b/sky/examples/spinning-square.sky |
@@ -21,7 +21,7 @@ void main() { |
timeBase = time; |
double delta = time - timeBase; |
int rotation = (delta / 10).floor(); |
- square.style.setProperty("transform", 'rotate(${rotation}deg)'); |
+ square.style["transform"] = "rotate(${rotation}deg)"; |
window.requestAnimationFrame(animate); |
} |