akalongman / akalongman/sublimetext-codeformatter
Javascript on HTML problem
未关闭
- 主要语言
- Python
- 星标
- 772
- 派生
- 128
- PR 合并指标
- 30 天内没有已合并 PR
描述
sample code
```
var isIE = function(ver) {
var b = document.createElement('b')
b.innerHTML = '<!--[if IE ' + ver + ']><i></i><![endif]-->'
return b.getElementsByTagName('i').length === 1
}
```
after format
```
var isIE = function(ver) {
var b = document.createElement('b')
b.innerHTML = '<!--[if IE ' + ver + ']>
<i>
</i>
<![endif]-->
'
return b.getElementsByTagName('i').length === 1
}
```
贡献指南
评估
这个 Issue 还没有评估数据。