Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
殷洪(管理员)
/
raphael
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b95d7324
authored
Jul 17, 2016
by
Tomas Alabes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small mods, nothing new
parent
eb43ba14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletions
+24
-1
dev/raphaelTest.html
+1
-1
dev/test/svg/dom.js
+23
-0
No files found.
dev/raphaelTest.html
View file @
b95d7324
...
...
@@ -20,7 +20,7 @@
// Initialize container when document is loaded
window
.
onload
=
function
()
{
require
([
'../raphael'
],
function
(
Raphael
)
{
var
paper
=
Raphael
(
0
,
0
,
640
,
720
,
"container"
);
var
paper
=
Raphael
(
"container"
,
640
,
720
);
paper
.
circle
(
100
,
100
,
100
).
attr
({
'fill'
:
'270-#FAE56B:0-#E56B6B:100'
});
//example
});
};
...
...
dev/test/svg/dom.js
View file @
b95d7324
...
...
@@ -292,4 +292,26 @@ test('toBack: when wrapped in <a>', function() {
equalNodePosition
(
x
.
node
,
paper
.
canvas
,
paper
.
defs
,
null
);
});
// Element#attrs
// -------------
// #x
// #y
// #rx
// #ry
// #transform
// #title
// #href
//keep adding and testing!
})();
\ No newline at end of file
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