Skip to content

Commit

Permalink
fix test code bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zbryikt committed Jan 19, 2022
1 parent b854214 commit f7709e3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions web/src/ls/index.ls
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ ldrs = new ldslider root: ld$.find(root1, '.ldrs',0), min: 0
ldrs.on \change, -> console.log 'changed:', it
ldrs.set 30

ldrs = new ldSlider root: ld$.find(root1,'.ldrs',1), min: 0
ldrs = new ldslider root: ld$.find(root1,'.ldrs',1), min: 0
ldrs.on \change, -> console.log 'changed:', it
ldrs.set 50

ldrs = new ldSlider root: ld$.find(root1,'.ldrs',2), min: 0, exp: {output: 0.9, input: 0.5}
ldrs = new ldslider root: ld$.find(root1,'.ldrs',2), min: 0, exp: {output: 0.9, input: 0.5}
ldrs.on \change, -> console.log 'changed:', it
ldrs.set 50

ldrs = new ldSlider root: ld$.find(root1,'.ldrs',3), min: 0, exp: {output: 0.9, input: 0.5}, limit-max: 60
ldrs = new ldslider root: ld$.find(root1,'.ldrs',3), min: 0, exp: {output: 0.9, input: 0.5}, limit-max: 60
ldrs.on \change, -> console.log 'changed:', it
ldrs.set 50

ldrs = new ldSlider root: ld$.find(root1,'.ldrs',4), min: 1, max: 11, step: 2
ldrs = new ldslider root: ld$.find(root1,'.ldrs',4), min: 1, max: 11, step: 2
ldrs.on \change, -> console.log 'changed:', it
ldrs.set 8

ldrs = new ldSlider root: ld$.find(root1,'.ldrs',5), min: 1, max: 11, step: 2
ldrs = new ldslider root: ld$.find(root1,'.ldrs',5), min: 1, max: 11, step: 2
ldrs.on \change, -> console.log 'changed:', it
ldrs.set 8

Expand Down
10 changes: 5 additions & 5 deletions web/static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ ldrs.on('change', function(it){
return console.log('changed:', it);
});
ldrs.set(30);
ldrs = new ldSlider({
ldrs = new ldslider({
root: ld$.find(root1, '.ldrs', 1),
min: 0
});
ldrs.on('change', function(it){
return console.log('changed:', it);
});
ldrs.set(50);
ldrs = new ldSlider({
ldrs = new ldslider({
root: ld$.find(root1, '.ldrs', 2),
min: 0,
exp: {
Expand All @@ -29,7 +29,7 @@ ldrs.on('change', function(it){
return console.log('changed:', it);
});
ldrs.set(50);
ldrs = new ldSlider({
ldrs = new ldslider({
root: ld$.find(root1, '.ldrs', 3),
min: 0,
exp: {
Expand All @@ -42,7 +42,7 @@ ldrs.on('change', function(it){
return console.log('changed:', it);
});
ldrs.set(50);
ldrs = new ldSlider({
ldrs = new ldslider({
root: ld$.find(root1, '.ldrs', 4),
min: 1,
max: 11,
Expand All @@ -52,7 +52,7 @@ ldrs.on('change', function(it){
return console.log('changed:', it);
});
ldrs.set(8);
ldrs = new ldSlider({
ldrs = new ldslider({
root: ld$.find(root1, '.ldrs', 5),
min: 1,
max: 11,
Expand Down
2 changes: 1 addition & 1 deletion web/static/js/index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f7709e3

Please sign in to comment.