thermostat:使用 Javascript 在浏览器中创建恒温器界面

时间:2021-06-09 15:36:31
【文件属性】:
文件名称:thermostat:使用 Javascript 在浏览器中创建恒温器界面
文件大小:135KB
文件格式:ZIP
更新时间:2021-06-09 15:36:31
JavaScript 恒温器 重点学习领域 Javascript Jasmine 测试套件 查询 配对伙伴 在这项任务中,我与配对。 我们能够完成规范并添加一些额外的功能: 背景颜色随温度升高而改变阴影。 基本算法用于更改 RGB 值。 添加到页面的可视温度计也会相应地响应温度增量。 未来的增强 使页面完全响应 截图 入门 使用以下命令克隆 repo: git clone https://github.com/robertpulson/thermostat.git 然后使用cd thermostat导航到它。 要在浏览器中open specrunner.html测试套件,请输入open specrunner.html 。 open index.html运行页面,但注意不要让温度过高。 无知是福...
【文件预览】:
thermostat-master
----src()
--------Thermostat.js(926B)
--------thermostatController.js(1KB)
----SpecRunner.html(660B)
----screenshots()
--------Screen Shot 2015-04-27 at 14.44.20.png(46KB)
--------Screen Shot 2015-04-27 at 14.43.44.png(49KB)
--------Screen Shot 2015-04-27 at 14.44.00.png(49KB)
----spec()
--------ThermostatSpec.js(2KB)
----README.md(1KB)
----style.css(996B)
----index.html(925B)
----lib()
--------jasmine-2.2.0()
----MIT.LICENSE(1KB)

网友评论