Sign in
apache
/
cordova-blackberry
/
refs/tags/v2.2.0.10
/
.
/
node_modules
/
zip
/
node_modules
/
q
/
examples
/
view1.js
blob: be5d920b6514f86ccf2808aa6824001917ce3949 [
file
] [
log
] [
blame
]
// constructing a view of a function
// view information implicitly provided by fulfillment
var
Q
=
require
(
"q"
);
Q
.
ref
(
function
()
{
return
"called"
;
})
.
view
()
.
then
(
function
(
view
)
{
return
Q
(
view
())
.
when
(
console
.
log
);
})
.
end
()