/pyjs/tests/test023.js

http://pyjamas.googlecode.com/ · JavaScript · 23 lines · 18 code · 5 blank · 0 comment · 3 complexity · 8273218f39fa5e953f0ae1d435517bac MD5 · raw file

  1. __CalendarProvider.prototype.__class__ = "CalendarProvider";
  2. function CalendarProvider() {
  3. return new __CalendarProvider();
  4. }
  5. function __CalendarProvider() {
  6. }
  7. __CalendarProvider.prototype.pushResults = function(acceptor, startRow, people) {
  8. var __person = people.__iter__();
  9. try {
  10. while (true) {
  11. var person = __person.next();
  12. }
  13. } catch (e) {
  14. if (e != StopIteration) {
  15. throw e;
  16. }
  17. }
  18. };