front end controller performance improvements
This commit is contained in:
parent
ff135aa3e0
commit
73a66e3cef
1 changed files with 0 additions and 4 deletions
4
nodejs/public/javascripts/angularApp.js
vendored
4
nodejs/public/javascripts/angularApp.js
vendored
|
@ -47,10 +47,6 @@ app.factory('arduino', ['$http', function($http){
|
|||
app.controller('MainCtrl', ['$scope', 'arduino', function ($scope, arduino){
|
||||
|
||||
$scope.RCs = arduino.RCs;
|
||||
|
||||
for (var i = $scope.RCs.length - 1; i >= 0; i--) {
|
||||
$scope.RCs[i].state = false;
|
||||
}
|
||||
|
||||
$scope.sendRC = function(RC){
|
||||
arduino.sendRC(RC);
|
||||
|
|
Reference in a new issue