lambda-view icon indicating copy to clipboard operation
lambda-view copied to clipboard

A New Tool for Reading JavaScript Code since 2017

Results 15 lambda-view issues
Sort by recently updated
recently updated
newest added

最后生成的目标文件打开时,windows提示未创建关联,我分别尝试了用chrome关联html和js,系统仍旧弹框无法打开文件,只有每次去复制命令行里的url。有时候复制粘贴还总是不生效……气得我去看了下源码 var open = require('open') ... function open_html_file(filename) { open(filename) return true } 看到也是调用第三方包open我就懒得折腾了,直接搜了下如何将字符串复制粘贴至剪切板,于是增加了一行下面代码,失败就失败吧,总算没那么痛苦了。 `require('child_process').spawn('clip').stdin.end(filename);`

```shell ➜ foo lv src/components/button.js [2017-02-22 13:23:04] INFO processing target: /foo/src/components/button.js [2017-02-22 13:23:04] ERROR Line 51: Unexpected token < ``` Line 51 is JSX: ![image](https://cloud.githubusercontent.com/assets/599439/23207399/385c7b5c-f902-11e6-859d-3eab048c4629.png)

enhancement

``` computed: { cartOpened: { get () { return this._cartOpened }, set (val) { this.setCartOpened(val) } }, ...mapState({ cart: state => state.shop.cart, products: state => state.shop.products, _cartOpened: state => state.shop.cartOpened...

hello~, when I try to use it to read a ts code, it didn't work out, the error is "The expression evaluated to a falsy value: assert(ast) the code itself...