Skip to content

Commit 0857410

Browse files
authored
Merge pull request #230 from zhangxinxu/develop
Develop
2 parents 6895b27 + 66579b4 commit 0857410

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@
4040
}
4141

4242
.home-body {
43-
top: 0; bottom: 64px;
43+
top: 0; bottom: 64px;
4444
}
4545
.home-body-const {
4646
height: 100%;
47-
position: relative;
47+
position: relative;
4848
}
4949
.home-header {
5050
top: 0; z-index: 1;
@@ -90,7 +90,7 @@
9090
text-shadow: 1px 1px 1px rgba(0,0,0,.35);
9191
}
9292
.home-slam > h1 {
93-
font-size: 140px;
93+
font-size: 140px;
9494
}
9595
.home-slam > h2 {
9696
font-size: 40px; font-weight: 400;
@@ -108,10 +108,10 @@
108108
<div class="constr">
109109
<div class="home-nav">
110110
<h3 class="home-nav-list active"><a href="/" class="home-nav-a">首页</a></h3>
111-
<h3 class="home-nav-list"><a href="http://rawgit.com/zhangxinxu/mobilebone/develop/docs/index.html#&amp;indexPage" class="home-nav-a" target="_blank">文档</a></h3>
111+
<h3 class="home-nav-list"><a href="http://www.zhangxinxu.com/GitHub/mobilebone/docs/#&indexPage" class="home-nav-a" target="_blank">文档</a></h3>
112112
<h3 class="home-nav-list"><a href="https://github.com/zhangxinxu/mobilebone/releases" class="home-nav-a" target="_blank">下载</a></h3>
113113
<h3 class="home-nav-list"><a href="http://www.zhangxinxu.com/wordpress/?p=4381
114-
" class="home-nav-a" target="_blank">博客</a></h3>
114+
" class="home-nav-a" target="_blank">博客</a></h3>
115115
<h3 class="home-nav-list home-nav-github"><a href="https://github.com/zhangxinxu/mobilebone" class="home-nav-a" target="_blank">共同建设</a></h3>
116116
</div>
117117
</div>
@@ -122,7 +122,7 @@ <h3 class="home-nav-list home-nav-github"><a href="https://github.com/zhangxinxu
122122
<h1>Mobilebone</h1>
123123
<h2>mobile移动端,PC桌面端页面无刷新过场JS骨架,简单、专注!</h2>
124124
<div class="mt30 pt30 pb30">
125-
<a href="http://rawgit.com/zhangxinxu/mobilebone/develop/docs/index.html#&amp;indexPage" target="_blank" class="btn btn-blue">API中文文档</a> <a href="https://github.com/zhangxinxu/mobilebone/archive/master.zip" target="_blank" class="btn btn-blue ml20">下载(.zip)</a>
125+
<a href="http://www.zhangxinxu.com/GitHub/mobilebone/docs/#&indexPage" target="_blank" class="btn btn-blue">API中文文档</a> <a href="https://github.com/zhangxinxu/mobilebone/archive/master.zip" target="_blank" class="btn btn-blue ml20">下载(.zip)</a>
126126
</div>
127127
</div>
128128
</div>

src/mobilebone.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
*
4747
* @type string
4848
**/
49-
Mobilebone.VERSION = '2.7.0';
49+
Mobilebone.VERSION = '2.7.1';
5050

5151
/**
5252
* Whether catch attribute of href from element with tag 'a'
@@ -817,7 +817,7 @@
817817
Mobilebone.getFunction = function(keys) {
818818
if (typeof keys != "string") return;
819819
// eg. 'globalObject.functionName'
820-
var fun = root, arrKey = keys.split(".");
820+
var fun = Mobilebone.rootTransition, arrKey = keys.split(".");
821821
for (var index=0; index<arrKey.length; index+=1) {
822822
if (!(fun = fun[arrKey[index]])) {
823823
break;

0 commit comments

Comments
 (0)