node.js中模块报错【window is not defined】的解决方法
时间:2015-08-17 18:45:21
收藏:0
阅读:1679
(function(window) {
/* Keep source code the same */
// })(typeof window == "undefined" ? global : window);
// or
})(this);
原文:http://www.cnblogs.com/ningkyolei/p/4737039.html
评论(0)