Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix(testapp): make synchromization via function slightly faster
Browse files Browse the repository at this point in the history
The synchronization function which runs for the testapp should be
slightly faster.
  • Loading branch information
juliemr committed Oct 21, 2013
1 parent 20d8247 commit dbef262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testapp/app/js/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function AsyncCtrl($scope, $http, $timeout) {

$scope.slowFunction = function() {
$scope.slowFunctionStatus = 'pending...';
for (var i = 0, t = 0; i < 1000000000; ++i) {
for (var i = 0, t = 0; i < 500000000; ++i) {
t++;
}
$scope.slowFunctionStatus = 'done';
Expand Down

0 comments on commit dbef262

Please sign in to comment.