This commit is contained in:
libccy 2016-07-24 18:12:13 +08:00
parent 6d6d9f322c
commit a0f6df0555
4 changed files with 20005 additions and 3 deletions

19963
game/ace.js Normal file

File diff suppressed because it is too large Load Diff

View File

@ -21452,7 +21452,7 @@
}
(function(){
var page=ui.create.div('#create-extension');
var node=ui.create.div('.menubutton.large','创建扩展',start.firstChild,clickMode);
var node=ui.create.div('.menubutton.large','制作扩展',start.firstChild,clickMode);
node.link=page;
node.mode='create';
var pageboard=ui.create.div(page);
@ -21642,7 +21642,15 @@
}());
var dash2=ui.create.div('.hidden',page);
var dash3=ui.create.div('.hidden',page);
var dash4=ui.create.div('.hidden',page);
var dash4=(function(){
var page=ui.create.div('.hidden.menu-buttons');
ui.create.div('.config.more','<div style="transform:none;margin-right:3px">←</div>返回',page,function(){
page.hide();
pageboard.show();
});
return page;
}());
createDash('将','编辑武将',dash1);
createDash('卡','编辑卡牌',dash2);
createDash('技','编辑技能',dash3);

View File

@ -2,7 +2,8 @@ window.noname_update={
version:'1.8.19',
changeLog:[
'修bug',
'移除自定义武将功能、增加扩展制作向导'
'新字体',
'移除自定义武将、增加扩展制作工具',
],
files:{
global:[

30
test.html Normal file
View File

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>ACE in Action</title>
<style type="text/css" media="screen">
#editorx {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
</style>
</head>
<body>
<div id="editorx">function foo(items) {
var x = "All this is syntax highlighted";
return x;
}</div>
<script src="game/ace.js" type="text/javascript" charset="utf-8"></script>
<script>
var editor = ace.edit("editorx");
editor.setTheme("ace/theme/chrome");
editor.getSession().setUseWorker(false);
editor.getSession().setMode("ace/mode/javascript");
</script>
</body>
</html>