Release 0.8.5
This commit is contained in:
		
							parent
							
								
									8544c16771
								
							
						
					
					
						commit
						0398b5260a
					
				
							
								
								
									
										2
									
								
								dist
									
									
									
									
									
								
							
							
								
								
								
								
								
								
									
									
								
							
						
						
									
										2
									
								
								dist
									
									
									
									
									
								
							@ -1 +1 @@
 | 
				
			|||||||
Subproject commit 919dfb5e167408b087b9a33cf36c347e24a193b6
 | 
					Subproject commit 2650338b4b188d2e4e7fde9edcd82b93591ec03e
 | 
				
			||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "yjs",
 | 
					  "name": "yjs",
 | 
				
			||||||
  "version": "0.8.5",
 | 
					  "version": "0.8.6",
 | 
				
			||||||
  "description": "A framework for real-time p2p shared editing on arbitrary complex data types",
 | 
					  "description": "A framework for real-time p2p shared editing on arbitrary complex data types",
 | 
				
			||||||
  "main": "./src/y.js",
 | 
					  "main": "./src/y.js",
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
 | 
				
			|||||||
@ -171,6 +171,9 @@ module.exports = function (Y/* :any */) {
 | 
				
			|||||||
      Buffer operations, and broadcast them when ready.
 | 
					      Buffer operations, and broadcast them when ready.
 | 
				
			||||||
    */
 | 
					    */
 | 
				
			||||||
    broadcastOps (ops) {
 | 
					    broadcastOps (ops) {
 | 
				
			||||||
 | 
					      ops = ops.map(function (op) {
 | 
				
			||||||
 | 
					        return Y.Struct[op.struct].encode(op)
 | 
				
			||||||
 | 
					      })
 | 
				
			||||||
      var self = this
 | 
					      var self = this
 | 
				
			||||||
      function broadcastOperations () {
 | 
					      function broadcastOperations () {
 | 
				
			||||||
        if (self.broadcastOpBuffer.length > 0) {
 | 
					        if (self.broadcastOpBuffer.length > 0) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user