Thanks for your help, luke! Maybe it may sense to make a separate section like "Mixing Python with Javascript" examples on Pyjamas Examples page (http://pyjs.org/examples/) where other examples live now? Just a suggestion ...
On Mon, Jan 23, 2012 at 5:51 PM, lkcl luke <[email protected]> wrote: > ok... so did you find them? :) > > ./examples/jsobject/__main__.py: 'TestRect.py': > dict(options=['--include-js', 'jsrecttest.js']), > ./examples/jsobject/horribletest.py:class rectobj: > ./examples/jsobject/horribletest.py:def rect_area(self): > ./examples/jsobject/horribletest.py:def rect_add(self, rect): > ./examples/jsobject/horribletest.py: self.x += rect.x > ./examples/jsobject/horribletest.py: self.y += rect.y > ./examples/jsobject/horribletest.py:def rect_init(self, x, y): > ./examples/jsobject/horribletest.py:rectobj.__init__ = rect_init > ./examples/jsobject/horribletest.py:rectobj.add = rect_add > ./examples/jsobject/horribletest.py:rectobj.area = rect_area > ./examples/jsobject/horribletest.py:x = rectobj(5, 2) > ./examples/jsobject/horribletest.py:y = rectobj(2, 7) > > > all right. which cheeky bugger renamed my lovely examples to > horribletest.py??? > > here's where the raphael stuff lives: > > lkcl@teenymac:~/pyjamas$ find . -name "*.py" | grep raphael > ./examples/raphael/test.py > ./examples/raphael/__main__.py > ./examples/raphael/spinner.py > ./examples/raphael/events.py > ./examples/raphael/output/__init__.py > ./examples/raphael/graffle.py > ./examples/raphael/raphael_showcase.py > ./examples/raphael/__init__.py > ./library/pyjamas/raphael/raphael.py > ./library/pyjamas/raphael/__init__.py > ./library/pyjamas/graphael/__init__.py > lkcl@teenymac:~/pyjamas$ >

