assets-rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/README.md +13 -9
- data/assets-rails.gemspec +2 -0
- data/lib/assets-rails/engine.rb +3 -1
- data/lib/assets-rails/version.rb +1 -1
- data/vendor/assets/fonts/lightgallery/Slide-icons.dev.svg +33 -0
- data/vendor/assets/fonts/lightgallery/Slide-icons.eot +0 -0
- data/vendor/assets/fonts/lightgallery/Slide-icons.svg +33 -0
- data/vendor/assets/fonts/lightgallery/Slide-icons.ttf +0 -0
- data/vendor/assets/fonts/lightgallery/Slide-icons.woff +0 -0
- data/vendor/assets/fonts/photoswipe/v4.0.0/default-skin/default-skin.svg +38 -0
- data/vendor/assets/fonts/photoswipe/v4.0.2/default-skin/default-skin.svg +1 -0
- data/vendor/assets/images/jquery.share/social-icons-sprite.png +0 -0
- data/vendor/assets/images/jquery.share/social-icons.png +0 -0
- data/vendor/assets/images/lightgallery/loading.gif +0 -0
- data/vendor/assets/images/photoswipe/v4.0.0/default-skin/default-skin.png +0 -0
- data/vendor/assets/images/photoswipe/v4.0.0/default-skin/preloader.gif +0 -0
- data/vendor/assets/images/photoswipe/v4.0.2/default-skin/default-skin.png +0 -0
- data/vendor/assets/images/photoswipe/v4.0.2/default-skin/preloader.gif +0 -0
- data/vendor/assets/javascripts/imagesloaded/v3.1.8.js +1 -1
- data/vendor/assets/javascripts/imagesloaded/v3.1.8/imagesloaded.js +561 -3
- data/vendor/assets/javascripts/jquery.cookie/v1.4.1.js +2 -0
- data/vendor/assets/javascripts/jquery.cookie/v1.4.1/jquery.cookie.js +117 -0
- data/vendor/assets/javascripts/jquery.share.js +1 -0
- data/vendor/assets/javascripts/jquery.share/jquery.share.js +137 -0
- data/vendor/assets/javascripts/jquery.zoom/v1.7.13.js +1 -0
- data/vendor/assets/javascripts/jquery.zoom/v1.7.13/jquery.zoom.js +233 -0
- data/vendor/assets/javascripts/lightgallery/v1.1.4.js +1 -0
- data/vendor/assets/javascripts/lightgallery/v1.1.4/lightgallery.min.js +11 -0
- data/vendor/assets/javascripts/photoswipe/v4.0.0.js +2 -0
- data/vendor/assets/javascripts/photoswipe/v4.0.0/photoswipe-ui-default.js +824 -0
- data/vendor/assets/javascripts/photoswipe/v4.0.0/photoswipe.js +3647 -0
- data/vendor/assets/javascripts/photoswipe/v4.0.2.js +2 -0
- data/vendor/assets/javascripts/photoswipe/v4.0.2/photoswipe-ui-default.js +792 -0
- data/vendor/assets/javascripts/photoswipe/v4.0.2/photoswipe.js +3589 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_variables.scss +1 -1
- data/vendor/assets/stylesheets/jquery.collageplus/v0.3.3/transitions.css +202 -0
- data/vendor/assets/stylesheets/jquery.share.css +3 -0
- data/vendor/assets/stylesheets/jquery.share/jquery.share.scss +215 -0
- data/vendor/assets/stylesheets/lightgallery/v1.1.4/lightgallery.scss +629 -0
- data/vendor/assets/stylesheets/photoswipe/v4.0.0.css +3 -0
- data/vendor/assets/stylesheets/photoswipe/v4.0.0/default-skin.scss +418 -0
- data/vendor/assets/stylesheets/photoswipe/v4.0.0/photoswipe.css +125 -0
- data/vendor/assets/stylesheets/photoswipe/v4.0.2.css +3 -0
- data/vendor/assets/stylesheets/photoswipe/v4.0.2/default-skin.scss +390 -0
- data/vendor/assets/stylesheets/photoswipe/v4.0.2/photoswipe.css +148 -0
- metadata +43 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5e87b322e1be949a1d192f9f88c9b7d733de610
|
4
|
+
data.tar.gz: e274550589e2d176d327cea694042270b435b49c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3a5da87dede2410dbbe83f90baf121588535d5601dedfbd14d3196a7ca946c8b6bf73c049d2d3ac9eac21a98753b97d37ccc4d68cf1c42427b1a16c0aa4f09d
|
7
|
+
data.tar.gz: 015b74b6d80a281f2833b1a2fb436cddab1ceeb2aa8e76bda7a73d8be2522a49cef2a5b149d71c29fd672908d8d9e5dcae05cfbc1f9e9b7ea4798ccd70728067
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.1.
|
1
|
+
ruby-2.1.5
|
data/README.md
CHANGED
@@ -50,15 +50,19 @@ Currently, assets-rails has bundled the following libraries:
|
|
50
50
|
14. jquery.infinitescroll [v2.0.2](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/jquery.infinitescroll/v2.0.2.js)
|
51
51
|
15. [jquery.pageless](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/jquery.pageless.js)
|
52
52
|
16. jquery.turbolinks [v2.1.0](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/jquery.turbolinks/v2.1.0.js)
|
53
|
-
17.
|
54
|
-
18.
|
55
|
-
19.
|
56
|
-
20.
|
57
|
-
21.
|
58
|
-
22.
|
59
|
-
23.
|
60
|
-
24.
|
61
|
-
25.
|
53
|
+
17. jquery.cookie [v1.4.1](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/jquery.cookie/v1.4.1.js)
|
54
|
+
18. [jquery.share](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/jquery.share.js)
|
55
|
+
19. jquery.zoom [v1.7.13](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/jquery.zoom/v1.7.13.js)
|
56
|
+
20. nprogress [v0.1.6](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/nprogress/v0.1.6.js)
|
57
|
+
21. font-awesome [v4.2.0](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/stylesheets/font-awesome/v4.2.0.css)
|
58
|
+
22. zebra_datepicker [v1.8.9](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/zebra_datepicker/v1.8.9.js)
|
59
|
+
23. draggabilly [v1.1.1](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/draggabilly/v1.1.1.js)
|
60
|
+
24. imagesloaded [v3.1.8](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/imagesloaded/v3.1.8.js)
|
61
|
+
25. masonry [v3.1.5](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/masonry/v3.1.5.js)
|
62
|
+
26. responsiveCarousel [v1.2.0](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/responsiveCarousel/v1.2.0.js)
|
63
|
+
27. responsiveslides [v1.54](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/responsiveslides/v1.54.js)
|
64
|
+
28. isotope [v2.0.1](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/isotope/v2.0.1.js)
|
65
|
+
29. photoswipe [v4.0.0](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/photoswipe/v4.0.0.js), [v4.0.2](https://github.com/yoolk/assets-rails/blob/master/vendor/assets/javascripts/photoswipe/v4.0.2.js)
|
62
66
|
|
63
67
|
## Authors
|
64
68
|
|
data/assets-rails.gemspec
CHANGED
@@ -12,6 +12,8 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.description = %q{Require the versioned js/css libraries in your rails asset pipeline. You can use different versions for different templates in a single Rails application.}
|
13
13
|
spec.homepage = ''
|
14
14
|
spec.license = 'MIT'
|
15
|
+
spec.required_ruby_version = '>= 2.0.0'
|
16
|
+
spec.required_rubygems_version = '>= 1.8.11'
|
15
17
|
|
16
18
|
spec.files = `git ls-files -z`.split("\x0")
|
17
19
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
data/lib/assets-rails/engine.rb
CHANGED
@@ -3,7 +3,9 @@ require 'rails/engine'
|
|
3
3
|
module Assets
|
4
4
|
module Rails
|
5
5
|
class Engine < ::Rails::Engine
|
6
|
-
|
6
|
+
initializer 'assets-rails.precompile' do |app|
|
7
|
+
app.config.assets.precompile += [ Proc.new { |path, fn| fn =~ /assets-rails\/vendor\/assets/ && !%w(.js .css).include?(File.extname(path)) } ]
|
8
|
+
end
|
7
9
|
end
|
8
10
|
end
|
9
11
|
end
|
data/lib/assets-rails/version.rb
CHANGED
@@ -0,0 +1,33 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
4
|
+
<metadata>
|
5
|
+
This is a custom SVG font generated by IcoMoon.
|
6
|
+
<iconset grid="16" name="Slide-icons" id="Slide-icons"></iconset><author name="Sarath Jayaprakash"></author><license name="Copyright © 1999-2013 Blackmonk Inc."></license>
|
7
|
+
</metadata>
|
8
|
+
<defs>
|
9
|
+
<font id="Slide-icons" horiz-adv-x="512" >
|
10
|
+
<font-face units-per-em="512" ascent="480" descent="-32" />
|
11
|
+
<missing-glyph horiz-adv-x="512" />
|
12
|
+
<glyph class="hidden" unicode="" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
|
13
|
+
<glyph unicode="" d="M 425.72,348.456c 3,3, 4.688,7.064, 4.688,11.312s-1.688,8.312-4.688,11.312
|
14
|
+
l-22.624,22.624c-6.248,6.248-16.376,6.248-22.624,0L 256,269.232L 131.528,393.704
|
15
|
+
c-6.248,6.248-16.376,6.248-22.624,0L 86.28,371.080
|
16
|
+
c-3-3-4.688-7.064-4.688-11.312s 1.688-8.312, 4.688-11.312L 210.752,224
|
17
|
+
l-124.472-124.472c-6.248-6.248-6.248-16.376,0-22.624l 22.624-22.624
|
18
|
+
c 6.248-6.248, 16.376-6.248, 22.624,0L 256,178.752l 124.472-124.472
|
19
|
+
c 6.248-6.248, 16.376-6.248, 22.624,0l 22.624,22.624c 6.248,6.248, 6.248,16.376,0,22.624
|
20
|
+
L 301.248,224L 425.72,348.456z" data-tags="Slideicons-04" />
|
21
|
+
<glyph unicode="" d="M 211.624,437.968c-6.248,6.248-16.376,6.248-22.624,0l-19-19
|
22
|
+
c-6.248-6.248-6.248-16.376,0-22.624L 342.344,224L 170,51.624
|
23
|
+
c-6.248-6.248-6.248-16.376,0-22.624l 19-19C 192,7, 196.064,5.312, 200.312,5.312
|
24
|
+
S 208.624,7, 211.624,10l 193.16,193.184c 11.504,11.504, 11.504,30.144,0,41.624L 211.624,437.968
|
25
|
+
z" data-tags="Slideicons-03" />
|
26
|
+
<glyph unicode="" d="M 32,448L 160,448L 160,320L 32,320zM 352,448L 480,448L 480,320L 352,320zM 192,448L 320,448L 320,320L 192,320zM 32,288L 160,288L 160,160L 32,160zM 352,288L 480,288L 480,160L 352,160zM 192,288L 320,288L 320,160L 192,160zM 32,128L 160,128L 160,0L 32,0zM 352,128L 480,128L 480,0L 352,0zM 192,128L 320,128L 320,0L 192,0z" data-tags="Slideicons-02" />
|
27
|
+
<glyph unicode="" d="M 393.504,396.344c 6.248,6.248, 6.248,16.376,0,22.624l-19,19
|
28
|
+
c-6.248,6.248-16.376,6.248-22.624,0L 158.72,244.816
|
29
|
+
c-11.504-11.488-11.504-30.128-0.016-41.624L 351.872,10
|
30
|
+
c 6.248-6.248, 16.376-6.248, 22.624,0l 19.016,19c 3,3, 4.688,7.064, 4.688,11.312
|
31
|
+
s-1.688,8.312-4.688,11.312L 221.168,224L 393.504,396.344z" data-tags="Slideicons-01" />
|
32
|
+
<glyph unicode=" " horiz-adv-x="256" />
|
33
|
+
</font></defs></svg>
|
Binary file
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
4
|
+
<metadata>
|
5
|
+
This is a custom SVG font generated by IcoMoon.
|
6
|
+
<iconset grid="16" name="Slide-icons" id="Slide-icons"></iconset><author name="Sarath Jayaprakash"></author><license name="Copyright © 1999-2013 Blackmonk Inc."></license>
|
7
|
+
</metadata>
|
8
|
+
<defs>
|
9
|
+
<font id="Slide-icons" horiz-adv-x="512" >
|
10
|
+
<font-face units-per-em="512" ascent="480" descent="-32" />
|
11
|
+
<missing-glyph horiz-adv-x="512" />
|
12
|
+
<glyph class="hidden" unicode="" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
|
13
|
+
<glyph unicode="" d="M 425.72,348.456c 3,3, 4.688,7.064, 4.688,11.312s-1.688,8.312-4.688,11.312
|
14
|
+
l-22.624,22.624c-6.248,6.248-16.376,6.248-22.624,0L 256,269.232L 131.528,393.704
|
15
|
+
c-6.248,6.248-16.376,6.248-22.624,0L 86.28,371.080
|
16
|
+
c-3-3-4.688-7.064-4.688-11.312s 1.688-8.312, 4.688-11.312L 210.752,224
|
17
|
+
l-124.472-124.472c-6.248-6.248-6.248-16.376,0-22.624l 22.624-22.624
|
18
|
+
c 6.248-6.248, 16.376-6.248, 22.624,0L 256,178.752l 124.472-124.472
|
19
|
+
c 6.248-6.248, 16.376-6.248, 22.624,0l 22.624,22.624c 6.248,6.248, 6.248,16.376,0,22.624
|
20
|
+
L 301.248,224L 425.72,348.456z" />
|
21
|
+
<glyph unicode="" d="M 211.624,437.968c-6.248,6.248-16.376,6.248-22.624,0l-19-19
|
22
|
+
c-6.248-6.248-6.248-16.376,0-22.624L 342.344,224L 170,51.624
|
23
|
+
c-6.248-6.248-6.248-16.376,0-22.624l 19-19C 192,7, 196.064,5.312, 200.312,5.312
|
24
|
+
S 208.624,7, 211.624,10l 193.16,193.184c 11.504,11.504, 11.504,30.144,0,41.624L 211.624,437.968
|
25
|
+
z" />
|
26
|
+
<glyph unicode="" d="M 32,448L 160,448L 160,320L 32,320zM 352,448L 480,448L 480,320L 352,320zM 192,448L 320,448L 320,320L 192,320zM 32,288L 160,288L 160,160L 32,160zM 352,288L 480,288L 480,160L 352,160zM 192,288L 320,288L 320,160L 192,160zM 32,128L 160,128L 160,0L 32,0zM 352,128L 480,128L 480,0L 352,0zM 192,128L 320,128L 320,0L 192,0z" />
|
27
|
+
<glyph unicode="" d="M 393.504,396.344c 6.248,6.248, 6.248,16.376,0,22.624l-19,19
|
28
|
+
c-6.248,6.248-16.376,6.248-22.624,0L 158.72,244.816
|
29
|
+
c-11.504-11.488-11.504-30.128-0.016-41.624L 351.872,10
|
30
|
+
c 6.248-6.248, 16.376-6.248, 22.624,0l 19.016,19c 3,3, 4.688,7.064, 4.688,11.312
|
31
|
+
s-1.688,8.312-4.688,11.312L 221.168,224L 393.504,396.344z" />
|
32
|
+
<glyph unicode=" " horiz-adv-x="256" />
|
33
|
+
</font></defs></svg>
|
Binary file
|
Binary file
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<svg width="264px" height="88px" viewBox="0 0 264 88" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
3
|
+
<!-- Generator: Sketch 3.0 (7574) - http://www.bohemiancoding.com/sketch -->
|
4
|
+
<title>default-skin 2</title>
|
5
|
+
<description>Created with Sketch.</description>
|
6
|
+
<defs></defs>
|
7
|
+
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
8
|
+
<g id="default-skin" sketch:type="MSLayerGroup">
|
9
|
+
<path d="M67.0018835,59.5 L67.0018835,63.268331 C60.6953142,64.1065038 57.8175182,69.0186795 57,73 C59.2189781,70.171167 62.5639273,67.9024591 67.0018835,67.9024591 L67.0018835,71.5 L73,65.5853951 L67.0018835,59.5 Z" id="Shape" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
|
10
|
+
<g id="Group" transform="translate(13.000000, 15.000000)" fill="#FFFFFF" sketch:type="MSShapeGroup">
|
11
|
+
<path d="M0,14 L0,9 L2,9 L2,12 L5,12 L5,14 L0,14 Z" id="Shape"></path>
|
12
|
+
<path d="M0,0 L5,0 L5,2 L2,2 L2,5 L0,5 L0,0 Z" id="Shape"></path>
|
13
|
+
<path d="M18,0 L18,5 L16,5 L16,2 L15.2629743,2 L13,2 L13,0 L18,0 Z" id="Shape"></path>
|
14
|
+
<path d="M18,14 L13,14 L13,12 L16,12 L16,9 L18,9 L18,14 Z" id="Shape"></path>
|
15
|
+
</g>
|
16
|
+
<g id="Group-4" transform="translate(57.000000, 15.000000)" fill="#FFFFFF" sketch:type="MSShapeGroup">
|
17
|
+
<path d="M0,14 L0,9 L2,9 L2,12 L5,12 L5,14 L0,14 Z" id="Shape" transform="translate(2.500000, 11.500000) rotate(-180.000000) translate(-2.500000, -11.500000) "></path>
|
18
|
+
<path d="M0,0 L5,0 L5,2 L2,2 L2,5 L0,5 L0,0 Z" id="Shape" transform="translate(2.500000, 2.500000) rotate(-180.000000) translate(-2.500000, -2.500000) "></path>
|
19
|
+
<path d="M18,0 L18,5 L16,5 L16,2 L15.2629743,2 L13,2 L13,0 L18,0 Z" id="Shape" transform="translate(15.500000, 2.500000) rotate(-180.000000) translate(-15.500000, -2.500000) "></path>
|
20
|
+
<path d="M18,14 L13,14 L13,12 L16,12 L16,9 L18,9 L18,14 Z" id="Shape" transform="translate(15.500000, 11.500000) rotate(-180.000000) translate(-15.500000, -11.500000) "></path>
|
21
|
+
</g>
|
22
|
+
<path d="M21,65 L21,57 L23,57 L23,65 L31,65 L31,67 L23,67 L23,75 L21,75 L21,67 L13,67 L13,65 L21,65 Z" id="Rectangle-13" fill="#FFFFFF" sketch:type="MSShapeGroup" transform="translate(22.000000, 66.000000) rotate(-45.000000) translate(-22.000000, -66.000000) "></path>
|
23
|
+
<path d="M111.784738,65.0291574 L110,63.5 L113,60 L103,60 L103,58 L113,58 L110,54.5 L111.784738,53.0320871 L117,59 L111.784738,65.0291574 Z" id="Shape-3" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
|
24
|
+
<path d="M155.784738,65.0291574 L154,63.5 L157,60 L147,60 L147,58 L157,58 L154,54.5 L155.784738,53.0320871 L161,59 L155.784738,65.0291574 Z" id="Shape-4" fill="#FFFFFF" sketch:type="MSShapeGroup" transform="translate(154.000000, 59.000000) scale(-1, 1) translate(-154.000000, -59.000000) "></path>
|
25
|
+
<g id="Group-2" transform="translate(147.000000, 16.000000)" sketch:type="MSShapeGroup">
|
26
|
+
<rect id="Rectangle-11" fill="#FFFFFF" transform="translate(11.767767, 11.767767) scale(-1, 1) rotate(-45.000000) translate(-11.767767, -11.767767) " x="9.67157286" y="10.767767" width="4.59619409" height="2"></rect>
|
27
|
+
<path d="M5.5,11 C8.53756612,11 11,8.53756612 11,5.5 C11,2.46243388 8.53756612,0 5.5,0 C2.46243388,0 0,2.46243388 0,5.5 C0,8.53756612 2.46243388,11 5.5,11 Z" id="Oval-1" stroke="#FFFFFF" stroke-width="1.5"></path>
|
28
|
+
<rect id="Rectangle-12" fill="#FFFFFF" x="3" y="5" width="5" height="1"></rect>
|
29
|
+
</g>
|
30
|
+
<g id="Group-3" transform="translate(103.000000, 16.000000)" sketch:type="MSShapeGroup">
|
31
|
+
<path d="M13.9571068,12.5428932 L12.5428932,13.9571068 L9.29289322,10.7071068 L10.7071068,9.29289322 L13.9571068,12.5428932 Z" id="Rectangle-11" fill="#FFFFFF"></path>
|
32
|
+
<path d="M5.5,11 C8.53756612,11 11,8.53756612 11,5.5 C11,2.46243388 8.53756612,0 5.5,0 C2.46243388,0 0,2.46243388 0,5.5 C0,8.53756612 2.46243388,11 5.5,11 Z" id="Oval-1" stroke="#FFFFFF" stroke-width="1.5"></path>
|
33
|
+
<rect id="Rectangle-17" fill="#FFFFFF" x="3" y="5" width="5" height="1"></rect>
|
34
|
+
<rect id="Rectangle-16" fill="#FFFFFF" transform="translate(5.500000, 5.500000) rotate(-269.000000) translate(-5.500000, -5.500000) " x="3" y="5" width="5" height="1"></rect>
|
35
|
+
</g>
|
36
|
+
</g>
|
37
|
+
</g>
|
38
|
+
</svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg width="264" height="88" viewBox="0 0 264 88" xmlns="http://www.w3.org/2000/svg"><title>default-skin 2</title><g fill="none" fill-rule="evenodd"><g><path d="M67.002 59.5v3.768c-6.307.84-9.184 5.75-10.002 9.732 2.22-2.83 5.564-5.098 10.002-5.098V71.5L73 65.585 67.002 59.5z" id="Shape" fill="#fff"/><g fill="#fff"><path d="M13 29v-5h2v3h3v2h-5zM13 15h5v2h-3v3h-2v-5zM31 15v5h-2v-3h-3v-2h5zM31 29h-5v-2h3v-3h2v5z" id="Shape"/></g><g fill="#fff"><path d="M62 24v5h-2v-3h-3v-2h5zM62 20h-5v-2h3v-3h2v5zM70 20v-5h2v3h3v2h-5zM70 24h5v2h-3v3h-2v-5z"/></g><path d="M20.586 66l-5.656-5.656 1.414-1.414L22 64.586l5.656-5.656 1.414 1.414L23.414 66l5.656 5.656-1.414 1.414L22 67.414l-5.656 5.656-1.414-1.414L20.586 66z" fill="#fff"/><path d="M111.785 65.03L110 63.5l3-3.5h-10v-2h10l-3-3.5 1.785-1.468L117 59l-5.215 6.03z" fill="#fff"/><path d="M152.215 65.03L154 63.5l-3-3.5h10v-2h-10l3-3.5-1.785-1.468L147 59l5.215 6.03z" fill="#fff"/><g><path id="Rectangle-11" fill="#fff" d="M160.957 28.543l-3.25-3.25-1.413 1.414 3.25 3.25z"/><path d="M152.5 27c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5-5.5 2.462-5.5 5.5 2.462 5.5 5.5 5.5z" id="Oval-1" stroke="#fff" stroke-width="1.5"/><path fill="#fff" d="M150 21h5v1h-5z"/></g><g><path d="M116.957 28.543l-1.414 1.414-3.25-3.25 1.414-1.414 3.25 3.25z" fill="#fff"/><path d="M108.5 27c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5-5.5 2.462-5.5 5.5 2.462 5.5 5.5 5.5z" stroke="#fff" stroke-width="1.5"/><path fill="#fff" d="M106 21h5v1h-5z"/><path fill="#fff" d="M109.043 19.008l-.085 5-1-.017.085-5z"/></g></g></g></svg>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,2 +1,2 @@
|
|
1
1
|
// https://github.com/desandro/imagesloaded/
|
2
|
-
//= require imagesloaded/
|
2
|
+
//= require imagesloaded/v3.1.8/imagesloaded.js
|
@@ -1,10 +1,568 @@
|
|
1
|
+
/*!
|
2
|
+
* imagesLoaded PACKAGED v3.1.8
|
3
|
+
* JavaScript is all like "You images are done yet or what?"
|
4
|
+
* MIT License
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
/*!
|
9
|
+
* EventEmitter v4.2.6 - git.io/ee
|
10
|
+
* Oliver Caldwell
|
11
|
+
* MIT license
|
12
|
+
* @preserve
|
13
|
+
*/
|
14
|
+
|
15
|
+
(function () {
|
16
|
+
|
17
|
+
|
18
|
+
/**
|
19
|
+
* Class for managing events.
|
20
|
+
* Can be extended to provide event functionality in other classes.
|
21
|
+
*
|
22
|
+
* @class EventEmitter Manages event registering and emitting.
|
23
|
+
*/
|
24
|
+
function EventEmitter() {}
|
25
|
+
|
26
|
+
// Shortcuts to improve speed and size
|
27
|
+
var proto = EventEmitter.prototype;
|
28
|
+
var exports = this;
|
29
|
+
var originalGlobalValue = exports.EventEmitter;
|
30
|
+
|
31
|
+
/**
|
32
|
+
* Finds the index of the listener for the event in it's storage array.
|
33
|
+
*
|
34
|
+
* @param {Function[]} listeners Array of listeners to search through.
|
35
|
+
* @param {Function} listener Method to look for.
|
36
|
+
* @return {Number} Index of the specified listener, -1 if not found
|
37
|
+
* @api private
|
38
|
+
*/
|
39
|
+
function indexOfListener(listeners, listener) {
|
40
|
+
var i = listeners.length;
|
41
|
+
while (i--) {
|
42
|
+
if (listeners[i].listener === listener) {
|
43
|
+
return i;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
return -1;
|
48
|
+
}
|
49
|
+
|
50
|
+
/**
|
51
|
+
* Alias a method while keeping the context correct, to allow for overwriting of target method.
|
52
|
+
*
|
53
|
+
* @param {String} name The name of the target method.
|
54
|
+
* @return {Function} The aliased method
|
55
|
+
* @api private
|
56
|
+
*/
|
57
|
+
function alias(name) {
|
58
|
+
return function aliasClosure() {
|
59
|
+
return this[name].apply(this, arguments);
|
60
|
+
};
|
61
|
+
}
|
62
|
+
|
63
|
+
/**
|
64
|
+
* Returns the listener array for the specified event.
|
65
|
+
* Will initialise the event object and listener arrays if required.
|
66
|
+
* Will return an object if you use a regex search. The object contains keys for each matched event. So /ba[rz]/ might return an object containing bar and baz. But only if you have either defined them with defineEvent or added some listeners to them.
|
67
|
+
* Each property in the object response is an array of listener functions.
|
68
|
+
*
|
69
|
+
* @param {String|RegExp} evt Name of the event to return the listeners from.
|
70
|
+
* @return {Function[]|Object} All listener functions for the event.
|
71
|
+
*/
|
72
|
+
proto.getListeners = function getListeners(evt) {
|
73
|
+
var events = this._getEvents();
|
74
|
+
var response;
|
75
|
+
var key;
|
76
|
+
|
77
|
+
// Return a concatenated array of all matching events if
|
78
|
+
// the selector is a regular expression.
|
79
|
+
if (typeof evt === 'object') {
|
80
|
+
response = {};
|
81
|
+
for (key in events) {
|
82
|
+
if (events.hasOwnProperty(key) && evt.test(key)) {
|
83
|
+
response[key] = events[key];
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
else {
|
88
|
+
response = events[evt] || (events[evt] = []);
|
89
|
+
}
|
90
|
+
|
91
|
+
return response;
|
92
|
+
};
|
93
|
+
|
94
|
+
/**
|
95
|
+
* Takes a list of listener objects and flattens it into a list of listener functions.
|
96
|
+
*
|
97
|
+
* @param {Object[]} listeners Raw listener objects.
|
98
|
+
* @return {Function[]} Just the listener functions.
|
99
|
+
*/
|
100
|
+
proto.flattenListeners = function flattenListeners(listeners) {
|
101
|
+
var flatListeners = [];
|
102
|
+
var i;
|
103
|
+
|
104
|
+
for (i = 0; i < listeners.length; i += 1) {
|
105
|
+
flatListeners.push(listeners[i].listener);
|
106
|
+
}
|
107
|
+
|
108
|
+
return flatListeners;
|
109
|
+
};
|
110
|
+
|
111
|
+
/**
|
112
|
+
* Fetches the requested listeners via getListeners but will always return the results inside an object. This is mainly for internal use but others may find it useful.
|
113
|
+
*
|
114
|
+
* @param {String|RegExp} evt Name of the event to return the listeners from.
|
115
|
+
* @return {Object} All listener functions for an event in an object.
|
116
|
+
*/
|
117
|
+
proto.getListenersAsObject = function getListenersAsObject(evt) {
|
118
|
+
var listeners = this.getListeners(evt);
|
119
|
+
var response;
|
120
|
+
|
121
|
+
if (listeners instanceof Array) {
|
122
|
+
response = {};
|
123
|
+
response[evt] = listeners;
|
124
|
+
}
|
125
|
+
|
126
|
+
return response || listeners;
|
127
|
+
};
|
128
|
+
|
129
|
+
/**
|
130
|
+
* Adds a listener function to the specified event.
|
131
|
+
* The listener will not be added if it is a duplicate.
|
132
|
+
* If the listener returns true then it will be removed after it is called.
|
133
|
+
* If you pass a regular expression as the event name then the listener will be added to all events that match it.
|
134
|
+
*
|
135
|
+
* @param {String|RegExp} evt Name of the event to attach the listener to.
|
136
|
+
* @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling.
|
137
|
+
* @return {Object} Current instance of EventEmitter for chaining.
|
138
|
+
*/
|
139
|
+
proto.addListener = function addListener(evt, listener) {
|
140
|
+
var listeners = this.getListenersAsObject(evt);
|
141
|
+
var listenerIsWrapped = typeof listener === 'object';
|
142
|
+
var key;
|
143
|
+
|
144
|
+
for (key in listeners) {
|
145
|
+
if (listeners.hasOwnProperty(key) && indexOfListener(listeners[key], listener) === -1) {
|
146
|
+
listeners[key].push(listenerIsWrapped ? listener : {
|
147
|
+
listener: listener,
|
148
|
+
once: false
|
149
|
+
});
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
return this;
|
154
|
+
};
|
155
|
+
|
156
|
+
/**
|
157
|
+
* Alias of addListener
|
158
|
+
*/
|
159
|
+
proto.on = alias('addListener');
|
160
|
+
|
161
|
+
/**
|
162
|
+
* Semi-alias of addListener. It will add a listener that will be
|
163
|
+
* automatically removed after it's first execution.
|
164
|
+
*
|
165
|
+
* @param {String|RegExp} evt Name of the event to attach the listener to.
|
166
|
+
* @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling.
|
167
|
+
* @return {Object} Current instance of EventEmitter for chaining.
|
168
|
+
*/
|
169
|
+
proto.addOnceListener = function addOnceListener(evt, listener) {
|
170
|
+
return this.addListener(evt, {
|
171
|
+
listener: listener,
|
172
|
+
once: true
|
173
|
+
});
|
174
|
+
};
|
175
|
+
|
176
|
+
/**
|
177
|
+
* Alias of addOnceListener.
|
178
|
+
*/
|
179
|
+
proto.once = alias('addOnceListener');
|
180
|
+
|
181
|
+
/**
|
182
|
+
* Defines an event name. This is required if you want to use a regex to add a listener to multiple events at once. If you don't do this then how do you expect it to know what event to add to? Should it just add to every possible match for a regex? No. That is scary and bad.
|
183
|
+
* You need to tell it what event names should be matched by a regex.
|
184
|
+
*
|
185
|
+
* @param {String} evt Name of the event to create.
|
186
|
+
* @return {Object} Current instance of EventEmitter for chaining.
|
187
|
+
*/
|
188
|
+
proto.defineEvent = function defineEvent(evt) {
|
189
|
+
this.getListeners(evt);
|
190
|
+
return this;
|
191
|
+
};
|
192
|
+
|
193
|
+
/**
|
194
|
+
* Uses defineEvent to define multiple events.
|
195
|
+
*
|
196
|
+
* @param {String[]} evts An array of event names to define.
|
197
|
+
* @return {Object} Current instance of EventEmitter for chaining.
|
198
|
+
*/
|
199
|
+
proto.defineEvents = function defineEvents(evts) {
|
200
|
+
for (var i = 0; i < evts.length; i += 1) {
|
201
|
+
this.defineEvent(evts[i]);
|
202
|
+
}
|
203
|
+
return this;
|
204
|
+
};
|
205
|
+
|
206
|
+
/**
|
207
|
+
* Removes a listener function from the specified event.
|
208
|
+
* When passed a regular expression as the event name, it will remove the listener from all events that match it.
|
209
|
+
*
|
210
|
+
* @param {String|RegExp} evt Name of the event to remove the listener from.
|
211
|
+
* @param {Function} listener Method to remove from the event.
|
212
|
+
* @return {Object} Current instance of EventEmitter for chaining.
|
213
|
+
*/
|
214
|
+
proto.removeListener = function removeListener(evt, listener) {
|
215
|
+
var listeners = this.getListenersAsObject(evt);
|
216
|
+
var index;
|
217
|
+
var key;
|
218
|
+
|
219
|
+
for (key in listeners) {
|
220
|
+
if (listeners.hasOwnProperty(key)) {
|
221
|
+
index = indexOfListener(listeners[key], listener);
|
222
|
+
|
223
|
+
if (index !== -1) {
|
224
|
+
listeners[key].splice(index, 1);
|
225
|
+
}
|
226
|
+
}
|
227
|
+
}
|
228
|
+
|
229
|
+
return this;
|
230
|
+
};
|
231
|
+
|
232
|
+
/**
|
233
|
+
* Alias of removeListener
|
234
|
+
*/
|
235
|
+
proto.off = alias('removeListener');
|
236
|
+
|
237
|
+
/**
|
238
|
+
* Adds listeners in bulk using the manipulateListeners method.
|
239
|
+
* If you pass an object as the second argument you can add to multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. You can also pass it an event name and an array of listeners to be added.
|
240
|
+
* You can also pass it a regular expression to add the array of listeners to all events that match it.
|
241
|
+
* Yeah, this function does quite a bit. That's probably a bad thing.
|
242
|
+
*
|
243
|
+
* @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add to multiple events at once.
|
244
|
+
* @param {Function[]} [listeners] An optional array of listener functions to add.
|
245
|
+
* @return {Object} Current instance of EventEmitter for chaining.
|
246
|
+
*/
|
247
|
+
proto.addListeners = function addListeners(evt, listeners) {
|
248
|
+
// Pass through to manipulateListeners
|
249
|
+
return this.manipulateListeners(false, evt, listeners);
|
250
|
+
};
|
251
|
+
|
252
|
+
/**
|
253
|
+
* Removes listeners in bulk using the manipulateListeners method.
|
254
|
+
* If you pass an object as the second argument you can remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays.
|
255
|
+
* You can also pass it an event name and an array of listeners to be removed.
|
256
|
+
* You can also pass it a regular expression to remove the listeners from all events that match it.
|
257
|
+
*
|
258
|
+
* @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to remove from multiple events at once.
|
259
|
+
* @param {Function[]} [listeners] An optional array of listener functions to remove.
|
260
|
+
* @return {Object} Current instance of EventEmitter for chaining.
|
261
|
+
*/
|
262
|
+
proto.removeListeners = function removeListeners(evt, listeners) {
|
263
|
+
// Pass through to manipulateListeners
|
264
|
+
return this.manipulateListeners(true, evt, listeners);
|
265
|
+
};
|
266
|
+
|
267
|
+
/**
|
268
|
+
* Edits listeners in bulk. The addListeners and removeListeners methods both use this to do their job. You should really use those instead, this is a little lower level.
|
269
|
+
* The first argument will determine if the listeners are removed (true) or added (false).
|
270
|
+
* If you pass an object as the second argument you can add/remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays.
|
271
|
+
* You can also pass it an event name and an array of listeners to be added/removed.
|
272
|
+
* You can also pass it a regular expression to manipulate the listeners of all events that match it.
|
273
|
+
*
|
274
|
+
* @param {Boolean} remove True if you want to remove listeners, false if you want to add.
|
275
|
+
* @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add/remove from multiple events at once.
|
276
|
+
* @param {Function[]} [listeners] An optional array of listener functions to add/remove.
|
277
|
+
* @return {Object} Current instance of EventEmitter for chaining.
|
278
|
+
*/
|
279
|
+
proto.manipulateListeners = function manipulateListeners(remove, evt, listeners) {
|
280
|
+
var i;
|
281
|
+
var value;
|
282
|
+
var single = remove ? this.removeListener : this.addListener;
|
283
|
+
var multiple = remove ? this.removeListeners : this.addListeners;
|
284
|
+
|
285
|
+
// If evt is an object then pass each of it's properties to this method
|
286
|
+
if (typeof evt === 'object' && !(evt instanceof RegExp)) {
|
287
|
+
for (i in evt) {
|
288
|
+
if (evt.hasOwnProperty(i) && (value = evt[i])) {
|
289
|
+
// Pass the single listener straight through to the singular method
|
290
|
+
if (typeof value === 'function') {
|
291
|
+
single.call(this, i, value);
|
292
|
+
}
|
293
|
+
else {
|
294
|
+
// Otherwise pass back to the multiple function
|
295
|
+
multiple.call(this, i, value);
|
296
|
+
}
|
297
|
+
}
|
298
|
+
}
|
299
|
+
}
|
300
|
+
else {
|
301
|
+
// So evt must be a string
|
302
|
+
// And listeners must be an array of listeners
|
303
|
+
// Loop over it and pass each one to the multiple method
|
304
|
+
i = listeners.length;
|
305
|
+
while (i--) {
|
306
|
+
single.call(this, evt, listeners[i]);
|
307
|
+
}
|
308
|
+
}
|
309
|
+
|
310
|
+
return this;
|
311
|
+
};
|
312
|
+
|
313
|
+
/**
|
314
|
+
* Removes all listeners from a specified event.
|
315
|
+
* If you do not specify an event then all listeners will be removed.
|
316
|
+
* That means every event will be emptied.
|
317
|
+
* You can also pass a regex to remove all events that match it.
|
318
|
+
*
|
319
|
+
* @param {String|RegExp} [evt] Optional name of the event to remove all listeners for. Will remove from every event if not passed.
|
320
|
+
* @return {Object} Current instance of EventEmitter for chaining.
|
321
|
+
*/
|
322
|
+
proto.removeEvent = function removeEvent(evt) {
|
323
|
+
var type = typeof evt;
|
324
|
+
var events = this._getEvents();
|
325
|
+
var key;
|
326
|
+
|
327
|
+
// Remove different things depending on the state of evt
|
328
|
+
if (type === 'string') {
|
329
|
+
// Remove all listeners for the specified event
|
330
|
+
delete events[evt];
|
331
|
+
}
|
332
|
+
else if (type === 'object') {
|
333
|
+
// Remove all events matching the regex.
|
334
|
+
for (key in events) {
|
335
|
+
if (events.hasOwnProperty(key) && evt.test(key)) {
|
336
|
+
delete events[key];
|
337
|
+
}
|
338
|
+
}
|
339
|
+
}
|
340
|
+
else {
|
341
|
+
// Remove all listeners in all events
|
342
|
+
delete this._events;
|
343
|
+
}
|
344
|
+
|
345
|
+
return this;
|
346
|
+
};
|
347
|
+
|
348
|
+
/**
|
349
|
+
* Alias of removeEvent.
|
350
|
+
*
|
351
|
+
* Added to mirror the node API.
|
352
|
+
*/
|
353
|
+
proto.removeAllListeners = alias('removeEvent');
|
354
|
+
|
355
|
+
/**
|
356
|
+
* Emits an event of your choice.
|
357
|
+
* When emitted, every listener attached to that event will be executed.
|
358
|
+
* If you pass the optional argument array then those arguments will be passed to every listener upon execution.
|
359
|
+
* Because it uses `apply`, your array of arguments will be passed as if you wrote them out separately.
|
360
|
+
* So they will not arrive within the array on the other side, they will be separate.
|
361
|
+
* You can also pass a regular expression to emit to all events that match it.
|
362
|
+
*
|
363
|
+
* @param {String|RegExp} evt Name of the event to emit and execute listeners for.
|
364
|
+
* @param {Array} [args] Optional array of arguments to be passed to each listener.
|
365
|
+
* @return {Object} Current instance of EventEmitter for chaining.
|
366
|
+
*/
|
367
|
+
proto.emitEvent = function emitEvent(evt, args) {
|
368
|
+
var listeners = this.getListenersAsObject(evt);
|
369
|
+
var listener;
|
370
|
+
var i;
|
371
|
+
var key;
|
372
|
+
var response;
|
373
|
+
|
374
|
+
for (key in listeners) {
|
375
|
+
if (listeners.hasOwnProperty(key)) {
|
376
|
+
i = listeners[key].length;
|
377
|
+
|
378
|
+
while (i--) {
|
379
|
+
// If the listener returns true then it shall be removed from the event
|
380
|
+
// The function is executed either with a basic call or an apply if there is an args array
|
381
|
+
listener = listeners[key][i];
|
382
|
+
|
383
|
+
if (listener.once === true) {
|
384
|
+
this.removeListener(evt, listener.listener);
|
385
|
+
}
|
386
|
+
|
387
|
+
response = listener.listener.apply(this, args || []);
|
388
|
+
|
389
|
+
if (response === this._getOnceReturnValue()) {
|
390
|
+
this.removeListener(evt, listener.listener);
|
391
|
+
}
|
392
|
+
}
|
393
|
+
}
|
394
|
+
}
|
395
|
+
|
396
|
+
return this;
|
397
|
+
};
|
398
|
+
|
399
|
+
/**
|
400
|
+
* Alias of emitEvent
|
401
|
+
*/
|
402
|
+
proto.trigger = alias('emitEvent');
|
403
|
+
|
404
|
+
/**
|
405
|
+
* Subtly different from emitEvent in that it will pass its arguments on to the listeners, as opposed to taking a single array of arguments to pass on.
|
406
|
+
* As with emitEvent, you can pass a regex in place of the event name to emit to all events that match it.
|
407
|
+
*
|
408
|
+
* @param {String|RegExp} evt Name of the event to emit and execute listeners for.
|
409
|
+
* @param {...*} Optional additional arguments to be passed to each listener.
|
410
|
+
* @return {Object} Current instance of EventEmitter for chaining.
|
411
|
+
*/
|
412
|
+
proto.emit = function emit(evt) {
|
413
|
+
var args = Array.prototype.slice.call(arguments, 1);
|
414
|
+
return this.emitEvent(evt, args);
|
415
|
+
};
|
416
|
+
|
417
|
+
/**
|
418
|
+
* Sets the current value to check against when executing listeners. If a
|
419
|
+
* listeners return value matches the one set here then it will be removed
|
420
|
+
* after execution. This value defaults to true.
|
421
|
+
*
|
422
|
+
* @param {*} value The new value to check for when executing listeners.
|
423
|
+
* @return {Object} Current instance of EventEmitter for chaining.
|
424
|
+
*/
|
425
|
+
proto.setOnceReturnValue = function setOnceReturnValue(value) {
|
426
|
+
this._onceReturnValue = value;
|
427
|
+
return this;
|
428
|
+
};
|
429
|
+
|
430
|
+
/**
|
431
|
+
* Fetches the current value to check against when executing listeners. If
|
432
|
+
* the listeners return value matches this one then it should be removed
|
433
|
+
* automatically. It will return true by default.
|
434
|
+
*
|
435
|
+
* @return {*|Boolean} The current value to check for or the default, true.
|
436
|
+
* @api private
|
437
|
+
*/
|
438
|
+
proto._getOnceReturnValue = function _getOnceReturnValue() {
|
439
|
+
if (this.hasOwnProperty('_onceReturnValue')) {
|
440
|
+
return this._onceReturnValue;
|
441
|
+
}
|
442
|
+
else {
|
443
|
+
return true;
|
444
|
+
}
|
445
|
+
};
|
446
|
+
|
447
|
+
/**
|
448
|
+
* Fetches the events object and creates one if required.
|
449
|
+
*
|
450
|
+
* @return {Object} The events storage object.
|
451
|
+
* @api private
|
452
|
+
*/
|
453
|
+
proto._getEvents = function _getEvents() {
|
454
|
+
return this._events || (this._events = {});
|
455
|
+
};
|
456
|
+
|
457
|
+
/**
|
458
|
+
* Reverts the global {@link EventEmitter} to its previous value and returns a reference to this version.
|
459
|
+
*
|
460
|
+
* @return {Function} Non conflicting EventEmitter class.
|
461
|
+
*/
|
462
|
+
EventEmitter.noConflict = function noConflict() {
|
463
|
+
exports.EventEmitter = originalGlobalValue;
|
464
|
+
return EventEmitter;
|
465
|
+
};
|
466
|
+
|
467
|
+
// Expose the class either via AMD, CommonJS or the global object
|
468
|
+
if (typeof define === 'function' && define.amd) {
|
469
|
+
define('eventEmitter/EventEmitter',[],function () {
|
470
|
+
return EventEmitter;
|
471
|
+
});
|
472
|
+
}
|
473
|
+
else if (typeof module === 'object' && module.exports){
|
474
|
+
module.exports = EventEmitter;
|
475
|
+
}
|
476
|
+
else {
|
477
|
+
this.EventEmitter = EventEmitter;
|
478
|
+
}
|
479
|
+
}.call(this));
|
480
|
+
|
481
|
+
/*!
|
482
|
+
* eventie v1.0.4
|
483
|
+
* event binding helper
|
484
|
+
* eventie.bind( elem, 'click', myFn )
|
485
|
+
* eventie.unbind( elem, 'click', myFn )
|
486
|
+
*/
|
487
|
+
|
488
|
+
/*jshint browser: true, undef: true, unused: true */
|
489
|
+
/*global define: false */
|
490
|
+
|
491
|
+
( function( window ) {
|
492
|
+
|
493
|
+
|
494
|
+
|
495
|
+
var docElem = document.documentElement;
|
496
|
+
|
497
|
+
var bind = function() {};
|
498
|
+
|
499
|
+
function getIEEvent( obj ) {
|
500
|
+
var event = window.event;
|
501
|
+
// add event.target
|
502
|
+
event.target = event.target || event.srcElement || obj;
|
503
|
+
return event;
|
504
|
+
}
|
505
|
+
|
506
|
+
if ( docElem.addEventListener ) {
|
507
|
+
bind = function( obj, type, fn ) {
|
508
|
+
obj.addEventListener( type, fn, false );
|
509
|
+
};
|
510
|
+
} else if ( docElem.attachEvent ) {
|
511
|
+
bind = function( obj, type, fn ) {
|
512
|
+
obj[ type + fn ] = fn.handleEvent ?
|
513
|
+
function() {
|
514
|
+
var event = getIEEvent( obj );
|
515
|
+
fn.handleEvent.call( fn, event );
|
516
|
+
} :
|
517
|
+
function() {
|
518
|
+
var event = getIEEvent( obj );
|
519
|
+
fn.call( obj, event );
|
520
|
+
};
|
521
|
+
obj.attachEvent( "on" + type, obj[ type + fn ] );
|
522
|
+
};
|
523
|
+
}
|
524
|
+
|
525
|
+
var unbind = function() {};
|
526
|
+
|
527
|
+
if ( docElem.removeEventListener ) {
|
528
|
+
unbind = function( obj, type, fn ) {
|
529
|
+
obj.removeEventListener( type, fn, false );
|
530
|
+
};
|
531
|
+
} else if ( docElem.detachEvent ) {
|
532
|
+
unbind = function( obj, type, fn ) {
|
533
|
+
obj.detachEvent( "on" + type, obj[ type + fn ] );
|
534
|
+
try {
|
535
|
+
delete obj[ type + fn ];
|
536
|
+
} catch ( err ) {
|
537
|
+
// can't delete window object properties
|
538
|
+
obj[ type + fn ] = undefined;
|
539
|
+
}
|
540
|
+
};
|
541
|
+
}
|
542
|
+
|
543
|
+
var eventie = {
|
544
|
+
bind: bind,
|
545
|
+
unbind: unbind
|
546
|
+
};
|
547
|
+
|
548
|
+
// transport
|
549
|
+
if ( typeof define === 'function' && define.amd ) {
|
550
|
+
// AMD
|
551
|
+
define( 'eventie/eventie',eventie );
|
552
|
+
} else {
|
553
|
+
// browser global
|
554
|
+
window.eventie = eventie;
|
555
|
+
}
|
556
|
+
|
557
|
+
})( this );
|
558
|
+
|
1
559
|
/*!
|
2
560
|
* imagesLoaded v3.1.8
|
3
561
|
* JavaScript is all like "You images are done yet or what?"
|
4
562
|
* MIT License
|
5
563
|
*/
|
6
564
|
|
7
|
-
( function( window, factory ) {
|
565
|
+
( function( window, factory ) {
|
8
566
|
// universal module definition
|
9
567
|
|
10
568
|
/*global define: false, module: false, require: false */
|
@@ -39,7 +597,7 @@
|
|
39
597
|
|
40
598
|
function factory( window, EventEmitter, eventie ) {
|
41
599
|
|
42
|
-
|
600
|
+
|
43
601
|
|
44
602
|
var $ = window.jQuery;
|
45
603
|
var console = window.console;
|
@@ -332,4 +890,4 @@ function makeArray( obj ) {
|
|
332
890
|
|
333
891
|
return ImagesLoaded;
|
334
892
|
|
335
|
-
});
|
893
|
+
});
|