From 1daf146c849a0a8dbd2b61b14218c9a39bdee3a7 Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Fri, 3 Feb 2012 17:22:48 -0800 Subject: added editor tab save while switching code view tabs, integrated new file dialog with io mediator to open the new file in a new tab Signed-off-by: Ananya Sen --- js/io/system/coreioapi.js | 1 + js/io/system/projectio.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'js/io/system') diff --git a/js/io/system/coreioapi.js b/js/io/system/coreioapi.js index 5379cbfc..115fbf64 100755 --- a/js/io/system/coreioapi.js +++ b/js/io/system/coreioapi.js @@ -1064,6 +1064,7 @@ exports.CoreIoApi = Montage.create(Component, { /*** * checks for valid uri pattern * also flags if Windows uri pattern and Unix uri patterns are mixed + * Todo: need to augment when files can be accessed via other protocols like http, ftp, ssh, etc. */ isValidUri:{ value: function(uri){ diff --git a/js/io/system/projectio.js b/js/io/system/projectio.js index ad4cf151..8e3230d7 100755 --- a/js/io/system/projectio.js +++ b/js/io/system/projectio.js @@ -10,7 +10,7 @@ var Montage = require("montage/core/core").Montage, FileIo = require("js/io/system/fileio").FileIo; //////////////////////////////////////////////////////////////////////// // -exports.ProjectIo = = Montage.create(Object.prototype, { +exports.ProjectIo = Montage.create(Object.prototype, { //////////////////////////////////////////////////////////////////// // newProject: { -- cgit v1.2.3