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
3aaaea79
Commit
3aaaea79
authored
May 08, 2014
by
campaign
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉冗余的view.js
parent
441a03ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
24 deletions
+0
-24
preference.js
src/adapter/preference.js
+0
-6
view.js
src/adapter/view.js
+0
-18
No files found.
src/adapter/preference.js
deleted
100644 → 0
View file @
441a03ad
KM
.
registerUI
(
'preference'
,
function
(
name
)
{
var
km
=
this
;
//读取偏好设置,设置参数
}
);
\ No newline at end of file
src/adapter/view.js
deleted
100644 → 0
View file @
441a03ad
KM
.
registerToolbarUI
(
'hand zoom-in zoom-out expand contract'
,
function
(
name
)
{
var
me
=
this
;
var
$btn
=
$
.
kmuibutton
(
{
icon
:
name
,
click
:
function
()
{
console
.
log
(
name
);
me
.
execCommand
(
name
);
},
title
:
this
.
getLang
(
'tooltips.'
)[
name
]
||
''
}
);
me
.
on
(
'interactchange'
,
function
()
{
var
state
=
me
.
queryCommandState
(
name
);
$btn
.
kmui
().
disabled
(
state
==
-
1
).
active
(
state
==
1
);
}
);
return
$btn
;
}
);
\ 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