/
kopython
/
_hyperscript
Обзор
Документация
Войти
/
kopython
/
_hyperscript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/features/set.js
19 строк
404 B
carson
remove `let` command/feature for now :(
15 ноя 2021, 01:22
15 ноя 2021, 01:22
c8f1f92
Код
Авторство
О чём код?
describe("the set feature", function () { beforeEach(function () { clearWorkArea(); }); afterEach(function () { clearWorkArea(); }); it("can define variables with let at the element level", function (done) { var div = make( "<div _='set :foo to 42 " + " on click put :foo into my innerHTML'></div>" ); div.click(); div.innerHTML.should.equal("42"); done(); }); });