Files
ai-course/node_modules/.cache/babel-loader/86ee6dd1da9eafbb70b361dd8f504ae7050f3d18c639d72273e68ca35fbe4b76.json
KQL ce6aa207e9 fix: 修复图片路径以适配GitHub Pages base path
- 将所有图片路径从绝对路径改为使用 process.env.PUBLIC_URL
- 修复 HomePage.tsx 中所有图片引用
- 修复 CoursePage.tsx 中所有图片引用
- 确保图片在 GitHub Pages 上正确加载

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 09:24:45 +08:00

1 line
1.8 KiB
JSON

{"ast":null,"code":"const isPrimaryPointer = event => {\n if (event.pointerType === \"mouse\") {\n return typeof event.button !== \"number\" || event.button <= 0;\n } else {\n /**\n * isPrimary is true for all mice buttons, whereas every touch point\n * is regarded as its own input. So subsequent concurrent touch points\n * will be false.\n *\n * Specifically match against false here as incomplete versions of\n * PointerEvents in very old browser might have it set as undefined.\n */\n return event.isPrimary !== false;\n }\n};\nexport { isPrimaryPointer };","map":{"version":3,"names":["isPrimaryPointer","event","pointerType","button","isPrimary"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs"],"sourcesContent":["const isPrimaryPointer = (event) => {\n if (event.pointerType === \"mouse\") {\n return typeof event.button !== \"number\" || event.button <= 0;\n }\n else {\n /**\n * isPrimary is true for all mice buttons, whereas every touch point\n * is regarded as its own input. So subsequent concurrent touch points\n * will be false.\n *\n * Specifically match against false here as incomplete versions of\n * PointerEvents in very old browser might have it set as undefined.\n */\n return event.isPrimary !== false;\n }\n};\n\nexport { isPrimaryPointer };\n"],"mappings":"AAAA,MAAMA,gBAAgB,GAAIC,KAAK,IAAK;EAChC,IAAIA,KAAK,CAACC,WAAW,KAAK,OAAO,EAAE;IAC/B,OAAO,OAAOD,KAAK,CAACE,MAAM,KAAK,QAAQ,IAAIF,KAAK,CAACE,MAAM,IAAI,CAAC;EAChE,CAAC,MACI;IACD;AACR;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,OAAOF,KAAK,CAACG,SAAS,KAAK,KAAK;EACpC;AACJ,CAAC;AAED,SAASJ,gBAAgB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}