Correct templating in dist file
This commit is contained in:
parent
8e86b76a71
commit
32126d341c
|
@ -24,7 +24,7 @@
|
||||||
ctor.prototype = func.prototype;
|
ctor.prototype = func.prototype;
|
||||||
var child = new ctor, result = func.apply(child, args);
|
var child = new ctor, result = func.apply(child, args);
|
||||||
return Object(result) === result ? result : child;
|
return Object(result) === result ? result : child;
|
||||||
})(Cylon.Adaptors.Keyboard, args, function(){});
|
})(Cylon.Adaptors.<%= adaptorClassName %>, args, function(){});
|
||||||
},
|
},
|
||||||
driver: function() {
|
driver: function() {
|
||||||
var args;
|
var args;
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
ctor.prototype = func.prototype;
|
ctor.prototype = func.prototype;
|
||||||
var child = new ctor, result = func.apply(child, args);
|
var child = new ctor, result = func.apply(child, args);
|
||||||
return Object(result) === result ? result : child;
|
return Object(result) === result ? result : child;
|
||||||
})(Cylon.Drivers.Keyboard, args, function(){});
|
})(Cylon.Drivers.<%= adaptorClassName %>, args, function(){});
|
||||||
},
|
},
|
||||||
register: function(robot) {}
|
register: function(robot) {}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue