Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RuochenLyu committed Oct 11, 2014
1 parent 5bec730 commit 418fc59
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ simple-gallery
我们需要在页面的脚本里初始化 simple-gallery:

```javascript
simple.tree({
simple.gallery({
el: null, // * 必须(当前图片)
itemCls: "", // 需要预览图片的 Class 名称
wrapCls: "" // 需要预览图片上层元素的 Class 名称,可成组预览图片
Expand All @@ -45,4 +45,3 @@ simple.tree({
**destroy()**

恢复到初始化之前的状态。

0 comments on commit 418fc59

Please sign in to comment.