src/sap.ui.support/src/sap/ui/support/supportRules/Storage.js
function () {
			var tempRules = [],
				rawLSData;

			try {
				rawLSData = localStorage.getItem(constants.LOCAL_STORAGE_TEMP_RULES_KEY);

				if (!rawLSData) {
					return null;
				}

				tempRules = JSON.parse(decode(rawLSData));

				tempRules = tempRules.map(function (tempRule) {
					return RuleSerializer.deserialize(tempRule, true);
				});
			} catch (oError) {
				// Swallow "Access Denied" exceptions in cross-origin scenarios.
			}

			return tempRules;
		}
function () {
			var tempRules = [],
				rawLSData;

			try {
				rawLSData = localStorage.getItem(constants.LOCAL_STORAGE_TEMP_RULES_KEY);

				if (!rawLSData) {
					return null;
				}

				tempRules = JSON.parse(decode(rawLSData));

				tempRules = tempRules.map(function (tempRule) {
					return RuleSerializer.deserialize(tempRule, true);
				});
			} catch (oError) {
				// Swallow "Access Denied" exceptions in cross-origin scenarios.
			}

			return tempRules;
		}
function ( ) { var tempRules = [ ] , rawLSData ; try { rawLSData = localStorage . getItem ( constants . LOCAL_STORAGE_TEMP_RULES_KEY ) ; if ( ! rawLSData ) { return null ; } tempRules = JSON . parse ( decode ( rawLSData ) ) ; tempRules = tempRules . map ( function ( tempRule ) { return RuleSerializer . deserialize ( tempRule , true ) ; } ) ; } catch ( oError ) { // Swallow "Access Denied" exceptions in cross-origin scenarios. } return tempRules ; }
Returns all previously created temporary rules.
@private
@name sap.ui.support.Storage.getRules
@method
@returns {object[]} An array containing all the temporary rules.
Returns all previously created temporary rules .