lib/packages/core-classes.js
function(name, value, padding) {

		var type = Firestorm.getType(value);

		// if you serialize only Lava configs, then most likely you do not need this check,
		// cause the property names in configs are always valid.
		if (this._check_property_names && (!Lava.VALID_PROPERTY_NAME_REGEX.test(name) || Lava.JS_KEYWORDS.indexOf(name) != -1)) {

			name = Firestorm.String.quote(name);

		}

		return name + ': ' + this[this._callback_map[type]](value, padding);

	}
function(name, value, padding) {

		var type = Firestorm.getType(value);

		// if you serialize only Lava configs, then most likely you do not need this check,
		// cause the property names in configs are always valid.
		if (this._check_property_names && (!Lava.VALID_PROPERTY_NAME_REGEX.test(name) || Lava.JS_KEYWORDS.indexOf(name) != -1)) {

			name = Firestorm.String.quote(name);

		}

		return name + ': ' + this[this._callback_map[type]](value, padding);

	}
function ( name , value , padding ) { var type = Firestorm . getType ( value ) ; // if you serialize only Lava configs, then most likely you do not need this check, // cause the property names in configs are always valid. if ( this . _check_property_names && ( ! Lava . VALID_PROPERTY_NAME_REGEX . test ( name ) || Lava . JS_KEYWORDS . indexOf ( name ) != - 1 ) ) { name = Firestorm . String . quote ( name ) ; } return name + ': ' + this [ this . _callback_map [ type ] ] ( value , padding ) ; }
Serialize one key-value pair in an object
@param {string} name
@param {*} value
@param {string} padding
@returns {string}
Serialize one key - value pair in an object