mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(delegates): fix typo
This commit is contained in:
3
js/angular/service/delegateService.js
vendored
3
js/angular/service/delegateService.js
vendored
@@ -1,4 +1,3 @@
|
||||
|
||||
function delegateService(methodNames) {
|
||||
return ['$log', function($log) {
|
||||
var delegate = this;
|
||||
@@ -69,7 +68,7 @@ function delegateService(methodNames) {
|
||||
'corresponding element with delegate-handle="'+this.handle+'"!' +
|
||||
methodName + '() was not called!\n' +
|
||||
'Possible cause: If you are calling ' + methodName + '() immediately, and ' +
|
||||
'your element with delegate-handle="messagesScroll" is a child of your ' +
|
||||
'your element with delegate-handle="' + methodName + '" is a child of your ' +
|
||||
'controller, then your element may not be compiled yet. Put a $timeout ' +
|
||||
'around your call to ' + methodName + '() and try again.'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user