aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAnanya Sen2012-02-01 12:05:31 -0800
committerAnanya Sen2012-02-01 12:05:31 -0800
commitfc4d32e0df064ecdbe7ed86aab25eeab58253032 (patch)
tree51adba6f45cef59cf8f4fbc89d438035727c3f1d /js
parentcac299b27fcd9e317a391236502f513f215e8d2d (diff)
downloadninja-fc4d32e0df064ecdbe7ed86aab25eeab58253032.tar.gz
convert fileUtils to a montage component so that it can access the coreioapi singleton.
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js')
-rw-r--r--js/io/utils/file-utils.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/io/utils/file-utils.js b/js/io/utils/file-utils.js
index 0a4d9687..784ecf59 100644
--- a/js/io/utils/file-utils.js
+++ b/js/io/utils/file-utils.js
@@ -4,7 +4,10 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
4(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. 4(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5</copyright> */ 5</copyright> */
6 6
7var FileUtils = exports.FileUtils = Object.create(Object.prototype, { 7var Montage = require("montage/core/core").Montage,
8 Component = require("montage/ui/component").Component;
9
10var FileUtils = exports.FileUtils = Montage.create(Component, {
8 11
9 /*** 12 /***
10 * checks for valid uri pattern 13 * checks for valid uri pattern