Skip to content

Commit 132c1f4

Browse files
author
唐斌
committed
upd doc #122
添加 jquery 最低版本要求说明
1 parent 944db04 commit 132c1f4

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

doc/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,11 @@ <h3>2.作为 RequireJS 或 SeaJS 的模块引入</h3>
387387

388388
<p><strong>注意:</strong>内部依赖全局模块<code>require('jquery')</code>,请注意全局模块配置是否正确。<a href="../test/show.html">seajs加载示例</a></p>
389389

390-
<blockquote><p>如果需要支持 <a href="#quickref-iframe">iframe</a> 内容与拖拽,请引用加强版 dialog-plus.js</p></blockquote>
390+
<blockquote><ul>
391+
<li>如果需要支持 <a href="#quickref-iframe">iframe</a> 内容与拖拽,请引用加强版 dialog-plus.js</li>
392+
<li>jquery 最低要求版本为<code>1.7+</code></li>
393+
</ul>
394+
</blockquote>
391395

392396
<h2><span id="quickref">快速参考</span></h2>
393397

@@ -1247,8 +1251,6 @@ <h3><span id="property-open">open</span></h3>
12471251

12481252
<p>判断对话框是否被打开。</p>
12491253

1250-
<p>这是一个只读方法。</p>
1251-
12521254
<h3><span id="property-returnValue">returnValue</span></h3>
12531255

12541256
<p>对话框返回值。</p>

doc/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ var dialog = require('./src/dialog');
105105

106106
**注意:**内部依赖全局模块``require('jquery')``,请注意全局模块配置是否正确。[seajs加载示例](../test/show.html)
107107

108-
> 如果需要支持 [iframe](#quickref-iframe) 内容与拖拽,请引用加强版 dialog-plus.js
108+
> * 如果需要支持 [iframe](#quickref-iframe) 内容与拖拽,请引用加强版 dialog-plus.js
109+
> * jquery 最低要求版本为``1.7+``
109110
110111
## [快速参考](id:quickref)
111112

@@ -973,8 +974,6 @@ dialog.get('id-demo').title('8888888888');
973974

974975
判断对话框是否被打开。
975976

976-
这是一个只读方法。
977-
978977
### [returnValue](id:property-returnValue)
979978

980979
对话框返回值。

0 commit comments

Comments
 (0)