sisyphus.js
function() {
					var self = this;
					var restored = false;

					self.targets.each( function() {
						var target = $( this );
						var targetFormIdAndName = getElementIdentifier( $( this ) );

						self.findFieldsToProtect( target ).each( function() {
							if ( $.inArray( this, self.options.excludeFields ) !== -1 ) {
								// Returning non-false is the same as a continue statement in a for loop; it will skip immediately to the next iteration.
								return true;
							}
							var field = $( this );
							var prefix = (self.options.locationBased ? self.href : "") + targetFormIdAndName + getElementIdentifier( field ) + self.options.customKeySuffix;
							var resque = self.browserStorage.get( prefix );
							if ( resque !== null ) {
								self.restoreFieldsData( field, resque );
								restored = true;
							}
						} );
					} );

					if ( restored ) {
						self.options.onRestore.call( self );
					}
				}
function() {
					var self = this;
					var restored = false;

					self.targets.each( function() {
						var target = $( this );
						var targetFormIdAndName = getElementIdentifier( $( this ) );

						self.findFieldsToProtect( target ).each( function() {
							if ( $.inArray( this, self.options.excludeFields ) !== -1 ) {
								// Returning non-false is the same as a continue statement in a for loop; it will skip immediately to the next iteration.
								return true;
							}
							var field = $( this );
							var prefix = (self.options.locationBased ? self.href : "") + targetFormIdAndName + getElementIdentifier( field ) + self.options.customKeySuffix;
							var resque = self.browserStorage.get( prefix );
							if ( resque !== null ) {
								self.restoreFieldsData( field, resque );
								restored = true;
							}
						} );
					} );

					if ( restored ) {
						self.options.onRestore.call( self );
					}
				}
function ( ) { var self = this ; var restored = false ; self . targets . each ( function ( ) { var target = $ ( this ) ; var targetFormIdAndName = getElementIdentifier ( $ ( this ) ) ; self . findFieldsToProtect ( target ) . each ( function ( ) { if ( $ . inArray ( this , self . options . excludeFields ) !== - 1 ) { // Returning non-false is the same as a continue statement in a for loop; it will skip immediately to the next iteration. return true ; } var field = $ ( this ) ; var prefix = ( self . options . locationBased ? self . href : "" ) + targetFormIdAndName + getElementIdentifier ( field ) + self . options . customKeySuffix ; var resque = self . browserStorage . get ( prefix ) ; if ( resque !== null ) { self . restoreFieldsData ( field , resque ) ; restored = true ; } } ) ; } ) ; if ( restored ) { self . options . onRestore . call ( self ) ; } }
Restore forms data from Local Storage

@return void
Restore forms data from Local Storage