Junyi

Results 81 issues of Junyi

1. `for`遍历`context`中深层对象数组 2. `if`判断负数 小修改: 1. 去掉`Rule.js`中的额外分号

不等于比较逻辑错误,详见test case pull request。

bug

模板代码: ``` html ${num} ``` console报错: ``` if is invalid: if: ${num} == -1 ```

bug

当需要点击一个按钮然后show一个layer的时候,必须让开发者主动去调用`layer._preventHide()`这种隐藏接口,否则show了还会被render就绑定的`document`点击事件给hide掉。 就个人理解,`autoHide`相关的事件绑定应该放在show之后去做,而且必须是临时的,即在hide之后取消绑定。而不应该让使用者主动的去了解当前是何种场景及显示状态来做额外的适应操作,应该对使用者保持简单透明。

feature

`Button.js`中的代码: ``` if ( !me.isDisabled() ) { me.onclick(); } ``` `onclick`事件不能通过`return false`来阻止默认行为,如果是一个`submit`按钮,那么点击后表单仍会提交。 另外,css里在`disabled`状态下按钮上鼠标仍是手型。

bug

Should load env first and pass into shell script.

bug

May need do one more `git reset --hard HEAD` to ensure the branch is up-to-dated.

bug

The post pull merge command hook should be config in `.git/hooks/post-merge`. See in this gist: [post-merge](https://gist.github.com/sindresorhus/7996717).

enhancement

Since `\` in Windows path, the RegExp will not work.

bug

Usage: ~~~javascript app.use(rainbow({ controllers: [ './folder1/path/to/controller', './folder2/' ] })); ~~~ Or: ~~~js app.use(rainbow({ // first config object }, ...otherConfigObjects)); ~~~

enhancement