Skip to content

Commit aa4e287

Browse files
committed
updating parameter to match docs
1 parent 344352d commit aa4e287

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

can-simple-observable.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ var CID = require('can-cid');
3838
* canReflect.offValue(obs, handler);
3939
* ```
4040
*/
41-
module.exports = function reflectiveValue(value) {
41+
module.exports = function reflectiveValue(initialValue) {
42+
var value = initialValue;
4243
var handlers = [];
4344

4445
var fn = function(newValue) {

0 commit comments

Comments
 (0)