Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
bfe42a06
Commit
bfe42a06
authored
Jul 02, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo
who want to -> who wants to
parent
d7ebc782
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
22 deletions
+22
-22
dream/platform/src2/dream/InputModule_viewAddDocumentDialog.js
.../platform/src2/dream/InputModule_viewAddDocumentDialog.js
+3
-3
dream/platform/src2/dream/InputModule_viewInputList.js
dream/platform/src2/dream/InputModule_viewInputList.js
+4
-4
dream/platform/src2/dream/Input_viewDocumentManagement.js
dream/platform/src2/dream/Input_viewDocumentManagement.js
+6
-6
dream/platform/src2/dream/Input_viewResultList.js
dream/platform/src2/dream/Input_viewResultList.js
+3
-3
dream/platform/src2/dream/Input_viewSimulation.js
dream/platform/src2/dream/Input_viewSimulation.js
+3
-3
dream/platform/src2/dream/index.js
dream/platform/src2/dream/index.js
+3
-3
No files found.
dream/platform/src2/dream/InputModule_viewAddDocumentDialog.js
View file @
bfe42a06
...
@@ -122,8 +122,8 @@
...
@@ -122,8 +122,8 @@
.
declareAcquiredMethod
(
"
aq_post
"
,
"
jio_post
"
)
.
declareAcquiredMethod
(
"
aq_post
"
,
"
jio_post
"
)
.
declareAcquiredMethod
(
"
aq_putAttachment
"
,
"
jio_putAttachment
"
)
.
declareAcquiredMethod
(
"
aq_putAttachment
"
,
"
jio_putAttachment
"
)
.
declareAcquiredMethod
(
"
pleaseRedirectMyHash
"
,
"
pleaseRedirectMyHash
"
)
.
declareAcquiredMethod
(
"
pleaseRedirectMyHash
"
,
"
pleaseRedirectMyHash
"
)
.
declareAcquiredMethod
(
"
whoWantToDisplayThisDocument
"
,
.
declareAcquiredMethod
(
"
whoWant
s
ToDisplayThisDocument
"
,
"
whoWantToDisplayThisDocument
"
)
"
whoWant
s
ToDisplayThisDocument
"
)
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// declared methods
// declared methods
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
]);
]);
})
})
.
push
(
function
(
result
)
{
.
push
(
function
(
result
)
{
return
gadget
.
whoWantToDisplayThisDocument
(
result
.
id
);
return
gadget
.
whoWant
s
ToDisplayThisDocument
(
result
.
id
);
})
})
.
push
(
function
(
url
)
{
.
push
(
function
(
url
)
{
return
gadget
.
pleaseRedirectMyHash
(
url
);
return
gadget
.
pleaseRedirectMyHash
(
url
);
...
...
dream/platform/src2/dream/InputModule_viewInputList.js
View file @
bfe42a06
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
.
declareAcquiredMethod
(
"
aq_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
aq_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
pleaseRedirectMyHash
"
,
"
pleaseRedirectMyHash
"
)
.
declareAcquiredMethod
(
"
pleaseRedirectMyHash
"
,
"
pleaseRedirectMyHash
"
)
.
declareAcquiredMethod
(
"
whoWantToDisplayThisDocument
"
,
.
declareAcquiredMethod
(
"
whoWant
s
ToDisplayThisDocument
"
,
"
whoWantToDisplayThisDocument
"
)
"
whoWant
s
ToDisplayThisDocument
"
)
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// declared methods
// declared methods
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
for
(
i
=
0
;
i
<
document_list
.
data
.
total_rows
;
i
+=
1
)
{
for
(
i
=
0
;
i
<
document_list
.
data
.
total_rows
;
i
+=
1
)
{
doc
=
document_list
.
data
.
rows
[
i
];
doc
=
document_list
.
data
.
rows
[
i
];
result_list
.
push
(
RSVP
.
all
([
result_list
.
push
(
RSVP
.
all
([
gadget
.
whoWantToDisplayThisDocument
(
doc
.
id
),
gadget
.
whoWant
s
ToDisplayThisDocument
(
doc
.
id
),
doc
.
value
.
title
,
doc
.
value
.
title
,
doc
.
value
.
modified
doc
.
value
.
modified
]));
]));
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
// Create new doc if nothing exists
// Create new doc if nothing exists
if
(
document_list
.
length
===
0
)
{
if
(
document_list
.
length
===
0
)
{
return
gadget
return
gadget
.
whoWantToDisplayThisDocument
(
.
whoWant
s
ToDisplayThisDocument
(
undefined
,
undefined
,
"
view_fast_input
"
"
view_fast_input
"
)
)
...
...
dream/platform/src2/dream/Input_viewDocumentManagement.js
View file @
bfe42a06
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
});
});
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
whoWantToDisplayThisDocument
(
gadget
.
props
.
jio_key
);
return
gadget
.
whoWant
s
ToDisplayThisDocument
(
gadget
.
props
.
jio_key
);
})
})
.
push
(
function
(
url
)
{
.
push
(
function
(
url
)
{
return
gadget
.
pleaseRedirectMyHash
(
url
);
return
gadget
.
pleaseRedirectMyHash
(
url
);
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
});
});
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
whoWantToDisplayHome
();
return
gadget
.
whoWant
s
ToDisplayHome
();
})
})
.
push
(
function
(
url
)
{
.
push
(
function
(
url
)
{
return
gadget
.
pleaseRedirectMyHash
(
url
);
return
gadget
.
pleaseRedirectMyHash
(
url
);
...
@@ -114,10 +114,10 @@
...
@@ -114,10 +114,10 @@
.
declareAcquiredMethod
(
"
aq_get
"
,
"
jio_get
"
)
.
declareAcquiredMethod
(
"
aq_get
"
,
"
jio_get
"
)
.
declareAcquiredMethod
(
"
aq_ajax
"
,
"
jio_ajax
"
)
.
declareAcquiredMethod
(
"
aq_ajax
"
,
"
jio_ajax
"
)
.
declareAcquiredMethod
(
"
pleaseRedirectMyHash
"
,
"
pleaseRedirectMyHash
"
)
.
declareAcquiredMethod
(
"
pleaseRedirectMyHash
"
,
"
pleaseRedirectMyHash
"
)
.
declareAcquiredMethod
(
"
whoWantToDisplayThisDocument
"
,
.
declareAcquiredMethod
(
"
whoWant
s
ToDisplayThisDocument
"
,
"
whoWantToDisplayThisDocument
"
)
"
whoWant
s
ToDisplayThisDocument
"
)
.
declareAcquiredMethod
(
"
whoWantToDisplayHome
"
,
.
declareAcquiredMethod
(
"
whoWant
s
ToDisplayHome
"
,
"
whoWantToDisplayHome
"
)
"
whoWant
s
ToDisplayHome
"
)
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// declared methods
// declared methods
...
...
dream/platform/src2/dream/Input_viewResultList.js
View file @
bfe42a06
...
@@ -20,8 +20,8 @@
...
@@ -20,8 +20,8 @@
// Acquired methods
// Acquired methods
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
.
declareAcquiredMethod
(
"
aq_getAttachment
"
,
"
jio_getAttachment
"
)
.
declareAcquiredMethod
(
"
aq_getAttachment
"
,
"
jio_getAttachment
"
)
.
declareAcquiredMethod
(
"
whoWantToDisplayThisResult
"
,
.
declareAcquiredMethod
(
"
whoWant
s
ToDisplayThisResult
"
,
"
whoWantToDisplayThisResult
"
)
"
whoWant
s
ToDisplayThisResult
"
)
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// declared methods
// declared methods
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
i
;
i
;
for
(
i
=
0
;
i
<
document_list
.
length
;
i
+=
1
)
{
for
(
i
=
0
;
i
<
document_list
.
length
;
i
+=
1
)
{
result_list
.
push
(
RSVP
.
all
([
result_list
.
push
(
RSVP
.
all
([
gadget
.
whoWantToDisplayThisResult
(
gadget
.
props
.
jio_key
,
i
),
gadget
.
whoWant
s
ToDisplayThisResult
(
gadget
.
props
.
jio_key
,
i
),
document_list
[
i
].
score
,
document_list
[
i
].
score
,
document_list
[
i
].
key
document_list
[
i
].
key
]));
]));
...
...
dream/platform/src2/dream/Input_viewSimulation.js
View file @
bfe42a06
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
});
});
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
whoWantToDisplayThisDocument
(
return
gadget
.
whoWant
s
ToDisplayThisDocument
(
gadget
.
props
.
jio_key
,
gadget
.
props
.
jio_key
,
"
view_result
"
"
view_result
"
);
);
...
@@ -143,8 +143,8 @@
...
@@ -143,8 +143,8 @@
.
declareAcquiredMethod
(
"
aq_ajax
"
,
"
jio_ajax
"
)
.
declareAcquiredMethod
(
"
aq_ajax
"
,
"
jio_ajax
"
)
.
declareAcquiredMethod
(
"
aq_getConfigurationDict
"
,
"
getConfigurationDict
"
)
.
declareAcquiredMethod
(
"
aq_getConfigurationDict
"
,
"
getConfigurationDict
"
)
.
declareAcquiredMethod
(
"
pleaseRedirectMyHash
"
,
"
pleaseRedirectMyHash
"
)
.
declareAcquiredMethod
(
"
pleaseRedirectMyHash
"
,
"
pleaseRedirectMyHash
"
)
.
declareAcquiredMethod
(
"
whoWantToDisplayThisDocument
"
,
.
declareAcquiredMethod
(
"
whoWant
s
ToDisplayThisDocument
"
,
"
whoWantToDisplayThisDocument
"
)
"
whoWant
s
ToDisplayThisDocument
"
)
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// declared methods
// declared methods
...
...
dream/platform/src2/dream/index.js
View file @
bfe42a06
...
@@ -340,11 +340,11 @@
...
@@ -340,11 +340,11 @@
});
});
})
})
.
allowPublicAcquisition
(
"
whoWantToDisplayHome
"
,
function
()
{
.
allowPublicAcquisition
(
"
whoWant
s
ToDisplayHome
"
,
function
()
{
// Hey, I want to display some URL
// Hey, I want to display some URL
return
this
.
aq_pleasePublishMyState
({});
return
this
.
aq_pleasePublishMyState
({});
})
})
.
allowPublicAcquisition
(
"
whoWantToDisplayThisDocument
"
,
.
allowPublicAcquisition
(
"
whoWant
s
ToDisplayThisDocument
"
,
function
(
param_list
)
{
function
(
param_list
)
{
// Hey, I want to display some jIO document
// Hey, I want to display some jIO document
var
kw
=
{
var
kw
=
{
...
@@ -355,7 +355,7 @@
...
@@ -355,7 +355,7 @@
}
}
return
this
.
aq_pleasePublishMyState
(
kw
);
return
this
.
aq_pleasePublishMyState
(
kw
);
})
})
.
allowPublicAcquisition
(
"
whoWantToDisplayThisResult
"
,
.
allowPublicAcquisition
(
"
whoWant
s
ToDisplayThisResult
"
,
function
(
param_list
)
{
function
(
param_list
)
{
// Hey, I want to display some jIO document
// Hey, I want to display some jIO document
return
this
.
aq_pleasePublishMyState
({
return
this
.
aq_pleasePublishMyState
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment