Fixed OT some uncaught error and exceptions
This commit is contained in:
		
							parent
							
								
									c06fb7a526
								
							
						
					
					
						commit
						92493e307a
					
				
							
								
								
									
										4
									
								
								public/vendor/ot/editor-client.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								public/vendor/ot/editor-client.js
									
									
									
									
										vendored
									
									
								
							| @ -25,8 +25,8 @@ ot.EditorClient = (function () { | ||||
| 
 | ||||
|   SelfMeta.prototype.transform = function (operation) { | ||||
|     return new SelfMeta( | ||||
|       this.selectionBefore.transform(operation), | ||||
|       this.selectionAfter.transform(operation) | ||||
|       (this.selectionBefore ? this.selectionBefore.transform(operation) : null), | ||||
|       (this.selectionAfter ? this.selectionAfter.transform(operation) : null) | ||||
|     ); | ||||
|   }; | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										2
									
								
								public/vendor/ot/ot.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								public/vendor/ot/ot.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								public/vendor/ot/socketio-adapter.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								public/vendor/ot/socketio-adapter.js
									
									
									
									
										vendored
									
									
								
							| @ -32,7 +32,7 @@ ot.SocketIOAdapter = (function () { | ||||
|             self.trigger('selection', clientId, selection); | ||||
|         }); | ||||
|         socket.on('reconnect', function () { | ||||
|             self.trigger('reconnect'); | ||||
|             //self.trigger('reconnect');
 | ||||
|         }); | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user