Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
06182eb1
Commit
06182eb1
authored
Dec 02, 2016
by
张博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(png):
🐛
change export png\'s crossOrigin
parent
89c16d02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
png.js
src/protocol/png.js
+2
-2
No files found.
src/protocol/png.js
View file @
06182eb1
...
@@ -20,8 +20,8 @@ define(function(require, exports, module) {
...
@@ -20,8 +20,8 @@ define(function(require, exports, module) {
image
.
onerror
=
function
(
err
)
{
image
.
onerror
=
function
(
err
)
{
reject
(
err
);
reject
(
err
);
};
};
//image.setAttribute('crossOrigin', 'anonymous');
image
.
crossOrigin
=
''
;
image
.
crossOrigin
=
'
anonymous
'
;
image
.
src
=
info
.
url
;
image
.
src
=
info
.
url
;
});
});
}
}
...
...
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