From 981938695ca7e0ad388e5a8ebd1033fd5c6bdcc7 Mon Sep 17 00:00:00 2001 From: Wiktor Mociun Date: Tue, 5 Apr 2016 19:24:55 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3b7d778..2318776 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,11 @@ independent bundled JS files on our website), they won't share `eventing-bus` with each other by default. However you can use `eventing-bus` placed in browser's `window` by default. -``` +````javascript import EventBus from 'eventing-bus/lib/window_event_stream'; // Now each time you import the `EventBus` like that, it will look for // its instance in browser's `window` -``` +```` **Warning!** It will throw error if `window` is not reachable.