Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio-main
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Hardik Juneja
jio-main
Commits
4077fe02
Commit
4077fe02
authored
Dec 21, 2012
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
console.log and some trailling spaces removed
parent
e77cf759
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
12 deletions
+1
-12
src/jio/commands/command.js
src/jio/commands/command.js
+0
-4
src/jio/commands/putAttachmentCommand.js
src/jio/commands/putAttachmentCommand.js
+0
-2
src/jio/jio.outro.js
src/jio/jio.outro.js
+1
-6
No files found.
src/jio/commands/command.js
View file @
4077fe02
...
@@ -26,10 +26,6 @@ var command = function(spec, my) {
...
@@ -26,10 +26,6 @@ var command = function(spec, my) {
// xxx fixed spec.content to spec.doc.content for PUTATTACHMENT
// xxx fixed spec.content to spec.doc.content for PUTATTACHMENT
// xxx need extra check for GET, otherwise spec.doc is undefined
// xxx need extra check for GET, otherwise spec.doc is undefined
console
.
log
(
"
COMMAND
"
);
console
.
log
(
spec
);
console
.
log
(
spec
.
doc
);
console
.
log
(
spec
.
doc
.
content
);
priv
.
content
=
spec
.
doc
===
undefined
?
undefined
:
priv
.
content
=
spec
.
doc
===
undefined
?
undefined
:
typeof
spec
.
doc
.
content
===
'
string
'
?
typeof
spec
.
doc
.
content
===
'
string
'
?
spec
.
doc
.
content
:
spec
.
doc
.
content
:
...
...
src/jio/commands/putAttachmentCommand.js
View file @
4077fe02
...
@@ -11,8 +11,6 @@ var putAttachmentCommand = function(spec, my) {
...
@@ -11,8 +11,6 @@ var putAttachmentCommand = function(spec, my) {
that
.
executeOn
=
function
(
storage
)
{
that
.
executeOn
=
function
(
storage
)
{
storage
.
putAttachment
(
that
);
storage
.
putAttachment
(
that
);
};
};
console
.
log
(
"
putAttachmentCommand
"
);
console
.
log
(
typeof
that
.
getContent
()
);
that
.
validateState
=
function
()
{
that
.
validateState
=
function
()
{
if
(
typeof
that
.
getContent
()
!==
'
string
'
)
{
if
(
typeof
that
.
getContent
()
!==
'
string
'
)
{
that
.
error
({
that
.
error
({
...
...
src/jio/jio.outro.js
View file @
4077fe02
...
@@ -147,11 +147,6 @@
...
@@ -147,11 +147,6 @@
};
};
priv
.
parametersToObject
=
function
(
list
,
default_options
)
{
priv
.
parametersToObject
=
function
(
list
,
default_options
)
{
console
.
log
(
"
aloha
"
);
console
.
log
(
"
what do we have
"
);
console
.
log
(
list
);
console
.
log
(
default_options
);
var
k
,
i
=
0
,
callbacks
=
[],
param
=
{
options
:{}};
var
k
,
i
=
0
,
callbacks
=
[],
param
=
{
options
:{}};
for
(
i
=
0
;
i
<
list
.
length
;
i
+=
1
)
{
for
(
i
=
0
;
i
<
list
.
length
;
i
+=
1
)
{
if
(
typeof
list
[
i
]
===
'
object
'
)
{
if
(
typeof
list
[
i
]
===
'
object
'
)
{
...
...
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