upd
This commit is contained in:
		
							parent
							
								
									85d85540e7
								
							
						
					
					
						commit
						bad6c913fc
					
				
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@ -550,7 +550,11 @@ module.exports = function() {
 | 
				
			|||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ReplaceManager.prototype.deleteContent = function() {
 | 
					    ReplaceManager.prototype.deleteContent = function() {
 | 
				
			||||||
      (new ops.Delete(null, void 0, this.getLastOperation().uid)).execute();
 | 
					      var last_op;
 | 
				
			||||||
 | 
					      last_op = this.getLastOperation();
 | 
				
			||||||
 | 
					      if ((!last_op.isDeleted()) && last_op.type !== "Delimiter") {
 | 
				
			||||||
 | 
					        (new ops.Delete(null, void 0, this.getLastOperation().uid)).execute();
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
      return void 0;
 | 
					      return void 0;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@ -507,7 +507,9 @@ module.exports = ()->
 | 
				
			|||||||
      @getLastOperation().isDeleted()
 | 
					      @getLastOperation().isDeleted()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    deleteContent: ()->
 | 
					    deleteContent: ()->
 | 
				
			||||||
      (new ops.Delete null, undefined, @getLastOperation().uid).execute()
 | 
					      last_op = @getLastOperation()
 | 
				
			||||||
 | 
					      if (not last_op.isDeleted()) and last_op.type isnt "Delimiter"
 | 
				
			||||||
 | 
					        (new ops.Delete null, undefined, @getLastOperation().uid).execute()
 | 
				
			||||||
      undefined
 | 
					      undefined
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #
 | 
					    #
 | 
				
			||||||
 | 
				
			|||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user