Skip to content

Commit

Permalink
adding d.js with tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Mathieson committed Mar 16, 2013
1 parent f921f08 commit d297b1b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/fixtures/d-tabs.js
@@ -0,0 +1,15 @@

/**
* Parse tag type string "{Array|Object}" etc.
*
* @name is arbitrary
* @param {String} str
* @return {Array}
* @api public
*/

exports.parseTagTypes = function(str) {
return str
.replace(/[{}]/g, '')
.split(/ *[|,\/] */);
};

0 comments on commit d297b1b

Please sign in to comment.