diff options
author | Ananya Sen | 2012-02-01 12:05:31 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-01 12:05:31 -0800 |
commit | fc4d32e0df064ecdbe7ed86aab25eeab58253032 (patch) | |
tree | 51adba6f45cef59cf8f4fbc89d438035727c3f1d /js | |
parent | cac299b27fcd9e317a391236502f513f215e8d2d (diff) | |
download | ninja-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.js | 5 |
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 | ||
7 | var FileUtils = exports.FileUtils = Object.create(Object.prototype, { | 7 | var Montage = require("montage/core/core").Montage, |
8 | Component = require("montage/ui/component").Component; | ||
9 | |||
10 | var FileUtils = exports.FileUtils = Montage.create(Component, { | ||
8 | 11 | ||
9 | /*** | 12 | /*** |
10 | * checks for valid uri pattern | 13 | * checks for valid uri pattern |