aboutsummaryrefslogtreecommitdiff
path: root/js/io/templates
diff options
context:
space:
mode:
Diffstat (limited to 'js/io/templates')
-rw-r--r--js/io/templates/descriptor.json73
-rwxr-xr-xjs/io/templates/files/css.txt2
-rwxr-xr-xjs/io/templates/files/html.txt19
-rwxr-xr-xjs/io/templates/files/js.txt1
-rwxr-xr-xjs/io/templates/files/json.txt0
-rwxr-xr-xjs/io/templates/files/php.txt3
-rwxr-xr-xjs/io/templates/files/pl.txt1
-rwxr-xr-xjs/io/templates/files/py.txt1
-rwxr-xr-xjs/io/templates/files/rb.txt1
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..d8fb7da4
--- /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":["files/html.txt", "files/js.txt", "files/css.txt", "files/json.txt", "files/php.txt", "files/pl.txt", "files/py.txt", "files/rb.txt"]
10 },
11 "files/html.txt":{
12 "name":"HTML",
13 "uri":"files/html.txt",
14 "type":"file",
15 "fileExtension":".html",
16 "children":["defaultTemplate"]
17 },
18 "files/js.txt":{
19 "name":"JavaScript",
20 "uri":"files/js.txt",
21 "type":"file",
22 "fileExtension":".js",
23 "children":["defaultTemplate"]
24 },
25 "files/css.txt":{
26 "name":"Cascading Style Sheets",
27 "uri":"files/css.txt",
28 "type":"file",
29 "fileExtension":".css",
30 "children":["defaultTemplate"]
31 },
32 "files/json.txt":{
33 "name":"JSON",
34 "uri":"files/json.txt",
35 "type":"file",
36 "fileExtension":".json",
37 "children":["defaultTemplate"]
38 },
39 "files/php.txt":{
40 "name":"PHP",
41 "uri":"files/php.txt",
42 "type":"file",
43 "fileExtension":".php",
44 "children":["defaultTemplate"]
45 },
46 "files/pl.txt":{
47 "name":"Perl",
48 "uri":"files/pl.txt",
49 "type":"file",
50 "fileExtension":".pl",
51 "children":["defaultTemplate"]
52 },
53 "files/py.txt":{
54 "name":"Python",
55 "uri":"files/py.txt",
56 "type":"file",
57 "fileExtension":".py",
58 "children":["defaultTemplate"]
59 },
60 "files/rb.txt":{
61 "name":"Ruby",
62 "uri":"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