Skip to content

Location file syntax #694

Closed
pyjsorg opened this Issue Apr 27, 2012 · 1 comment

1 participant

@pyjsorg
pyjsorg commented Apr 27, 2012

What steps will reproduce the problem?
1. Compile the pyjamas examples

What is the expected output? What do you see instead?
[...]
File "compiler/transformer.py", line 48, in parseFile
File "compiler/transformer.py", line 52, in parse
File "compiler/transformer.py", line 129, in parsesuite
File "<string>", line 2
class Location():

What version of the product are you using? On what operating system?
PyJamas SVN in Ubuntu Linux [feisty].

SVN Patch to solve this problem:

Index: library/Location.py

--- library/Location.py (revision 279)
+++ library/Location.py (working copy)

@@ -1,5 +1,4 @@

-class Location():
+class Location:
"""
Retrieve this class by calling Window.getLocation().

Original issue: http://code.google.com/p/pyjamas/issues/detail?id=22 (March 18, 2007 03:06:12)

@pyjsorg pyjsorg closed this Apr 27, 2012
@pyjsorg
pyjsorg commented Apr 27, 2012

From dob...@gmail.com on March 27, 2007 18:19:02:
Fixed.

@pyjsorg pyjsorg pushed a commit that referenced this issue Apr 29, 2012
Luke Leighton fix canvasprocessing - also remove processing.js and use download tri…
…ck. #694
4b2b685
@pyjsorg pyjsorg pushed a commit that referenced this issue Apr 29, 2012
@yangofzeal yangofzeal Issue #694: added to CHANGELOG 8e3a616
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.