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
b1604999
Commit
b1604999
authored
Dec 19, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add expose file
parent
0c98c607
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
Gruntfile.js
Gruntfile.js
+2
-2
expose.js
src/expose.js
+3
-0
kityminder.js
src/kityminder.js
+2
-2
No files found.
Gruntfile.js
View file @
b1604999
...
...
@@ -26,7 +26,7 @@ module.exports = function(grunt) {
' * ====================================================
\
n'
+
' */
\
n
\
n'
;
var
expose
=
'
\
nuse(
\'
kityminder
\'
);
\
n'
;
var
expose
=
'
\
nuse(
\'
expose
\'
);
\
n'
;
// Project configuration.
grunt
.
initConfig
({
...
...
@@ -42,7 +42,7 @@ module.exports = function(grunt) {
dependence
:
{
options
:
{
base
:
'src'
,
entrance
:
'
kityminder
'
entrance
:
'
expose
'
},
merge
:
{
files
:
[{
...
...
src/expose.js
0 → 100644
View file @
b1604999
define
(
'expose'
,
function
(
require
,
exports
,
module
)
{
module
.
exports
=
window
.
kityminder
=
require
(
'./kityminder'
);
});
\ No newline at end of file
src/kityminder.js
View file @
b1604999
...
...
@@ -8,7 +8,7 @@
*/
define
(
'kityminder'
,
function
(
require
,
exports
,
module
)
{
define
(
function
(
require
,
exports
,
module
)
{
var
kityminder
=
{
version
:
require
(
'./core/minder'
).
version
};
...
...
@@ -92,5 +92,5 @@ define('kityminder', function(require, exports, module) {
require
(
'./template/right'
);
require
(
'./template/fish-bone'
);
module
.
exports
=
window
.
kityminder
=
kityminder
;
module
.
exports
=
kityminder
;
});
\ 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