aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/c/base-main-gtk.c8
-rw-r--r--template/javascript/snip-jquery-yql.js4
-rw-r--r--template/python/base-class.py4
-rw-r--r--template/python/snip-class.py4
4 files changed, 10 insertions, 10 deletions
diff --git a/template/c/base-main-gtk.c b/template/c/base-main-gtk.c
index 6944e21..1a4f18e 100644
--- a/template/c/base-main-gtk.c
+++ b/template/c/base-main-gtk.c
@@ -6,13 +6,13 @@ main(int argc, char* argv[]) {
gtk_init(&argc, &argv);
- window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
- gtk_window_set_title(GTK_WINDOW(window), "helloworld");
- g_signal_connect(G_OBJECT(window), "delete-event", gtk_main_quit, window);
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "helloworld");
+ g_signal_connect(G_OBJECT(window), "delete-event", gtk_main_quit, window);
{{_cursor_}}
- gtk_widget_show_all(window);
+ gtk_widget_show_all(window);
gtk_main();
return 0;
diff --git a/template/javascript/snip-jquery-yql.js b/template/javascript/snip-jquery-yql.js
index e5a800b..17245a0 100644
--- a/template/javascript/snip-jquery-yql.js
+++ b/template/javascript/snip-jquery-yql.js
@@ -1,5 +1,5 @@
$.getJSON("http://query.yahooapis.com/v1/public/yql?callback=?", {
- q: "{{_cursor_}}",
- format: "json"
+ q: "{{_cursor_}}",
+ format: "json"
}, function (data) {
});
diff --git a/template/python/base-class.py b/template/python/base-class.py
index a606982..9ea3b27 100644
--- a/template/python/base-class.py
+++ b/template/python/base-class.py
@@ -3,5 +3,5 @@
"""
class {{_expr_:substitute('{{_input_:name}}', '\w\+', '\u\0', '')}}:
- def __init__(self):
- {{_cursor_}}
+ def __init__(self):
+ {{_cursor_}}
diff --git a/template/python/snip-class.py b/template/python/snip-class.py
index 9ed48aa..c8ff23c 100644
--- a/template/python/snip-class.py
+++ b/template/python/snip-class.py
@@ -1,3 +1,3 @@
class {{_expr_:substitute('{{_input_:name}}', '\w\+', '\u\0', '')}}:
- def __init__(self):
- {{_cursor_}}
+ def __init__(self):
+ {{_cursor_}}