Release 0.8.8
This commit is contained in:
		
							parent
							
								
									5b7a4482cf
								
							
						
					
					
						commit
						65dc716936
					
				
							
								
								
									
										2
									
								
								dist
									
									
									
									
									
								
							
							
								
								
								
								
								
								
									
									
								
							
						
						
									
										2
									
								
								dist
									
									
									
									
									
								
							@ -1 +1 @@
 | 
			
		||||
Subproject commit 65ea42481e33ae80064e2b36cdfead764d18123c
 | 
			
		||||
Subproject commit e58f6331158882d15b0ac25e8b77a0e049d5d2f2
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "yjs",
 | 
			
		||||
  "version": "0.8.8",
 | 
			
		||||
  "version": "0.8.9",
 | 
			
		||||
  "description": "A framework for real-time p2p shared editing on arbitrary complex data types",
 | 
			
		||||
  "main": "./src/y.js",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
 | 
			
		||||
@ -75,6 +75,7 @@ module.exports = function (Y/* :any */) {
 | 
			
		||||
      this.userEventListeners.push(f)
 | 
			
		||||
    }
 | 
			
		||||
    userLeft (user) {
 | 
			
		||||
      if (this.connections[user] != null) {
 | 
			
		||||
        delete this.connections[user]
 | 
			
		||||
        if (user === this.currentSyncTarget) {
 | 
			
		||||
          this.currentSyncTarget = null
 | 
			
		||||
@ -90,6 +91,7 @@ module.exports = function (Y/* :any */) {
 | 
			
		||||
          })
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
    userJoined (user, role) {
 | 
			
		||||
      if (role == null) {
 | 
			
		||||
        throw new Error('You must specify the role of the joined user!')
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user