mirror of https://github.com/layui/laydate
添加seajs用例
parent
66a96f84cc
commit
58993471fb
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Demo2 for Seajs</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="height:300px;"></div>
|
||||
|
||||
<input type="text" id="J-xl">
|
||||
|
||||
<script type="text/javascript" src="//libs.useso.com/js/seajs/2.2.1/sea.js"></script>
|
||||
<script type="text/javascript" src="../laydate.dev.js"></script>
|
||||
<script type="text/javascript">
|
||||
seajs.use('./demo2');
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,7 @@
|
|||
define(function(){
|
||||
'use strict';
|
||||
|
||||
laydate({
|
||||
elem: '#J-xl'
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue