added the first two test methods that actually work!
This commit is contained in:
		
							parent
							
								
									51d21d8ff6
								
							
						
					
					
						commit
						0c7aebc200
					
				
					 15 changed files with 248 additions and 305 deletions
				
			
		
							
								
								
									
										14
									
								
								src/uhr.js
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								src/uhr.js
									
										
									
									
									
								
							|  | @ -344,6 +344,16 @@ | |||
|             }.bind(this)); | ||||
|         } | ||||
|     }; | ||||
|     var destroy = function destroy() { | ||||
|         this.timer = null; | ||||
|         $(this.element) | ||||
|             .removeAttr('style') | ||||
|             .removeAttr('class') | ||||
|             .empty(); | ||||
|         $('#uhr-configlink' + this.id).remove(); | ||||
|         $('#uhr-controlpanel' + this.id).remove(); | ||||
| 
 | ||||
|     }; | ||||
|     var setCookie = function setCookie(cookieName, cookieValue) { | ||||
|         var options = {}; | ||||
|         if (this.options.cookiePath !== undefined) { | ||||
|  | @ -457,7 +467,9 @@ | |||
|         "mode": setMode, | ||||
|         "width": setWidth, | ||||
|         // constructor method
 | ||||
|         "_create": create | ||||
|         "_create": create, | ||||
|         // destructor method
 | ||||
|         "_destroy": destroy | ||||
|     }); | ||||
|     $.fritteli.uhr.register = uhrGlobals.registerLanguage; | ||||
|     /** | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue