FireflyHoo

Results 11 comments of FireflyHoo
trafficstars

chang this code to and set api_version init

更改集群版的配置,应该保留原有单机版本的页面,当前这么更改 就丢失查看某个节点最新规则的功能, , 哎, sentinel 的管理控制不支持集群配置功能, 然后又是 AngularJS, 有哪位大神帮忙改造下不

> Try this hack [chornenky@16fd6ed](https://github.com/chornenky/livego/commit/16fd6ed90bf91c8da5b41be0a309814a82d746d8) long long time a go

function once(fn){ var _fn = fn; return function() { var _f = _fn; return _fn ? ( _fn = null ,_f.apply(null,arguments)) : "no effect"; } }

Object.prototype.hash = function( path ){ if(path == ''){ return undefined; } var paths = path.split("."); if (paths.length > 1) { return this[paths[0]] ? this[paths[0]].hash(paths.slice(1).join(".")): undefined }else{ return this[paths[0]]; } }

### 不通过 /* * param {object} left * param {object} right * return {boolean} */ function judgeStructure(left, right){ for(var a in left){ if(right[a] && right[a]!=left[a]){ return false; } } return...