上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 69 下一页
摘要: 执行如下命令即可 git rm -r --cached ' ' 阅读全文
posted @ 2021-02-10 11:53 晨光曦微 阅读(1226) 评论(0) 推荐(0) 编辑
摘要: 设置——设置——在打开的标签(Preferences.sublime-settings-Uer)最下面加上以下两行: // The number of spaces a tab is considered equal to "tab_size": 2, // Set to true to inser 阅读全文
posted @ 2021-01-02 17:46 晨光曦微 阅读(151) 评论(0) 推荐(0) 编辑
摘要: JavaScript中的对象转数组Array.prototype.slice.call()方法详解 JavaScript中的Array.prototype.slice.call(arguments)能将有length属性的对象转换为数组(特别注意: 这个对象一定要有length属性). 但有一个例外 阅读全文
posted @ 2020-12-06 20:33 晨光曦微 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 首先安装nodejs,cmd运行 node -v 查看是否安装成功 然后:工具——编译系统——新建编译系统,在出来的文件内输入如下代码,最后保存,名字js或随便什么都可,位置默认即可 最后运行:ctrl+b即可出现结果 { "cmd": ["node", "$file"], "selector": 阅读全文
posted @ 2020-12-06 17:08 晨光曦微 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 配包括换行符在内的任意字符: [\s\S]* 或: [\d\D]* [\w\W]* 在文本文件里, 这个表达式可以匹配所有的英文 /[ -~]/ 这个表达式可以匹配所有的非英文(比如中文) /[^ -~]/ /是VI里用的,你在editplus或程序里不需要/ 阅读全文
posted @ 2020-12-05 11:06 晨光曦微 阅读(2252) 评论(0) 推荐(0) 编辑
摘要: 问题:复制stylus样式后报错意外缩进 原因:stylus中混用了tab(\t)和空格(' ')导致stylus无法正常编译 最简单解决:查看编辑器右下角一tab等于几个空格,然后把空格*n替换成\t即可 sublime解决: ctrl+shift+p 进入设置搜索框 输入:settings 然后 阅读全文
posted @ 2020-12-04 11:13 晨光曦微 阅读(930) 评论(0) 推荐(0) 编辑
摘要: 默认导出实际上是名为default的命名导出,因此可以将默认导出导入写为如下,以实现修改默认名: //default 是固定写法不能修改,as 后是你自己随意定义的新名称 import {default as Sample} from '../Sample.js';复制代码 阅读全文
posted @ 2020-12-02 12:23 晨光曦微 阅读(3277) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2020-11-25 20:45 晨光曦微 阅读(322) 评论(0) 推荐(0) 编辑
摘要: <style> /*动画和过度transition区别,动画调用就可以自动播放,transition需要有事件驱动才行*/ /*1.定义动画名为moveDemo*/ @keyframes moveDemo { /*动画开始也可:0%=from 100%=to*/ 0%{ transform: tra 阅读全文
posted @ 2020-11-25 20:05 晨光曦微 阅读(616) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="ch"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-11-25 17:44 晨光曦微 阅读(344) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 69 下一页