From b680af490b9736d16ed491c999af3f06d78a7d18 Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Thu, 26 Apr 2012 12:26:31 -0700 Subject: IKNINJA-1551 - added editor support for other file types Signed-off-by: Ananya Sen --- js/io/templates/descriptor.json | 9 ++++++++- js/io/templates/files/xml.txt | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 js/io/templates/files/xml.txt (limited to 'js/io') diff --git a/js/io/templates/descriptor.json b/js/io/templates/descriptor.json index acc03979..21c4b58c 100644 --- a/js/io/templates/descriptor.json +++ b/js/io/templates/descriptor.json @@ -6,7 +6,7 @@ "name":"Blank File", "uri":"/", "type":"directory", - "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"] + "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", "js/io/templates/files/xml.txt"] }, "js/io/templates/files/html.txt":{ "name":"HTML", @@ -64,6 +64,13 @@ "fileExtension":".rb", "children":["defaultTemplate"] }, + "js/io/templates/files/xml.txt":{ + "name":"XML", + "uri":"js/io/templates/files/xml.txt", + "type":"file", + "fileExtension":".xml", + "children":["defaultTemplate"] + }, "defaultTemplate":{ "name": "Basic", "uri": "defaultTemplate", diff --git a/js/io/templates/files/xml.txt b/js/io/templates/files/xml.txt new file mode 100644 index 00000000..8906a78b --- /dev/null +++ b/js/io/templates/files/xml.txt @@ -0,0 +1 @@ + \ No newline at end of file -- cgit v1.2.3 From f65a9fa92819580039edf9ccc54ab21512ee89b4 Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Thu, 3 May 2012 11:19:55 -0700 Subject: use data-montage-id instead of id in template Signed-off-by: Ananya Sen --- .../file-input-field.reel/file-input-field.html | 6 ++-- .../picker-navigator.reel/picker-navigator.html | 34 +++++++++++----------- .../new-file-location.reel/new-file-location.html | 10 +++---- .../new-file-options-navigator.html | 14 ++++----- js/io/ui/save-as-dialog.reel/save-as-dialog.html | 12 ++++---- 5 files changed, 38 insertions(+), 38 deletions(-) (limited to 'js/io') diff --git a/js/io/ui/file-picker/file-input-field.reel/file-input-field.html b/js/io/ui/file-picker/file-input-field.reel/file-input-field.html index 9113eb80..c3209654 100755 --- a/js/io/ui/file-picker/file-input-field.reel/file-input-field.html +++ b/js/io/ui/file-picker/file-input-field.reel/file-input-field.html @@ -30,9 +30,9 @@ -
- - +
+ +
\ No newline at end of file diff --git a/js/io/ui/file-picker/picker-navigator.reel/picker-navigator.html b/js/io/ui/file-picker/picker-navigator.reel/picker-navigator.html index 7100a738..34d6b53a 100755 --- a/js/io/ui/file-picker/picker-navigator.reel/picker-navigator.html +++ b/js/io/ui/file-picker/picker-navigator.reel/picker-navigator.html @@ -38,41 +38,41 @@ -