| 😄 | 😆 | 😊 | 😃 |
😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 | | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷
😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨
| 😄 | 😆 | 😊 | 😃 |
😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 | | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷
😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨
// 从全局捕获错误 | |
window.onerror = function (errMsg, scriptURI, lineNumber, columnNumber, errorObj) { | |
setTimeout(function () { | |
var rst = { | |
"错误信息:": errMsg, | |
"出错文件:": scriptURI, | |
"出错行号:": lineNumber, | |
"出错列号:": columnNumber, | |
"错误详情:": errorObj | |
}; |
// 创建一个立即执行的匿名函数 | |
// 该函数返回一个对象,包含你要暴露的属性 | |
var counter = (function(){ | |
var i = 0; | |
return { | |
get: function(){ | |
return i; | |
}, |
{ | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
"font_size": 10, | |
"ignored_packages": | |
[ | |
"Markdown", | |
"Vintage" | |
], | |
"material_theme_small_statusbar": true, | |
"material_theme_small_tab": true, |
[ | |
// 默认配置增强 | |
{ "keys": ["alt+shift+c"], "command": "clone_file" }, | |
{ "keys": ["ctrl+alt+shift+o"], "command": "prompt_open_folder" }, | |
{ "keys": ["ctrl+shift+o"], "command": "prompt_add_folder" }, | |
{ "keys": ["ctrl+alt+e"], "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"} }, | |
{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} }, | |
{ "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} }, | |
{ "keys": ["ctrl+up"], "command": "scroll_lines", "args": {"amount": 6.0 } }, | |
{ "keys": ["ctrl+down"], "command": "scroll_lines", "args": {"amount": -6.0 } }, |
[ | |
{ "keys": ["ctrl+alt+e"], "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"} } | |
] |
console.log('Hello World.'); |