LT-251: Making quick switch work according to series; Making quick switch responsive
This commit is contained in:
1 parent
e3fc56c0f4
commit
d8181a1a5e
6 files changed
+105
-56
No files matched your search
@@ -10,10 +10,30 @@ Template.registerHelper('bool', function(value) {
|
||||
return !!value;
|
||||
});
|
||||
|
||||
Template.registerHelper('equals', function(a, b) {
|
||||
Template.registerHelper('eq', function(a, b) {
|
||||
return a === b;
|
||||
});
|
||||
|
||||
Template.registerHelper('ne', function(a, b) {
|
||||
return a === b;
|
||||
});
|
||||
|
||||
Template.registerHelper('gt', function(a, b) {
|
||||
return a > b;
|
||||
});
|
||||
|
||||
Template.registerHelper('lt', function(a, b) {
|
||||
return a < b;
|
||||
});
|
||||
|
||||
Template.registerHelper('gte', function(a, b) {
|
||||
return a >= b;
|
||||
});
|
||||
|
||||
Template.registerHelper('lte', function(a, b) {
|
||||
return a <= b;
|
||||
});
|
||||
|
||||
Template.registerHelper('not', function(value) {
|
||||
return !value;
|
||||
});
|
||||
@@ -32,4 +52,4 @@ Template.registerHelper('or', function() {
|
||||
return value && (result = true);
|
||||
});
|
||||
return result;
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user