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
07715d15
authored
Jul 11, 2014
by
Dmitry Baranovskiy
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #879 from supersheep/master
use cortex to manage dependencies
parents
5234aa33
fb1a087c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
3 deletions
+40
-3
.gitignore
+3
-2
cortex.json
+24
-0
dev/index.js
+9
-0
dev/raphael.core.js
+4
-1
No files found.
.gitignore
View file @
07715d15
node_modules
neurons
build
raphael.pro-min.js
raphael.pro.js
/.idea
\ No newline at end of file
/.idea
cortex.json
0 → 100644
View file @
07715d15
{
"name"
:
"raphael"
,
"version"
:
"2.1.2"
,
"description"
:
"JavaScript Vector Library"
,
"main"
:
"./dev"
,
"repository"
:
"git://github.com/DmitryBaranovskiy/raphael.git"
,
"keywords"
:
[
"vector"
,
"canvas"
,
"visualization"
],
"license"
:
"MIT"
,
"author"
:
{
"name"
:
"Dmitry Baranovskiy"
},
"bugs"
:
{
"url"
:
"http://github.com/DmitryBaranovskiy/raphael/issues"
},
"homepage"
:
"http://raphaeljs.com/"
,
"dependencies"
:
{
"eve"
:
"^0.5.0"
}
}
\ No newline at end of file
dev/index.js
0 → 100644
View file @
07715d15
var
core
=
require
(
'./raphael.core'
);
if
(
core
.
svg
){
require
(
'./raphael.svg'
);
}
if
(
core
.
vml
){
require
(
'./raphael.vml'
);
}
module
.
exports
=
core
;
\ No newline at end of file
dev/raphael.core.js
View file @
07715d15
...
...
@@ -16,7 +16,7 @@
}
else
{
// Browser globals (glob is window)
// Raphael adds itself to window
factory
(
glob
,
glob
.
eve
);
factory
(
glob
,
glob
.
eve
||
(
typeof
require
==
"function"
&&
require
(
'eve'
))
);
}
}(
this
,
function
(
window
,
eve
)
{
/*\
...
...
@@ -5376,5 +5376,8 @@
// Even with AMD, Raphael should be defined globally
oldRaphael
.
was
?
(
g
.
win
.
Raphael
=
R
)
:
(
Raphael
=
R
);
if
(
typeof
exports
==
"object"
){
module
.
exports
=
R
;
}
return
R
;
}));
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