2 Star 0 Fork 0

mirrors_jprichardson/ethercalc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
dotcloud.js 789 Bytes
一键复制 编辑 原始数据 按行查看 历史
Audrey Tang 提交于 2013-08-03 11:27 . * Regen with LiveScript 1.2.0
// Generated by LiveScript 1.2.0
(function(){
this.include = function(){
var env, json, ref$, this$ = this;
try {
env = process.env;
this.io.configure(function(){
return this$.io.set('transports', this$.KEY || this$.POLLING
? ['jsonp-polling']
: env.SUBDOMAIN && env.NODE_ENV
? ['websocket', 'xhr-polling', 'jsonp-polling']
: ['websocket', 'flashsocket', 'xhr-polling', 'jsonp-polling']);
});
json = require('fs').readFileSync('/home/dotcloud/environment.json', 'utf8');
return ref$ = JSON.parse(json), env.REDIS_HOST = ref$.DOTCLOUD_DATA_REDIS_HOST, env.REDIS_PORT = ref$.DOTCLOUD_DATA_REDIS_PORT, env.REDIS_PASS = ref$.DOTCLOUD_DATA_REDIS_PASSWORD, ref$;
} catch (e$) {}
};
}).call(this);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_jprichardson/ethercalc.git
git@gitee.com:mirrors_jprichardson/ethercalc.git
mirrors_jprichardson
ethercalc
ethercalc
master

搜索帮助