Merge pull request #296 from GunioRobot/clean

Hi! I cleaned up your code for you!
This commit is contained in:
Mathieu Virbel 2011-10-30 15:18:24 -07:00
commit 324a1fff0b
8 changed files with 14 additions and 14 deletions

View File

@ -2,7 +2,7 @@ PYTHON = python
CHECKSCRIPT = kivy/tools/pep8checker/pep8kivy.py
KIVY_DIR = kivy/
.PHONY: build force mesabuild pdf style stylereport hook test batchtest cover clean distclean
.PHONY: build force mesabuild pdf style stylereport hook test batchtest cover clean distclean
build:
$(PYTHON) setup.py build_ext --inplace

View File

@ -2,7 +2,7 @@
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =

View File

@ -5,9 +5,9 @@
src: local('Nobile'), url('nobile.ttf') format('truetype');
}
body {
body {
margin: 0;
padding: 0;
padding: 0;
font-family: 'Nobile', Arial, sans-serif;
font-size: 13px;
background: #000000 url('bg.jpg') top left repeat;
@ -56,7 +56,7 @@ a.selected {
/** Header
*/
#header {
#header {
width: 250px;
float: left;
}

View File

@ -58,7 +58,7 @@
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/
jQuery.cookie = function (key, value, options) {
// key and at least value given, set cookie...
if (arguments.length > 1 && String(value) !== "[object Object]") {
options = jQuery.extend({}, options);
@ -71,9 +71,9 @@ jQuery.cookie = function (key, value, options) {
var days = options.expires, t = options.expires = new Date();
t.setDate(t.getDate() + days);
}
value = String(value);
return (document.cookie = [
encodeURIComponent(key), '=',
options.raw ? value : encodeURIComponent(value),

View File

@ -23,7 +23,7 @@ Using Twisted inside Kivy
usual, unless you specifically want the twisted reactor to handle the
signals (e.g. SIGINT).
The kivy examples include a small example for a twisted server and client.
The server app has a simple twisted server running and log any messages.
@ -33,7 +33,7 @@ from the twisted docs, which you can find here:
- http://twistedmatrix.com/documents/current/core/examples/simpleserv.py
- http://twistedmatrix.com/documents/current/core/examples/simpleclient.py
To try the example run echo_server_app.py first, and then launch
To try the example run echo_server_app.py first, and then launch
echo_client_app.py. The server will, reply with simple echo messages to
anything the client app sends, when you hit enter after typing something
in the textbox.

View File

@ -40,7 +40,7 @@ To run the application, follow the instructions for your operating system:
Windows
Follow the instructions for :ref:`running Kivy application on Windows <windows-run-app>`::
$ python main.py
# or
C:\appdir>kivy.bat main.py

View File

@ -1,4 +1,4 @@
{
{
"title": "Qwerty",
"description": "A classical US Keyboard",
"cols": 15,

View File

@ -28,11 +28,11 @@ if version >= 508 || !exists("did_python_syn_inits")
else
command -nargs=+ HiLink hi def link <args>
endif
HiLink kivyPreproc PreProc
HiLink kivyComment Comment
HiLink kivyRule Function
HiLink kivyIdent Statement
HiLink kivyAttribute Label
HiLink kivyAttribute Label
delcommand HiLink
endif