This site requires Javascript and it's currently disabled. Now being redirected to linkedin profile.
angular.module('homepageController', []) .controller('HomepageCtrl', function ($scope, dean){ var line = 0; $scope.array = []; //Fill the array with empty values otherwise we start printing undefined var j = 0; while(j < 100){ $scope.array[j] = ""; j++; } function message(a, texttype, placeback){ $scope.array[a] = "$ "; $scope.array[a - 1] = placeback; $scope.array[a + 1] = '
>
textarea>
'; dean.type(texttype, function(text_to_type){ if(text_to_type == null){return} $scope.array[a] += text_to_type; }); } $scope.checkinput = function(clickedLink){ if(clickedLink){ var user_input = clickedLink; } else { var user_input = this.userinput; } dean.checkInput(user_input, function(validated_input){ if(validated_input){ message(line+= 2, output, user_input); } else { message(line += 2, output, user_input); } }); }; message(line, "Hello, I'm deanbot. I was created to tell you all about my master. You can always type
help
to find out more."); });
v0.95