Skip to content

Commit a7552f5

Browse files
author
TheHalcyonSavant
committed
missed timeout argument
The timeout parameter was useless before.
1 parent 7deec10 commit a7552f5

File tree

1 file changed

+1
-1
lines changed
  • 1820EN_02_Code/09 - testing - timeout test

1 file changed

+1
-1
lines changed

1820EN_02_Code/09 - testing - timeout test/timeout.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ angular.module('async', [])
44
say:function (name, timeout) {
55
$timeout(function(){
66
$log.info("Hello, " + name + "!");
7-
});
7+
}, timeout);
88
}
99
};
1010
});

0 commit comments

Comments
 (0)