Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 3 commits
  • 9 files changed
  • 0 commit comments
  • 2 contributors
View
1  template/html/snip-css.html
@@ -0,0 +1 @@
+<link rel="stylesheet" type="text/css" href="{{_cursor_}}">
View
1  template/html/snip-icon.html
@@ -0,0 +1 @@
+<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
View
1  template/html/snip-js.html
@@ -0,0 +1 @@
+<script src="{{_cursor_}}" type="text/javascript"></script>
View
4 template/java/base-class.java
@@ -1,11 +1,11 @@
/**
* {{_name_}}
*/
-public class {{_name_}} {
+public class {{_expr_:substitute('{{_name_}}', '\w\+', '\u\0', '')}} {
/**
* Constructor
*/
- public {{_name_}}() {
+ public {{_expr_:substitute('{{_name_}}', '\w\+', '\u\0', '')}}() {
{{_cursor_}}
}
}
View
3  template/java/snip-comment-block.java
@@ -0,0 +1,3 @@
+/*
+ * {{_cursor_}}
+ */
View
3  template/java/snip-doc-comment.java
@@ -0,0 +1,3 @@
+/**
+ * {{_cursor_}}
+ */
View
7 template/python/base-class.py
@@ -0,0 +1,7 @@
+"""
+{{_name_}}
+"""
+
+class {{_expr_:substitute('{{_input_:name}}', '\w\+', '\u\0', '')}}:
+ def __init__(self):
+ {{_cursor_}}
View
3  template/python/snip-class.py
@@ -0,0 +1,3 @@
+class {{_expr_:substitute('{{_input_:name}}', '\w\+', '\u\0', '')}}:
+ def __init__(self):
+ {{_cursor_}}
View
3  template/python/snip-doc.py
@@ -0,0 +1,3 @@
+"""
+{{_cursor_}}
+"""

No commit comments for this range

Something went wrong with that request. Please try again.