mrozbarry / hyperapp-debug

A debug HOA for hyperapp
MIT License
12 stars 0 forks source link

Fix README export documentation #5

Closed slacktracer closed 5 years ago

slacktracer commented 5 years ago

I updated the readme to reflect this.

slacktracer commented 5 years ago

Hi! I'll try and do it in the weekend. =)

On Fri, 15 Feb 2019 at 14:42 Alex Barry notifications@github.com wrote:

@mrozbarry commented on this pull request.

In README.md https://github.com/mrozbarry/hyperapp-debug/pull/5#discussion_r257308137 :

@@ -18,7 +18,7 @@ Then with a module bundler like Rollup or [Webpack](http


 import { app, h } from 'hyperapp';

-import debug from 'hyperapp-debug';

+import { debug } from 'hyperapp-debug';

If you don't want to set up a build environment, you can download Hyperapp Debug from a CDN like unpkg.com and it will be globally available through the window['hyperapp-debug'].default object. We support all ES5-compliant browsers, including Internet Explorer 10 and above.

Ah, now it's window.withDebug. I've updated my codepens. If you can update the docs in your PR with this, too, that'd be cool 😄

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mrozbarry/hyperapp-debug/pull/5#discussion_r257308137, or mute the thread https://github.com/notifications/unsubscribe-auth/ABx2v0x45fN1xb3C-kIdGotcov2jwNG1ks5vNuNkgaJpZM4a99r8 .