elixiao

Results 12 comments of elixiao

This behavior is ridiculous. url('/xxx') should refer to public/xxx

@7777sea 代码有问题,运行结果:`[0, 2, 5, 7, 9, 10, 10, 10, 11, 32, 90, undefined, -3: 1, -2: undefined, -1: undefined]`

+1, any update on this? ``` { "notice": "seneca: Action module:* failed: Cannot read property 'pattern' of undefined.", "code": "act_execute", "err": { "eraro": true, "orig": {}, "code": "act_execute", "seneca": true,...

@AndreMaz There is transporter connection in `moleculer.config.js`. The problem is if transporter.options is sealed, Moleculer exits without error message. You can try the following BrokerOptions: ```js { namespace: 'test', logLevel:...

@AndreMaz Thanks. Add `logger:true` to BrokerOptions could show error messages now. Because `config.get('xxx')` results a deep sealed object. If I don't add `logger: true`, the app just exits without any...

@icebob Actually I don't want to use sealed objects. However, [node-config](https://github.com/lorenwest/node-config) returns me a sealed object. I put moleculer BrokerOptions into default.json/production.json in order to connect to different transporter. node-config...

@icebob https://github.com/elixiao/moleculer-demo use `node src/` or `npm run dev` to run demo.

sass [文档](http://sass.bootcss.com/docs/sass-reference/) 这么解释的: > 如果你有一个 SCSS 或 Sass 文件需要引入, 但是你又不希望它被编译为一个 CSS 文件, 这时,你就可以在文件名前面加一个下划线,就能避免被编译。 所以只要把 sass 目录下的 `_style.scss` 改成 `style.scss` 即可。

upgrading to latest version shows me the following error: ``` ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'mixins' of undefined TypeError: Cannot read property 'mixins' of undefined ```

为什么我得到的是相反的结果?call 比 apply 慢 5 倍以上。 ```js const arr= Array.from({ length: 100000 }) console.time('call') console.log(Array.prototype.push.call([], ...arr)) console.timeEnd('call') console.time('apply') console.log(Array.prototype.push.apply([], arr)) console.timeEnd('apply') ``` ``` $ node call-vs-apply.js 100000 call: 19.790ms 100000...