Skip to content

Commit

Permalink
Merge pull request #20 from novemberborn/patch-1
Browse files Browse the repository at this point in the history
Use `expose` rather than `exports`, makes it work outside CommonJS.
  • Loading branch information
ashb committed Jun 23, 2011
2 parents e748f00 + 77f134f commit 8b3cc2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ Markdown.dialects.Maruku.inline[ "{:" ] = function inline_meta( text, matches, o
Markdown.buildBlockOrder ( Markdown.dialects.Maruku.block );
Markdown.buildInlinePatterns( Markdown.dialects.Maruku.inline );

var isArray = exports.isArray = function(obj) {
var isArray = expose.isArray = function(obj) {
return (obj instanceof Array || typeof obj === "array" || Array.isArray(obj));
}

Expand Down

0 comments on commit 8b3cc2f

Please sign in to comment.