kopia lustrzana https://github.com/backface/turtlestitch
				
				
				
			initialize new variables with zero (instead of null)
							rodzic
							
								
									f80235ee43
								
							
						
					
					
						commit
						9f690fbfa3
					
				| 
						 | 
				
			
			@ -2153,3 +2153,4 @@ ______
 | 
			
		|||
140605
 | 
			
		||||
------
 | 
			
		||||
* Objects: stop replacing the empty string with the number zero in watchers
 | 
			
		||||
* Threads: initialize new variables with zero (instead of null)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/
 | 
			
		|||
 | 
			
		||||
// Global stuff ////////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
modules.threads = '2014-May-20';
 | 
			
		||||
modules.threads = '2014-Jun-05';
 | 
			
		||||
 | 
			
		||||
var ThreadManager;
 | 
			
		||||
var Process;
 | 
			
		||||
| 
						 | 
				
			
			@ -3054,7 +3054,7 @@ VariableFrame.prototype.getVar = function (name, upvars) {
 | 
			
		|||
VariableFrame.prototype.addVar = function (name, value) {
 | 
			
		||||
    this.vars[name] = (value === 0 ? 0
 | 
			
		||||
              : value === false ? false
 | 
			
		||||
                       : value === '' ? '' : value || null);
 | 
			
		||||
                       : value === '' ? '' : value || 0);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
VariableFrame.prototype.deleteVar = function (name) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue