Browse Source

[add] node support

isundil 8 years ago
parent
commit
5d213ae9ce
1 changed files with 2 additions and 0 deletions
  1. 2 0
      msgFormatter.js

+ 2 - 0
msgFormatter.js

@@ -446,3 +446,5 @@ var formatText = (function() {
     };
 })();
 
+if (typeof module !== "undefined") module.exports.formatText = formatText;
+