Permalink
Browse files

adding d.js with tabs

  • Loading branch information...
1 parent f921f08 commit d297b1b608fa50909251b355d572fe1167afe4c9 @stephenmathieson stephenmathieson committed Mar 16, 2013
Showing with 15 additions and 0 deletions.
  1. +15 −0 test/fixtures/d-tabs.js
View
@@ -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.