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
6d3869e5
Commit
6d3869e5
authored
May 15, 2014
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localstorage readAsText "[object Uint8Array]" fix
parent
db707276
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/jio.storage/localstorage.js
src/jio.storage/localstorage.js
+1
-1
No files found.
src/jio.storage/localstorage.js
View file @
6d3869e5
...
@@ -314,7 +314,7 @@
...
@@ -314,7 +314,7 @@
for
(
i
=
0
;
i
<
binarystring
.
length
;
i
+=
1
)
{
for
(
i
=
0
;
i
<
binarystring
.
length
;
i
+=
1
)
{
uint8array
[
i
]
=
binarystring
.
charCodeAt
(
i
);
// mask `& 0xFF` not necessary
uint8array
[
i
]
=
binarystring
.
charCodeAt
(
i
);
// mask `& 0xFF` not necessary
}
}
uint8array
=
new
Blob
([
uint8array
],
{
uint8array
=
new
Blob
([
uint8array
.
buffer
],
{
"
type
"
:
doc
.
_attachments
[
param
.
_attachment
].
content_type
||
""
"
type
"
:
doc
.
_attachments
[
param
.
_attachment
].
content_type
||
""
});
});
...
...
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