Merge pull request #142 from mtn/mtn-patch-1

Correct typo in README example
This commit is contained in:
Kevin Jahns 2019-03-12 03:36:51 +01:00 committed by GitHub
commit 777ae9503a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ Here is a simple example of a shared textarea
// name: 'xmpp'
room: 'my-room' // clients connecting to the same room share data
},
sourceDir: '/bower_components', // location of the y-* modules (browser only)
sourceDir: './bower_components', // location of the y-* modules (browser only)
share: {
textarea: 'Text' // y.share.textarea is of type y-text
}