summaryrefslogtreecommitdiffhomepage
path: root/jquery.html.markdown
diff options
context:
space:
mode:
authorBoris Verkhovskiy <boris.verk@gmail.com>2024-04-06 08:36:26 -0700
committerGitHub <noreply@github.com>2024-04-06 08:36:26 -0700
commit111ff839f3a9b96fecd1d186340bf57e0f27e177 (patch)
tree30d433ba19ec49808cc0f0de8a161835ad5f29c9 /jquery.html.markdown
parent9fa4b5af80f1cd7fe2469c198d02a21e4f8884a1 (diff)
parent3e687f1a8ccb1cd0d52a966005551d528ca141df (diff)
Merge pull request #4881 from verhovsky/trailing-newlines
Remove leading and trailing empty lines in code blocks
Diffstat (limited to 'jquery.html.markdown')
-rw-r--r--jquery.html.markdown3
1 files changed, 0 insertions, 3 deletions
diff --git a/jquery.html.markdown b/jquery.html.markdown
index cdcb89d9..8c411dfb 100644
--- a/jquery.html.markdown
+++ b/jquery.html.markdown
@@ -14,7 +14,6 @@ Because jQuery is a JavaScript library you should [learn JavaScript first](https
**NOTE**: jQuery has fallen out of the limelight in recent years, since you can achieve the same thing with the vanilla DOM (Document Object Model) API. So the only thing it is used for is a couple of handy features, such as the [jQuery date picker](https://api.jqueryui.com/datepicker) (which actually has a standard, unlike the `<input type="date">` HTML element), and the obvious decrease in the code length.
```js
-
///////////////////////////////////
// 1. Selectors
@@ -125,8 +124,6 @@ var heights = [];
$('p').each(function() {
heights.push($(this).height()); // Adds all 'p' tag heights to array
});
-
-
```
## Further Reading