浏览代码

[add] node support

isundil 8 年之前
父节点
当前提交
5d213ae9ce
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      msgFormatter.js

+ 2 - 0
msgFormatter.js

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