详细说明: - 添加了V2版本的工作流页面和结果页面 - 更新了Serena记忆文件 - 添加了详细实施计划文档 - 优化了Vite配置 - 更新了项目文档CLAUDE.md - 构建了演示系统的dist版本 - 包含了exhibition-demo的完整依赖
20 lines
963 B
JavaScript
20 lines
963 B
JavaScript
Prism.languages.actionscript = Prism.languages.extend('javascript', {
|
|
'keyword': /\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,
|
|
'operator': /\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/
|
|
});
|
|
Prism.languages.actionscript['class-name'].alias = 'function';
|
|
|
|
// doesn't work with AS because AS is too complex
|
|
delete Prism.languages.actionscript['parameter'];
|
|
delete Prism.languages.actionscript['literal-property'];
|
|
|
|
if (Prism.languages.markup) {
|
|
Prism.languages.insertBefore('actionscript', 'string', {
|
|
'xml': {
|
|
pattern: /(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,
|
|
lookbehind: true,
|
|
inside: Prism.languages.markup
|
|
}
|
|
});
|
|
}
|