Package
Package
手里拿着 base64 字符串居然还得转成字节再转回 base64
https://github.com/johnsoncodehk/volar/issues/1625 
### Code ```rust let texture1 = device .create_texture(&wgpu::TextureDescriptor { label: Some("Test Compute Texture 1"), size: wgpu::Extent3d { width: 16, height: 16, depth_or_array_layers: 16, }, mip_level_count: 1, sample_count: 1, dimension: wgpu::TextureDimension::D3,...
implicit return makes the source of the value untraceable it’s difficult to find where to return may even not return a b ```js const a = do { if (c1)...
```ts protocol ToString { tag; toString() { return `[object ${this[ToString].tag}]`; } } Protocol.implement(Object, ToString); Object.prototype[ToString] = { tag: 'Object' }; // or Object.prototype[ToString].tag = 'Object'; ``` in #34 syntax ```ts...
https://github.com/2A5F/shadow/issues/214#issuecomment-993566053 > For styling : > > `mounted() { var shadow_css = new CSSStyleSheet; shadow_css.replaceSync(YOUR_CSS) this.$el.shadowRoot.adoptedStyleSheets = [ shadow_css ]; }` [61fc8ac](https://github.com/2A5F/shadow/tree/61fc8acbde895282ad8109046a5eda21896dc89b) ### Experimental `adoptedStyleSheets` ```js const adoptedStyleSheets = new...
https://github.com/dotnet/ClangSharp/issues/367 partially solves the problem, but pure virtual classes will still be generated duplicate ```cpp struct Foo { virtual ~Foo() = default; }; struct Bar { virtual ~Bar() = default;...
asar is an uncompressed random access format, using memory mapping can avoid extra copying