mirror of
https://github.com/Ekokumppanit/Bicyclesim.git
synced 2026-02-19 16:49:06 +00:00
Upgrade Meteor. Use keyboard for speed input.
This commit is contained in:
@@ -10,12 +10,12 @@ helpers = {
|
||||
}
|
||||
};
|
||||
|
||||
var activateInput = function (input) {
|
||||
activateInput = function (input) {
|
||||
input.focus();
|
||||
input.select();
|
||||
};
|
||||
|
||||
var okCancelEvents = function (selector, callbacks) {
|
||||
okCancelEvents = function (selector, callbacks) {
|
||||
var ok = callbacks.ok || function () {};
|
||||
var cancel = callbacks.cancel || function () {};
|
||||
|
||||
@@ -38,9 +38,3 @@ var okCancelEvents = function (selector, callbacks) {
|
||||
};
|
||||
return events;
|
||||
};
|
||||
|
||||
// From: https://github.com/tmeasday/meteor-deps-extensions
|
||||
Meteor.deps.isolate = function(fn) {
|
||||
var context = new Meteor.deps.Context();
|
||||
return context.run(fn);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user