lib/parser/abbreviation.js
function unquote(str) {
		var ch = str.charAt(0);
		if (ch == '"' || ch == "'") {
			str = str.substr(1);
			var last = str.charAt(str.length - 1);
			if (last === ch) {
				str = str.substr(0, str.length - 1);
			}
		}

		return str;
	}
function unquote(str) {
		var ch = str.charAt(0);
		if (ch == '"' || ch == "'") {
			str = str.substr(1);
			var last = str.charAt(str.length - 1);
			if (last === ch) {
				str = str.substr(0, str.length - 1);
			}
		}

		return str;
	}
function unquote ( str ) { var ch = str . charAt ( 0 ) ; if ( ch == '"' || ch == "'" ) { str = str . substr ( 1 ) ; var last = str . charAt ( str . length - 1 ) ; if ( last === ch ) { str = str . substr ( 0 , str . length - 1 ) ; } } return str ; }
Removes opening and closing quotes from given string
@param  {String} str
@return {String}
Removes opening and closing quotes from given string