MYCOIN
MYCOIN
业务有很多需求希望模板中有一段区块原样输出,例如express做后端语言希望输出art模板~ [详情](https://github.com/mycoin/artTemplate/blob/master/demo/literal.html) ``` 模板 [[!-- {{each list as value i}} 索引 {{i + 1}} :{{value}} {{/each}} --]] 结果 {{each list as value i}} 索引 {{i + 1}} :{{value}} {{/each}} ```
USE assign-deep (https://www.npmjs.com/package/assign-deep) instand !
废话太多了。
```javascript juicer.set({ 'tag::operationOpen': '{%', 'tag::operationClose': '%}', 'tag::interpolateOpen': '{{', 'tag::interpolateClose': '}}', 'tag::noneencodeOpen': '{{=', 'tag::noneencodeClose': '}}', 'tag::commentOpen': '{#', 'tag::commentClose': '}', 'errorhandling': false, 'strip': false }); ``` 表达式 `{{item.userName}}` 或者 `{{=item.userName}}` 操作符 `{%if...
公共Hosts太多的原因 1、删除 `.SwitchHosts` 2、清空 `/private/etc/hosts` 3、删除 `~/Library/Saved Application State/net.oldj.switchhosts.savedState` 公共 hosts 一屏以内
确认你的 公共 hosts 不会太多,清空试试
发现原因了,大概是因为 `公共` 里面的内容太多~ 只保留几行是OK的· PS: V3.1 很赞
操作系统 MacOS 10.12 (16A323)
android, no translate when scrolling the page. e.g: ``` html .. ``` when scrolling this DIV, there is no animation on android...
same issue, another sample case: ./package.json ```json { "dependencies": { "@babel/core": "^7.14.8", "@babel/preset-env": "^7.14.8", "uglifyjs-webpack-plugin": "^2.2.0", "webpack": "^5.46.0", "webpack-cli": "^4.7.2" }, "scripts": { "build": "webpack" } } ``` index.js ```javascript...