summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/jquery-cn.html.markdown
diff options
context:
space:
mode:
authorBoris Verkhovskiy <boris.verk@gmail.com>2024-04-06 08:33:50 -0700
committerBoris Verkhovskiy <boris.verk@gmail.com>2024-04-06 08:33:50 -0700
commit3e687f1a8ccb1cd0d52a966005551d528ca141df (patch)
tree30d433ba19ec49808cc0f0de8a161835ad5f29c9 /zh-cn/jquery-cn.html.markdown
parent9fa4b5af80f1cd7fe2469c198d02a21e4f8884a1 (diff)
Remove leading and trailing empty lines in code blocks
Diffstat (limited to 'zh-cn/jquery-cn.html.markdown')
-rw-r--r--zh-cn/jquery-cn.html.markdown4
1 files changed, 0 insertions, 4 deletions
diff --git a/zh-cn/jquery-cn.html.markdown b/zh-cn/jquery-cn.html.markdown
index 4b23274e..3ac633d4 100644
--- a/zh-cn/jquery-cn.html.markdown
+++ b/zh-cn/jquery-cn.html.markdown
@@ -14,8 +14,6 @@ jQuery是JavaScript的一个函数库,它可以帮你“写更少,做更多
正因为jQuery是JavaScript的一个函数库,所以你需要[首先学习JavaScript](https://learnxinyminutes.com/docs/javascript/)
```js
-
-
///////////////////////////////////
// 1. 选择器
@@ -126,6 +124,4 @@ var heights = [];
$('p').each(function() {
heights.push($(this).height()); // 把所有p标签的高度加入数组
});
-
-
```