Andy Barron
Andy Barron
Hi! I'm currently using Cocos2d-x version 3.0 on Mac OS 10.9 Mavericks. When using the `cocos run` command in the Mac OS Terminal, no output (i.e. from `CCLOG` calls, with...
Add new versions of `Preferences` trait methods (e.g. `save(..)` -> `save_type(..)`) that let users specify the type of data to be saved/loaded (e.g. `UserCache`, `UserData`). Would expand support for non-config...
empty strings are treated as falsey and ignored. to fix, this line: ```js opts.indent = opts.indent || '\t'; ``` could look something like this: ```js opts.indent = (typeof opts.indent ==...
## Changes * Add `--trailing-slash` and `--no-trailing-slash` CLI flags, which correlate to `"trailingSlash": true` and `"trailingSlash": false` in `serve.json`. * Update affected tests. * Add tests for new CLI flags....
i've been using this pattern to clean up event listeners lately: ```typescript useEffect(() => { const abortController = new AbortController(); const { signal } = abortController; window.addEventListener( "click", (event) =>...