Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/misc/djangotasks/media/TodoApp.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def onKeyDown(self, sender, keyCode, modifiers):

def onKeyPress(self, sender, keyCode, modifiers):
"""
This functon handles the onKeyPress event, and will add the item in the text box to the list when the user presses the enter key. In the future, this method will also handle the auto complete feature.
This function handles the onKeyPress event, and will add the item in the text box to the list when the user presses the enter key. In the future, this method will also handle the auto complete feature.
"""
if keyCode == KeyboardListener.KEY_ENTER and sender == self.todoTextBox:
id = self.remote.addTask(sender.getText(),self)
Expand Down
2 changes: 1 addition & 1 deletion examples/misc/djangowanted/media/WebPageEdit.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def onKeyDown(self, sender, keyCode, modifiers):

def onKeyPress(self, sender, keyCode, modifiers):
"""
This functon handles the onKeyPress event, and will add the item in the text box to the list when the user presses the enter key. In the future, this method will also handle the auto complete feature.
This function handles the onKeyPress event, and will add the item in the text box to the list when the user presses the enter key. In the future, this method will also handle the auto complete feature.
"""
pass

Expand Down
2 changes: 1 addition & 1 deletion examples/misc/djangoweb/media/WebPageEdit.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def onKeyDown(self, sender, keyCode, modifiers):

def onKeyPress(self, sender, keyCode, modifiers):
"""
This functon handles the onKeyPress event, and will add the item in the text box to the list when the user presses the enter key. In the future, this method will also handle the auto complete feature.
This function handles the onKeyPress event, and will add the item in the text box to the list when the user presses the enter key. In the future, this method will also handle the auto complete feature.
"""
pass

Expand Down
2 changes: 1 addition & 1 deletion examples/misc/flaskexamples/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ More Fun with Asynchronicity
============================

By using Pyjamas, Flask, and Celery we can have multiple levels of
asynchonicity. There is an included example that shows how one can use
asynchronicity. There is an included example that shows how one can use
JSON-RPC from a pyjamas application to initiate an asynchonous job on
a Flask server. Since we are using RabbitMQ, we can off-load the
resource intensive RPC requests to machines other than the webserver.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def selectCell(self, row, col):
self.currentCol = col
self.getWidget(self.currentRow, self.currentCol).setFocus(True)
return
# Now we're moving to new postition, just make sure
# Now we're moving to new position, just make sure
# that the previous cells are filled in correctly
if not self.checkCell(self.currentRow, self.currentCol, True):
# Nope. We won't move
Expand Down
2 changes: 1 addition & 1 deletion examples/toggle/Toggle.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" testint our demo slider
""" testing our demo slider
"""
import pyjd # dummy in pyjs

Expand Down
2 changes: 1 addition & 1 deletion pyjs/builtin/pyjslib.py
Original file line number Diff line number Diff line change
Expand Up @@ -7694,7 +7694,7 @@ def _fill_number(self, spec, num, to_digits, to_prefix, fill_char,
out.append(num[to_remainder:])
if spec.n_rpadding:
out.append_multiple_char(fill_char[0], spec.n_rpadding)
#if complex, need to call twice - just retun the buffer
#if complex, need to call twice - just return the buffer
return out.build()

def _format_int_or_long(self, w_num, kind):
Expand Down
2 changes: 1 addition & 1 deletion pyjswidgets/dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def createHttpRequest():
#
# @param url URL to load
# @param onreadystatechange function to be used for onreadystatechange
# @param on_load_fn function to be called on succes, with parameters event, request
# @param on_load_fn function to be called on success, with parameters event, request
# @param async request mode
# @returns async == False: request object, async == True: None
#
Expand Down
2 changes: 1 addition & 1 deletion pyjswidgets/pyjamas/Timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def run(self):
The method that gets fired when the timer goes off.
The base class raises a NotImplementedError if it is not
overridden by a subclass or if Timer isn't instantiated with
the notify keyword arguement.
the notify keyword argument.
"""
raise NotImplementedError, ('''Timer.run() must be overridden or Timer
must be instantiated with notify keyword
Expand Down
2 changes: 1 addition & 1 deletion pyjswidgets/pyjamas/chart/GChart.py
Original file line number Diff line number Diff line change
Expand Up @@ -3825,7 +3825,7 @@ def isHoverFeedbackRenderingPanel(self, rpIndex):
* tests) when the canvas is re-inserted into the DOM.
*
* See TestGChart55.java and TestGChart55a.java for more
* info on the GWTCanvas bug that makes this code neccessary.
* info on the GWTCanvas bug that makes this code necessary.
*
* TODO: Implement technique of GWTCanvasIssue293.patch to
* override removeFromParent and store/restore innerHTML
Expand Down