Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
lib-ical
Commits
5aaa3801
Commit
5aaa3801
authored
Oct 11, 2015
by
Sebastian
Browse files
Ups
🙈
parent
b4abf0cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/_tools.js
View file @
5aaa3801
...
...
@@ -104,7 +104,6 @@ module.exports.toJSON = function(object, attributes, options) {
result
[
attribute
]
=
value
;
if
(
Array
.
isArray
(
result
[
attribute
]))
{
console
.
log
(
'
ARRAY!
'
);
var
newObj
=
[];
result
[
attribute
].
forEach
(
function
(
object
)
{
newObj
.
push
(
object
.
toJSON
());
...
...
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