- 将所有图片路径从绝对路径改为使用 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>
25 lines
615 B
JavaScript
25 lines
615 B
JavaScript
'use strict';
|
|
|
|
var define = require('define-properties');
|
|
var util = require('util');
|
|
|
|
var implementation = require('./implementation');
|
|
var getPolyfill = require('./polyfill');
|
|
var polyfill = getPolyfill();
|
|
var shim = require('./shim');
|
|
|
|
/* eslint-disable no-unused-vars */
|
|
var boundPromisify = function promisify(orig) {
|
|
/* eslint-enable no-unused-vars */
|
|
return polyfill.apply(util, arguments);
|
|
};
|
|
define(boundPromisify, {
|
|
custom: polyfill.custom,
|
|
customPromisifyArgs: polyfill.customPromisifyArgs,
|
|
getPolyfill: getPolyfill,
|
|
implementation: implementation,
|
|
shim: shim
|
|
});
|
|
|
|
module.exports = boundPromisify;
|