Sha256: 37093d5f135f01cc58d4f28fe79fea791f72906e8c61ba674d84a858d8d5a67b
Contents?: true
Size: 479 Bytes
Versions: 274
Compression:
Stored size: 479 Bytes
Contents
/** Used to match wrap detail comments. */ var reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/, reSplitDetails = /,? & /; /** * Extracts wrapper details from the `source` body comment. * * @private * @param {string} source The source to inspect. * @returns {Array} Returns the wrapper details. */ function getWrapDetails(source) { var match = source.match(reWrapDetails); return match ? match[1].split(reSplitDetails) : []; } module.exports = getWrapDetails;
Version data entries
274 entries across 272 versions & 30 rubygems