dist/altspace.js
function getAuthorId() {
	var url = getParsedUrl();
	var splitPath = url.path.split('/');
	var isTeam = splitPath[1] == 'team';
	var id = isTeam ? 'team-' + splitPath[2] : splitPath[1];
	return id;
}
function getAuthorId() {
	var url = getParsedUrl();
	var splitPath = url.path.split('/');
	var isTeam = splitPath[1] == 'team';
	var id = isTeam ? 'team-' + splitPath[2] : splitPath[1];
	return id;
}
function getAuthorId ( ) { var url = getParsedUrl ( ) ; var splitPath = url . path . split ( '/' ) ; var isTeam = splitPath [ 1 ] == 'team' ; var id = isTeam ? 'team-' + splitPath [ 2 ] : splitPath [ 1 ] ; return id ; }
Returns the pen author ID, useful for setting the sync authorId.
@method getAuthorId
@return {String}
@memberof module:altspace/utilities/codePen
Returns the pen author ID useful for setting the sync authorId .