Fixing some eslint warning
This commit is contained in:
		
							parent
							
								
									c092b5fa3a
								
							
						
					
					
						commit
						1ce4170b89
					
				| @ -75,7 +75,7 @@ describe('parser/javascript/subexp.js', function() { | ||||
|       this.node = new javascript.Parser('(test)').__consume__subexp(); | ||||
|       this.node.regexp = jasmine.createSpyObj('regexp', ['render']); | ||||
|       this.node.container = jasmine.createSpyObj('container', ['addClass', 'group']); | ||||
|       spyOn(this.node, 'label').and.returnValue('example label') | ||||
|       spyOn(this.node, 'label').and.returnValue('example label'); | ||||
| 
 | ||||
|       this.node.regexp.render.and.returnValue(this.renderDeferred.promise); | ||||
|     }); | ||||
|  | ||||
| @ -65,7 +65,7 @@ export default { | ||||
|     this.regexp = this.properties.regexp; | ||||
| 
 | ||||
|     // If there is no need for a label, then proxy to the nested regexp.
 | ||||
|     if (this.properties.capture.textValue == '?:') { | ||||
|     if (this.properties.capture.textValue === '?:') { | ||||
|       this.proxy = this.regexp; | ||||
|     } | ||||
|   } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user