old_contents: /*
   ---
  
   name: StepperIterator
  
   script: stepper.iterator.js
  
   description: MUI - Iterator used by MUI.Stepper.
  
   copyright: (c) 2011 AndrÃ© Fiedler <kontakt@visualdrugs.net>
  
   license: MIT-style license in (/MIT-LICENSE.txt).
  
   note:
   This documentation is taken directly from the javascript source files. It is built using Natural Docs.
  
   requires:
   - Core/Element
   - Core/Class
   - Core/Options
   - Core/Events
   - MUI
   - MUI.Core
  
   provides: [MUI.StepperIterator]
   ...
   */
  
  MUI.StepperIterator = new NamedClass('MUI.StepperIterator', {
  
  	index: 0,
  
  	rewind: function() {
  		this.index = 0;
  	},
  	
  	set: function(value) {
  		this.index = value.toInt();
  	},
  	
  	validate: function(value) {
  		if(typeOf(value) === 'integer')
  			return true;
  		var intv = parseInt(value, 10);
  		var floatv = parseFloat(value, 10);
  		return !isNaN(intv) && (floatv == intv);
  	},
  	
  	current: function() {
  		return this.index;
  	},
  	
  	hasNext: function() {
  		return true;
  	},
  	
  	hasPrevious: function() {
  		return true;
  	},
  	
  	next: function() {
  		this.index++;
  		return this.index;
  	},
  	
  	previous: function() {
  		this.index--;
  		return this.index;
  	}
  });
new_contents: /*
   ---
  
   name: StepperIterator
  
   script: stepper.iterator.js
  
   description: MUI - Iterator used by MUI.Stepper.
  
   copyright: (c) 2011 AndrÃ© Fiedler <kontakt@visualdrugs.net>
  
   license: MIT-style license in (/MIT-LICENSE.txt).
  
   note:
   This documentation is taken directly from the javascript source files. It is built using Natural Docs.
  
   requires:
   - Core/Element
   - Core/Class
   - Core/Options
   - Core/Events
   - MUI
   - MUI.Core
  
   provides: [MUI.StepperIterator]
   ...
   */
  
  MUI.StepperIterator = new NamedClass('MUI.StepperIterator', {
  
      index: 0,
  
      rewind: function() {
          this.index = 0;
      },
      
      set: function(value) {
          this.index = value.toInt();
      },
      
      validate: function(value) {
          if(typeOf(value) === 'integer')
              return true;
          var intv = parseInt(value, 10);
          var floatv = parseFloat(value, 10);
          return !isNaN(intv) && (floatv == intv);
      },
      
      current: function() {
          return this.index;
      },
      
      hasNext: function() {
          return true;
      },
      
      hasPrevious: function() {
          return true;
      },
      
      next: function() {
          this.index++;
          return this.index;
      },
      
      previous: function() {
          this.index--;
          return this.index;
      }
  });
subject: replace all tabs by spaces