smock 0.1.109 → 0.1.110
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.
- data/Gemfile.lock +1 -1
- data/examples/icons.html +1 -1
- data/guide2.sass +1 -1
- data/index2.html +19 -13
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/examples/icons.html
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
if (rules) {
|
11
11
|
for(var j = 0; j < rules.length; j++) {
|
12
12
|
var rule = rules[j];
|
13
|
-
if (rule.selectorText && rule.selectorText.indexOf('hot-icon') === 1) {
|
13
|
+
if (rule.selectorText && (rule.selectorText.indexOf('hot-icon') === 1 || rule.selectorText.indexOf('svg__') === 1 )) {
|
14
14
|
var template = "<li class=\"style-group__icons\"><div><i class=\"" + rule.selectorText.replace(".", "") + " style-group__icon\"></i></div><span>" + rule.selectorText + "</span></li>"
|
15
15
|
iconsEl.append(template);
|
16
16
|
}
|
data/guide2.sass
CHANGED
data/index2.html
CHANGED
@@ -10,18 +10,18 @@
|
|
10
10
|
<div class="container">
|
11
11
|
<h1>Sherv's Styleguide to the Universe</h1>
|
12
12
|
<ul am-grid-col="l:2:12" class="actions">
|
13
|
-
<li><a href="#" rel="icons">Icons</a></li>
|
14
|
-
<li><a href="#" rel="buttons">Buttons</a></li>
|
15
|
-
<li><a href="#" rel="banners">Banners</a></li>
|
16
|
-
<li><a href="#" rel="typography">Typography</a></li>
|
17
|
-
<li><a href="#" rel="paragraphs">Paragraphs</a></li>
|
18
|
-
<li><a href="#" rel="testimonials">Testimonials</a></li>
|
19
|
-
<li><a href="#" rel="avatars">Avatars</a></li>
|
20
|
-
<li><a href="#" rel="colors">Colors</a></li>
|
21
|
-
<li><a href="#" rel="links">Links</a></li>
|
22
|
-
<li><a href="#" rel="forms">Forms</a></li>
|
23
|
-
<li><a href="#" rel="service">Service</a></li>
|
24
|
-
<li><a href="#" rel="reviews">Reviews</a></li>
|
13
|
+
<li><a href="#icons" rel="icons">Icons</a></li>
|
14
|
+
<li><a href="#buttons" rel="buttons">Buttons</a></li>
|
15
|
+
<li><a href="#banners" rel="banners">Banners</a></li>
|
16
|
+
<li><a href="#typography" rel="typography">Typography</a></li>
|
17
|
+
<li><a href="#paragraphs" rel="paragraphs">Paragraphs</a></li>
|
18
|
+
<li><a href="#testimonials" rel="testimonials">Testimonials</a></li>
|
19
|
+
<li><a href="#avatars" rel="avatars">Avatars</a></li>
|
20
|
+
<li><a href="#colors" rel="colors">Colors</a></li>
|
21
|
+
<li><a href="#links" rel="links">Links</a></li>
|
22
|
+
<li><a href="#forms" rel="forms">Forms</a></li>
|
23
|
+
<li><a href="#service" rel="service">Service</a></li>
|
24
|
+
<li><a href="#reviews" rel="reviews">Reviews</a></li>
|
25
25
|
</ul>
|
26
26
|
<aside am-grid-col="l:10:12">
|
27
27
|
<div id='content'></div>
|
@@ -32,7 +32,13 @@
|
|
32
32
|
<script src="guide.js"></script>
|
33
33
|
<script>
|
34
34
|
setupActions();
|
35
|
-
|
35
|
+
if (window.location.hash) {
|
36
|
+
var contentName = window.location.hash.replace("#", "");
|
37
|
+
} else {
|
38
|
+
var contentName = $('.actions a:first')[0].rel;
|
39
|
+
}
|
40
|
+
|
41
|
+
loadContent(contentName);
|
36
42
|
</script>
|
37
43
|
</body>
|
38
44
|
</html>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.110
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-10-
|
12
|
+
date: 2014-10-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
@@ -421,7 +421,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
421
421
|
version: '0'
|
422
422
|
segments:
|
423
423
|
- 0
|
424
|
-
hash:
|
424
|
+
hash: 3763183942750098610
|
425
425
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
426
426
|
none: false
|
427
427
|
requirements:
|
@@ -430,7 +430,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
430
430
|
version: '0'
|
431
431
|
segments:
|
432
432
|
- 0
|
433
|
-
hash:
|
433
|
+
hash: 3763183942750098610
|
434
434
|
requirements: []
|
435
435
|
rubyforge_project: smock
|
436
436
|
rubygems_version: 1.8.21
|