temperature errors
This commit is contained in:
@@ -27,6 +27,12 @@ Meteor.zoblak.client = {
|
||||
}
|
||||
}
|
||||
|
||||
Meteor.zoblak.shared = {
|
||||
valid_temperature: function(value) {
|
||||
return (parseFloat(value) > -40 && parseFloat(value) < 50);
|
||||
}
|
||||
}
|
||||
|
||||
Meteor.zoblak.server = {
|
||||
controller_state: function(controller_id) {
|
||||
var result = {}
|
||||
|
||||
Reference in New Issue
Block a user