changed plugin API for more functionality
This commit is contained in:
parent
9ba76d7bc7
commit
2bb3156500
6 changed files with 15 additions and 12 deletions
|
@ -43,7 +43,9 @@
|
|||
}
|
||||
|
||||
[sender stringByEvaluatingJavaScriptFromString:[NSString stringWithFormat:
|
||||
@"setTimeout(function(){ twittia_instance = new Twittia('%@'); }, %@);", action, delay]];
|
||||
@"setTimeout(function(){ twittia_instance = new Twittia('%@'); \
|
||||
document.getElementsByTagName('body')[0].appendChild(twittia_instance.body); \
|
||||
setTimeout(function() { loadPlugin(controller.pluginURL()) }, 1); }, %@);", action, delay]];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Reference in a new issue