no-style-please 0.4.5 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_layouts/default.html +6 -0
- data/assets/js/mouse_coords.js +9 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 25566ff00a95e519bc1a75d023f4ed37542a76a2e92d662aad44334abd269365
|
|
4
|
+
data.tar.gz: 4437b0fb4ac2c51fe3d0555777a6c10b82789670b3c7113d41e188f0e8d9ee1e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c1657a7d4fcb80873de3c6244b65282db6a03a121b9e3814544414f72b6702a3040a00dbc687a173157302295840a500fa75fa39a0186f4848e760f672bc991
|
|
7
|
+
data.tar.gz: 658f8b6504b8982867308baf835a1a1174b11f4373a4ea6fd8049f127b11c0fc3115a4626a3c949299e0eb11bdac0ce0838bea47ca180bfd0a4d108cb657e74a
|
data/_layouts/default.html
CHANGED
|
@@ -11,5 +11,11 @@
|
|
|
11
11
|
{%-if site.goat_counter and jekyll.environment == "production"-%}
|
|
12
12
|
{%-include goat_counter.html-%}
|
|
13
13
|
{%-endif-%}
|
|
14
|
+
|
|
15
|
+
{% if page.custom_js %}
|
|
16
|
+
{% for js_file in page.custom_js %}
|
|
17
|
+
<script type="text/javascript" src="{{ site.baseurl }}/assets/js/{{ js_file }}.js"></script>
|
|
18
|
+
{% endfor %}
|
|
19
|
+
{% endif %}
|
|
14
20
|
</body>
|
|
15
21
|
</html>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const p = document.createElement("p");
|
|
2
|
+
p.style.textAlign = "center";
|
|
3
|
+
p.style.fontSize = "18pt";
|
|
4
|
+
p.innerHTML = "C'mon, move your mouse!"
|
|
5
|
+
document.body.append(p);
|
|
6
|
+
|
|
7
|
+
document.addEventListener("mousemove", e => {
|
|
8
|
+
p.innerHTML = `mouseX: ${e.clientX}, mouseY: ${e.clientY}`;
|
|
9
|
+
});
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: no-style-please
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Riccardo Graziosi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-06-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -74,6 +74,7 @@ files:
|
|
|
74
74
|
- _layouts/post.html
|
|
75
75
|
- _sass/no-style-please.scss
|
|
76
76
|
- assets/css/main.scss
|
|
77
|
+
- assets/js/mouse_coords.js
|
|
77
78
|
homepage: https://github.com/riggraz/no-style-please
|
|
78
79
|
licenses:
|
|
79
80
|
- MIT
|