INCHMAN

Results 10 comments of INCHMAN

css预处理器也会有&这个符号用来识别选择器,但是如果省略的话处理器可以识别成后代选择器,草案中规定必须写&符号,是因为这个对浏览器实现起来会比较麻烦?

@anjia 原生采用的lookahead token实现,加上&就不用对解析引擎做更复杂的处理了。希望能尽快进入标准,可以抛弃scss了:smile:。 我觉得应该会分出来单独的一块区域查看元素的嵌套样式,但是嵌套内部的元素的样式会按照解析之后的显示,这样会更方便,不会打断原来的体验。

@LDWX CSS Nesting Module Level 3是原生实现,使用完全脱离预处理器,跟SCSS并不是竞争关系。 况且Nesting Module Level 3就目前来看,跟SCSS的语法还是很接近的

Can you post your `babel` config? There should be a macro plugin since `Trans` is imported from `@lingui/macro`.

有两个问题 1. `document.onload` 事件不存在 2. 放在 `window.onload` 事件之后并不能保证external模块加载完成后就立即执行业务代码,因为external模块之后可能还有其它外部代码需要加载,可不可以通过直接创建 `script` 标签加载外部代码,然后在`script` 的 `onload` 事件之后执行业务代码?这样的话业务代码就不会受外部代码影响了

This is not recommended. However if you want to achieve this, you can use NSEvent.addGlobalEventListener to monitor keydown and keyup event on your own.

哈哈哈哈哈哈我觉得“you know it better”这句话很合适。 vue本身只专注于核心库,vuex、vue-router都是附属的东西,可以随意选用,但是作者通篇没有提及这些。 `just jsx`有好处,但是在里面处理样式纯粹就是噩梦,vue中的template、script、style,处理起来方便多了。 至于lint工具,这东西纯粹是个编辑器插件,作者还当成宝了,不愿意去探索这些东西。

Hi @godbout ! The same thing happened to me this week and it's been annoying. Here is the pattern in my application: 1. Register the events with `eventsOfInterest: .max` on...

I've create a demo for this issue: [CGEventTapCreateBugDemo.zip](https://github.com/user-attachments/files/16868794/CGEventTapCreateBugDemo.zip). It requires a clean launch of Chrome. If you've opened Chrome before, the issue may not appear, while Affinity Designer 2 always...