diff options
author | Nivesh Rajbhandari | 2012-02-20 11:14:44 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-20 11:14:44 -0800 |
commit | abf78e2d7a97d295ce5a1c425fd359d47379137e (patch) | |
tree | d08c91bd2aef31e6325e0b499b2ffc390018bec6 /js/io/templates | |
parent | e80a79bff57fecf3aa9b869d8ed2de5fd815287c (diff) | |
parent | e23708721a71ca4c71365f5f8e8ac7d6113926db (diff) | |
download | ninja-abf78e2d7a97d295ce5a1c425fd359d47379137e.tar.gz |
Merge branch 'refs/heads/ninja-internal' into ToolFixes
Diffstat (limited to 'js/io/templates')
-rw-r--r-- | js/io/templates/descriptor.json | 73 | ||||
-rwxr-xr-x | js/io/templates/files/css.txt | 2 | ||||
-rwxr-xr-x | js/io/templates/files/html.txt | 19 | ||||
-rwxr-xr-x | js/io/templates/files/js.txt | 1 | ||||
-rwxr-xr-x | js/io/templates/files/json.txt | 0 | ||||
-rwxr-xr-x | js/io/templates/files/php.txt | 3 | ||||
-rwxr-xr-x | js/io/templates/files/pl.txt | 1 | ||||
-rwxr-xr-x | js/io/templates/files/py.txt | 1 | ||||
-rwxr-xr-x | js/io/templates/files/rb.txt | 1 |
9 files changed, 101 insertions, 0 deletions
diff --git a/js/io/templates/descriptor.json b/js/io/templates/descriptor.json new file mode 100644 index 00000000..acc03979 --- /dev/null +++ b/js/io/templates/descriptor.json | |||
@@ -0,0 +1,73 @@ | |||
1 | { | ||
2 | "categories":{ | ||
3 | "children":["/"] | ||
4 | }, | ||
5 | "/":{ | ||
6 | "name":"Blank File", | ||
7 | "uri":"/", | ||
8 | "type":"directory", | ||
9 | "children":["js/io/templates/files/html.txt", "js/io/templates/files/js.txt", "js/io/templates/files/css.txt", "js/io/templates/files/json.txt", "js/io/templates/files/php.txt", "js/io/templates/files/pl.txt", "js/io/templates/files/py.txt", "js/io/templates/files/rb.txt"] | ||
10 | }, | ||
11 | "js/io/templates/files/html.txt":{ | ||
12 | "name":"HTML", | ||
13 | "uri":"js/io/templates/files/html.txt", | ||
14 | "type":"file", | ||
15 | "fileExtension":".html", | ||
16 | "children":["defaultTemplate"] | ||
17 | }, | ||
18 | "js/io/templates/files/js.txt":{ | ||
19 | "name":"JavaScript", | ||
20 | "uri":"js/io/templates/files/js.txt", | ||
21 | "type":"file", | ||
22 | "fileExtension":".js", | ||
23 | "children":["defaultTemplate"] | ||
24 | }, | ||
25 | "js/io/templates/files/css.txt":{ | ||
26 | "name":"Cascading Style Sheets", | ||
27 | "uri":"js/io/templates/files/css.txt", | ||
28 | "type":"file", | ||
29 | "fileExtension":".css", | ||
30 | "children":["defaultTemplate"] | ||
31 | }, | ||
32 | "js/io/templates/files/json.txt":{ | ||
33 | "name":"JSON", | ||
34 | "uri":"js/io/templates/files/json.txt", | ||
35 | "type":"file", | ||
36 | "fileExtension":".json", | ||
37 | "children":["defaultTemplate"] | ||
38 | }, | ||
39 | "js/io/templates/files/php.txt":{ | ||
40 | "name":"PHP", | ||
41 | "uri":"js/io/templates/files/php.txt", | ||
42 | "type":"file", | ||
43 | "fileExtension":".php", | ||
44 | "children":["defaultTemplate"] | ||
45 | }, | ||
46 | "js/io/templates/files/pl.txt":{ | ||
47 | "name":"Perl", | ||
48 | "uri":"js/io/templates/files/pl.txt", | ||
49 | "type":"file", | ||
50 | "fileExtension":".pl", | ||
51 | "children":["defaultTemplate"] | ||
52 | }, | ||
53 | "js/io/templates/files/py.txt":{ | ||
54 | "name":"Python", | ||
55 | "uri":"js/io/templates/files/py.txt", | ||
56 | "type":"file", | ||
57 | "fileExtension":".py", | ||
58 | "children":["defaultTemplate"] | ||
59 | }, | ||
60 | "js/io/templates/files/rb.txt":{ | ||
61 | "name":"Ruby", | ||
62 | "uri":"js/io/templates/files/rb.txt", | ||
63 | "type":"file", | ||
64 | "fileExtension":".rb", | ||
65 | "children":["defaultTemplate"] | ||
66 | }, | ||
67 | "defaultTemplate":{ | ||
68 | "name": "Basic", | ||
69 | "uri": "defaultTemplate", | ||
70 | "type":"file" | ||
71 | } | ||
72 | |||
73 | } \ No newline at end of file | ||
diff --git a/js/io/templates/files/css.txt b/js/io/templates/files/css.txt new file mode 100755 index 00000000..07da1f8a --- /dev/null +++ b/js/io/templates/files/css.txt | |||
@@ -0,0 +1,2 @@ | |||
1 | @charset "UTF-8"; | ||
2 | /* Created with Motorola Mobility Ninja */ | ||
diff --git a/js/io/templates/files/html.txt b/js/io/templates/files/html.txt new file mode 100755 index 00000000..15641348 --- /dev/null +++ b/js/io/templates/files/html.txt | |||
@@ -0,0 +1,19 @@ | |||
1 | <html> | ||
2 | |||
3 | <head> | ||
4 | |||
5 | <title>Untitled</title> | ||
6 | |||
7 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
8 | |||
9 | <meta name="generator" content="Motorola Mobility Ninja"> | ||
10 | |||
11 | <style type="text/css"> | ||
12 | </style> | ||
13 | |||
14 | </head> | ||
15 | |||
16 | <body> | ||
17 | </body> | ||
18 | |||
19 | </html> \ No newline at end of file | ||
diff --git a/js/io/templates/files/js.txt b/js/io/templates/files/js.txt new file mode 100755 index 00000000..0a6e79c2 --- /dev/null +++ b/js/io/templates/files/js.txt | |||
@@ -0,0 +1 @@ | |||
/* Created with Motorola Mobility Ninja */ | |||
diff --git a/js/io/templates/files/json.txt b/js/io/templates/files/json.txt new file mode 100755 index 00000000..e69de29b --- /dev/null +++ b/js/io/templates/files/json.txt | |||
diff --git a/js/io/templates/files/php.txt b/js/io/templates/files/php.txt new file mode 100755 index 00000000..95e76401 --- /dev/null +++ b/js/io/templates/files/php.txt | |||
@@ -0,0 +1,3 @@ | |||
1 | <?php | ||
2 | /* Created with Motorola Mobility Ninja */ | ||
3 | ?> \ No newline at end of file | ||
diff --git a/js/io/templates/files/pl.txt b/js/io/templates/files/pl.txt new file mode 100755 index 00000000..ee414436 --- /dev/null +++ b/js/io/templates/files/pl.txt | |||
@@ -0,0 +1 @@ | |||
# Created with Motorola Mobility Ninja | |||
diff --git a/js/io/templates/files/py.txt b/js/io/templates/files/py.txt new file mode 100755 index 00000000..abc89039 --- /dev/null +++ b/js/io/templates/files/py.txt | |||
@@ -0,0 +1 @@ | |||
# Created with Motorola Mobility Ninja \ No newline at end of file | |||
diff --git a/js/io/templates/files/rb.txt b/js/io/templates/files/rb.txt new file mode 100755 index 00000000..abc89039 --- /dev/null +++ b/js/io/templates/files/rb.txt | |||
@@ -0,0 +1 @@ | |||
# Created with Motorola Mobility Ninja \ No newline at end of file | |||