/pyjs/tests/test027.js

http://pyjamas.googlecode.com/ · JavaScript · 15 lines · 15 code · 0 blank · 0 comment · 1 complexity · beffdf73ac1896aea29eb3c8c60a3c05 MD5 · raw file

  1. __RowDataAcceptorImpl.prototype.__class__ = "RowDataAcceptorImpl";
  2. function RowDataAcceptorImpl() {
  3. return new __RowDataAcceptorImpl();
  4. }
  5. function __RowDataAcceptorImpl() {
  6. }
  7. __RowDataAcceptorImpl.prototype.accept = function(startRow, data) {
  8. var srcRowIndex = 0;
  9. var srcRowCount = 5;
  10. var destRowIndex = 1;
  11. while ((srcRowIndex < srcRowCount)) {
  12. srcRowIndex += 1;
  13. destRowIndex += 1;
  14. }
  15. };