diff options
author | Jose Antonio Marquez | 2012-02-01 23:31:36 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-01 23:31:36 -0800 |
commit | 33e655cbbb0816340c5a2e5d5cc0a6b0c7d9f53c (patch) | |
tree | 0bc03653f9739ff09d1e14ddf061a147b9dc383d /js/io/templates | |
parent | b354ea65f7c53ce05aff6a204853e666f084950f (diff) | |
download | ninja-33e655cbbb0816340c5a2e5d5cc0a6b0c7d9f53c.tar.gz |
File IO clean up and setting up
Cleaned up file IO templates and removed app-caching from Ninja since it would be needed. Setting up io-mediator to hook up to controller. Still need to address naming conventions and clean up more in the io directory.
Diffstat (limited to 'js/io/templates')
-rw-r--r-- | js/io/templates/descriptor.json | 51 | ||||
-rwxr-xr-x | js/io/templates/files/_bin/template.css | 0 | ||||
-rwxr-xr-x | js/io/templates/files/_bin/template.html | 0 | ||||
-rwxr-xr-x | js/io/templates/files/_bin/template.js | 0 | ||||
-rwxr-xr-x | js/io/templates/files/_bin/template.json | 0 | ||||
-rwxr-xr-x | js/io/templates/files/_bin/template.php | 0 | ||||
-rwxr-xr-x | js/io/templates/files/_bin/template.pl | 0 | ||||
-rwxr-xr-x | js/io/templates/files/_bin/template.py | 0 | ||||
-rwxr-xr-x | js/io/templates/files/_bin/template.rb | 0 | ||||
-rwxr-xr-x | js/io/templates/files/_bin/template.xml | 0 | ||||
-rwxr-xr-x | js/io/templates/files/_bin/xml.txt | 0 |
11 files changed, 51 insertions, 0 deletions
diff --git a/js/io/templates/descriptor.json b/js/io/templates/descriptor.json new file mode 100644 index 00000000..3d8391c5 --- /dev/null +++ b/js/io/templates/descriptor.json | |||
@@ -0,0 +1,51 @@ | |||
1 | { | ||
2 | "categories":{ | ||
3 | "children":["newFile"] | ||
4 | }, | ||
5 | "newFile":{ | ||
6 | "name":"Blank Template", | ||
7 | "uri":"/", | ||
8 | "type":"directory", | ||
9 | "children":["html", "js", "css", "json", "php", "pl", "py", "rb"] | ||
10 | }, | ||
11 | "html":{ | ||
12 | "name":"HTML", | ||
13 | "uri":"files/html.txt", | ||
14 | "type":"file" | ||
15 | }, | ||
16 | "js":{ | ||
17 | "name":"JavaScript", | ||
18 | "uri":"files/js.txt", | ||
19 | "type":"file" | ||
20 | }, | ||
21 | "css":{ | ||
22 | "name":"Cascading Style Sheets", | ||
23 | "uri":"files/css.txt", | ||
24 | "type":"file" | ||
25 | }, | ||
26 | "json":{ | ||
27 | "name":"JSON", | ||
28 | "uri":"files/json.txt", | ||
29 | "type":"file" | ||
30 | }, | ||
31 | "php":{ | ||
32 | "name":"PHP", | ||
33 | "uri":"files/php.txt", | ||
34 | "type":"file" | ||
35 | }, | ||
36 | "pl":{ | ||
37 | "name":"Perl", | ||
38 | "uri":"files/pl.txt", | ||
39 | "type":"file" | ||
40 | }, | ||
41 | "py":{ | ||
42 | "name":"Python", | ||
43 | "uri":"files/py.txt", | ||
44 | "type":"file" | ||
45 | }, | ||
46 | "rb":{ | ||
47 | "name":"Ruby", | ||
48 | "uri":"files/rb.txt", | ||
49 | "type":"file" | ||
50 | } | ||
51 | } \ No newline at end of file | ||
diff --git a/js/io/templates/files/_bin/template.css b/js/io/templates/files/_bin/template.css deleted file mode 100755 index e69de29b..00000000 --- a/js/io/templates/files/_bin/template.css +++ /dev/null | |||
diff --git a/js/io/templates/files/_bin/template.html b/js/io/templates/files/_bin/template.html deleted file mode 100755 index e69de29b..00000000 --- a/js/io/templates/files/_bin/template.html +++ /dev/null | |||
diff --git a/js/io/templates/files/_bin/template.js b/js/io/templates/files/_bin/template.js deleted file mode 100755 index e69de29b..00000000 --- a/js/io/templates/files/_bin/template.js +++ /dev/null | |||
diff --git a/js/io/templates/files/_bin/template.json b/js/io/templates/files/_bin/template.json deleted file mode 100755 index e69de29b..00000000 --- a/js/io/templates/files/_bin/template.json +++ /dev/null | |||
diff --git a/js/io/templates/files/_bin/template.php b/js/io/templates/files/_bin/template.php deleted file mode 100755 index e69de29b..00000000 --- a/js/io/templates/files/_bin/template.php +++ /dev/null | |||
diff --git a/js/io/templates/files/_bin/template.pl b/js/io/templates/files/_bin/template.pl deleted file mode 100755 index e69de29b..00000000 --- a/js/io/templates/files/_bin/template.pl +++ /dev/null | |||
diff --git a/js/io/templates/files/_bin/template.py b/js/io/templates/files/_bin/template.py deleted file mode 100755 index e69de29b..00000000 --- a/js/io/templates/files/_bin/template.py +++ /dev/null | |||
diff --git a/js/io/templates/files/_bin/template.rb b/js/io/templates/files/_bin/template.rb deleted file mode 100755 index e69de29b..00000000 --- a/js/io/templates/files/_bin/template.rb +++ /dev/null | |||
diff --git a/js/io/templates/files/_bin/template.xml b/js/io/templates/files/_bin/template.xml deleted file mode 100755 index e69de29b..00000000 --- a/js/io/templates/files/_bin/template.xml +++ /dev/null | |||
diff --git a/js/io/templates/files/_bin/xml.txt b/js/io/templates/files/_bin/xml.txt deleted file mode 100755 index e69de29b..00000000 --- a/js/io/templates/files/_bin/xml.txt +++ /dev/null | |||