aboutsummaryrefslogtreecommitdiff
path: root/js/io/templates
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-15 17:04:39 -0800
committerValerio Virgillito2012-02-15 17:04:39 -0800
commitfe71cb9aa1700199c0089166ad54fc56eb760644 (patch)
treeb0c7c24b1f45a079e1c09312ca716e3d35aecad4 /js/io/templates
parent747616980cad14f0b65fbcc7f497ed9680a39d29 (diff)
parentd366c0bd1af6471511217ed574083e15059519b5 (diff)
downloadninja-fe71cb9aa1700199c0089166ad54fc56eb760644.tar.gz
Merge branch 'refs/heads/master' into components
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..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