Sign in
apache
/
cordova-blackberry
/
refs/tags/v2.2.0.10
/
.
/
node_modules
/
zip
/
node_modules
/
q
/
examples
/
then1.js
blob: 4e5d5468858d7e96fbb9fd9688bcd42677a80c82 [
file
] [
log
] [
blame
]
var
Q
=
require
(
"q"
);
var
FS
=
require
(
"q-fs"
);
Q
.
when
(
FS
.
read
(
__filename
))
.
then
(
function
(
text
)
{
return
text
.
toUpperCase
();
}).
then
(
function
(
text
)
{
console
.
log
(
text
);
});