From 85ec2dc05d0cc3b138a4957a2e6b9f437403d113 Mon Sep 17 00:00:00 2001 From: Jeremy Heminger Date: Tue, 2 Apr 2019 07:43:01 -0700 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a28b1dc..15ff980 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,13 @@ It's possible to chain effects together however, not in the normal manner. **Ideally it should be something like:** -``` test.load('image.jpg').effect({params}).anotherEffect({params}).drawBuffer() ``` +```javascript +test.load('image.jpg').effect({params}).anotherEffect({params}).drawBuffer() +``` But currently it's more clunky: -``` +```javascript test.load(['images/cat.jpg']) .then(function(e){ test.draw(i,e[0].img)