From 67a46e46770413fe0422945537b3146ed6a4bb48 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Tue, 30 Jun 2015 18:03:42 -0400 Subject: [PATCH] Remove the event variable from the onresize example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 14ed434..fdd514f 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ window.onload = function() { }); // (example) update the size and positioning on window resize - window.onresize = function(event) { contain.update(); }; + window.onresize = function() { contain.update(); }; // (example) update the size and positioning on orientation change screen.addEventListener('orientationchange', function() { contain.update(); });