新增: - backend/venv/ - Python 虚拟环境 - backend/start.sh - 启动脚本(使用虚拟环境) - backend/requirements.txt - 依赖列表 - .gitignore - 忽略虚拟环境和缓存文件 说明: - 每个项目使用独立虚拟环境 - 避免依赖冲突 - 启动脚本自动创建和激活虚拟环境
20 lines
623 B
JavaScript
20 lines
623 B
JavaScript
'use strict';
|
|
|
|
var shorthandSetter = require('../parsers').shorthandSetter;
|
|
var shorthandGetter = require('../parsers').shorthandGetter;
|
|
|
|
var shorthand_for = {
|
|
'background-color': require('./backgroundColor'),
|
|
'background-image': require('./backgroundImage'),
|
|
'background-repeat': require('./backgroundRepeat'),
|
|
'background-attachment': require('./backgroundAttachment'),
|
|
'background-position': require('./backgroundPosition'),
|
|
};
|
|
|
|
module.exports.definition = {
|
|
set: shorthandSetter('background', shorthand_for),
|
|
get: shorthandGetter('background', shorthand_for),
|
|
enumerable: true,
|
|
configurable: true,
|
|
};
|