切换导航条
此项目
正在载入...
登录
何书鹏
/
anttest
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
Karson
8 years ago
提交
0739f7def1878a41cab88e5b10f67706eb86033c
1 个父辈
18eeb825
修复validator的语言包BUG
隐藏空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
18 行增加
和
4 行删除
public/assets/js/backend.js
public/assets/js/frontend.js
public/assets/js/require-backend.min.js
public/assets/js/require-frontend.min.js
public/assets/js/backend.js
查看文件 @
0739f7d
...
...
@@ -308,7 +308,7 @@ define(['jquery', 'bootstrap', 'toastr', 'layer', 'lang', 'config'], function ($
});
},
init
:
function
()
{
//
后台的公用
代码
//
公共
代码
//点击包含.btn-dialog的元素时弹出dialog
$
(
document
).
on
(
'click'
,
'.btn-dialog'
,
function
(
e
)
{
Backend
.
api
.
open
(
Backend
.
api
.
fixurl
(
$
(
this
).
attr
(
'href'
)),
$
(
this
).
attr
(
'title'
));
...
...
@@ -328,6 +328,7 @@ define(['jquery', 'bootstrap', 'toastr', 'layer', 'lang', 'config'], function ($
window
.
Backend
=
Backend
;
//Toastr定义
Toastr
.
options
=
Backend
.
config
.
toastr
;
Backend
.
init
();
return
Backend
;
});
\ No newline at end of file
...
...
public/assets/js/frontend.js
查看文件 @
0739f7d
...
...
@@ -234,6 +234,10 @@ define(['jquery', 'bootstrap', 'toastr', 'layer', 'lang', 'config'], function ($
}
return
val
;
});
},
init
:
function
()
{
//公共代码
}
};
//将Layer暴露到全局中去
...
...
@@ -246,5 +250,7 @@ define(['jquery', 'bootstrap', 'toastr', 'layer', 'lang', 'config'], function ($
window
.
Frontend
=
Frontend
;
//Toastr定义
Toastr
.
options
=
Frontend
.
config
.
toastr
;
Frontend
.
init
();
return
Frontend
;
});
...
...
public/assets/js/require-backend.min.js
查看文件 @
0739f7d
...
...
@@ -2222,7 +2222,7 @@ define('backend',['jquery', 'bootstrap', 'toastr', 'layer', 'lang', 'config'], f
});
},
init
:
function
()
{
//
后台的公用
代码
//
公共
代码
//点击包含.btn-dialog的元素时弹出dialog
$
(
document
).
on
(
'click'
,
'.btn-dialog'
,
function
(
e
)
{
Backend
.
api
.
open
(
Backend
.
api
.
fixurl
(
$
(
this
).
attr
(
'href'
)),
$
(
this
).
attr
(
'title'
));
...
...
@@ -2242,7 +2242,8 @@ define('backend',['jquery', 'bootstrap', 'toastr', 'layer', 'lang', 'config'], f
window
.
Backend
=
Backend
;
//Toastr定义
Toastr
.
options
=
Backend
.
config
.
toastr
;
Backend
.
init
();
return
Backend
;
});
//! moment.js
...
...
public/assets/js/require-frontend.min.js
查看文件 @
0739f7d
...
...
@@ -2148,6 +2148,10 @@ define('frontend',['jquery', 'bootstrap', 'toastr', 'layer', 'lang', 'config'],
}
return
val
;
});
},
init
:
function
()
{
//公共代码
}
};
//将Layer暴露到全局中去
...
...
@@ -2160,6 +2164,8 @@ define('frontend',['jquery', 'bootstrap', 'toastr', 'layer', 'lang', 'config'],
window
.
Frontend
=
Frontend
;
//Toastr定义
Toastr
.
options
=
Frontend
.
config
.
toastr
;
Frontend
.
init
();
return
Frontend
;
});
...
...
请
注册
或
登录
后发表评论