Skip to content

Commit e234649

Browse files
committed
small fix on docs
1 parent b314eb6 commit e234649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ember-metal/lib/run_loop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Ember.run.once = function(target, method) {
306306
var sayHi = function() { console.log('hi'); }
307307
Ember.run.scheduleOnce('afterRender', myContext, sayHi);
308308
Ember.run.scheduleOnce('afterRender', myContext, sayHi);
309-
// doFoo will only be executed once, in the afterRender queue of the RunLoop
309+
// sayHi will only be executed once, in the afterRender queue of the RunLoop
310310
});
311311
```
312312

0 commit comments

Comments
 (0)