Adding bower_components to _site, they wont be gitignored
61
_site/bower_components/vegas/CHANGELOG.md
vendored
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# Vegas jQuery Plugin
|
||||
|
||||
## CHANGE LOG
|
||||
|
||||
### Vegas 1.3.4 2013-12-16
|
||||
|
||||
* Allow overlay(false) to disable overlay when vegas is already running
|
||||
* Fix loading option which didn't work on slideshows
|
||||
|
||||
### Vegas 1.3.3 2013-09-03
|
||||
|
||||
* Fix some size bug. Get the real Viewport size
|
||||
* Fix Destroy method
|
||||
|
||||
### Vegas 1.3.2 2013-08-15
|
||||
* Remove forgotten debug
|
||||
* Add user-select:none to CSS
|
||||
|
||||
### Vegas 1.3.1 2012-09-05
|
||||
* New attempt to fix the webkit image size bug (Thanks orourkedd)
|
||||
* Get rid of imagesLoadedForVegas function
|
||||
* Fixed Css Twitter Bootstrap incompatibility
|
||||
|
||||
### Vegas 1.3.0 2012-05-04
|
||||
|
||||
* Fixed the destroy() error
|
||||
* Fixed the width and height webkit error
|
||||
* Added globale fade settings
|
||||
* Enhanced better image preloading
|
||||
* Enhanced minimized the total overlay image
|
||||
|
||||
### Vegas 1.2.0 2011-09-09
|
||||
|
||||
* Fixed the bug when fading effect is longer than then slideshow delay
|
||||
* Added imagesLoaded plugin by Paul Irish et al, thanks simshaun
|
||||
|
||||
### Vegas 1.1.0 2011-06-17
|
||||
|
||||
* Added default settings
|
||||
* Added 'previous' method
|
||||
* Added 'next' method
|
||||
* Added 'jump' method
|
||||
* Added 'preload' method
|
||||
* Added 'get' method
|
||||
* Added 'preload' option to slideshow method
|
||||
* Added 'step' option to slideshow method
|
||||
* Added 'loading' option to background method
|
||||
* Added 'walk' callback to slideshow method
|
||||
* Renamed 'background*' events to 'vegas*'
|
||||
* Added 'vegasstart' event
|
||||
* Added 'vegasstop event
|
||||
* Added 'vegaspause event
|
||||
* Added 'vegasnext' event
|
||||
* Added 'vegasprevious' event
|
||||
* Added 'vegasjump' event
|
||||
* Added 'vegaswalk' event
|
||||
* Enhanced 'valign' and 'align' with % values
|
||||
|
||||
### Vegas 1.0.0 2011-05-13
|
||||
|
||||
* First public release
|
||||
24
_site/bower_components/vegas/MIT-LICENSE
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2013 Jay Salvat
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the "Software"), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
48
_site/bower_components/vegas/README.md
vendored
Executable file
|
|
@ -0,0 +1,48 @@
|
|||
Vegas – Fullscreen Backgrounds and Slideshows with jQuery
|
||||
=========================================================
|
||||
|
||||
Vegas is a jQuery plugin to add beautiful fullscreen backgrounds to your webpages. You can even create amazing Slideshows.
|
||||
|
||||
$(function() {
|
||||
$.vegas('/img/background.jpg')('overlay');
|
||||
}
|
||||
|
||||
### Official website
|
||||
http://vegas.jaysalvat.com/
|
||||
|
||||
### Real life demo
|
||||
http://vegas.jaysalvat.com/demo/
|
||||
|
||||
### Documentation
|
||||
http://vegas.jaysalvat.com/documentation/
|
||||
|
||||
Contributing
|
||||
------------
|
||||
|
||||
Please don't edit files in the `dist` subdirectory as they are generated via Grunt. You'll find source code in the `src` subdirectory!
|
||||
Regarding code style like indentation and whitespace, **follow the conventions you see used in the source already.**
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
**The MIT License (MIT)**
|
||||
|
||||
Copyright (c) 2013 Jay Salvat
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
17
_site/bower_components/vegas/bower.json
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"name": "Vegas",
|
||||
"version": "1.3.5",
|
||||
"main": [
|
||||
"dist/jquery.vegas.js",
|
||||
"dist/jquery.vegas.css"
|
||||
],
|
||||
"ignore": [
|
||||
"src",
|
||||
"gruntfile.js",
|
||||
"package.json",
|
||||
"component.json"
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": ">=1.9"
|
||||
}
|
||||
}
|
||||
BIN
_site/bower_components/vegas/dist/images/loading.gif
vendored
Executable file
|
After Width: | Height: | Size: 4.4 KiB |
34
_site/bower_components/vegas/dist/jquery.vegas.css
vendored
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
.vegas-loading {
|
||||
border-radius: 10px;
|
||||
background: #000;
|
||||
background: rgba(0,0,0,0.7);
|
||||
background: url(images/loading.gif) no-repeat center center; /* Loading Gif by http://preloaders.net/ */
|
||||
height: 32px;
|
||||
left: 20px;
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
width: 32px;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.vegas-overlay {
|
||||
background: transparent url(overlays/01.png);
|
||||
opacity: 0.5;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.vegas-background {
|
||||
-ms-interpolation-mode: bicubic;
|
||||
image-rendering: optimizeQuality;
|
||||
max-width: none !important; /* counteracts global img modification by twitter bootstrap library */
|
||||
z-index: -2;
|
||||
}
|
||||
|
||||
.vegas-overlay,
|
||||
.vegas-background {
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
319
_site/bower_components/vegas/dist/jquery.vegas.js
vendored
Normal file
|
|
@ -0,0 +1,319 @@
|
|||
// ----------------------------------------------------------------------------
|
||||
// Vegas - Fullscreen Backgrounds and Slideshows with jQuery.
|
||||
// v1.3.5 - released 2014-10-13 19:56
|
||||
// Licensed under the MIT license.
|
||||
// http://vegas.jaysalvat.com/
|
||||
// ----------------------------------------------------------------------------
|
||||
// Copyright (C) 2010-2014 Jay Salvat
|
||||
// http://jaysalvat.com/
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
(function($) {
|
||||
var $background = $("<img />").addClass("vegas-background"), $overlay = $("<div />").addClass("vegas-overlay"), $loading = $("<div />").addClass("vegas-loading"), $current = $(), paused = null, backgrounds = [], step = 0, delay = 5e3, walk = function() {}, timer, methods = {
|
||||
init: function(settings) {
|
||||
var options = {
|
||||
src: getBackground(),
|
||||
align: "center",
|
||||
valign: "center",
|
||||
fade: 0,
|
||||
loading: true,
|
||||
load: function() {},
|
||||
complete: function() {}
|
||||
};
|
||||
$.extend(options, $.vegas.defaults.background, settings);
|
||||
if (options.loading) {
|
||||
loading();
|
||||
}
|
||||
var $new = $background.clone();
|
||||
$new.css({
|
||||
position: "fixed",
|
||||
left: "0px",
|
||||
top: "0px"
|
||||
}).bind("load", function() {
|
||||
if ($new == $current) {
|
||||
return;
|
||||
}
|
||||
$(window).bind("load resize.vegas", function(e) {
|
||||
resize($new, options);
|
||||
});
|
||||
if ($current.is("img")) {
|
||||
$current.stop();
|
||||
$new.hide().insertAfter($current).fadeIn(options.fade, function() {
|
||||
$(".vegas-background").not(this).remove();
|
||||
$("body").trigger("vegascomplete", [ this, step - 1 ]);
|
||||
options.complete.apply($new, [ step - 1 ]);
|
||||
});
|
||||
} else {
|
||||
$new.hide().prependTo("body").fadeIn(options.fade, function() {
|
||||
$("body").trigger("vegascomplete", [ this, step - 1 ]);
|
||||
options.complete.apply(this, [ step - 1 ]);
|
||||
});
|
||||
}
|
||||
$current = $new;
|
||||
resize($current, options);
|
||||
if (options.loading) {
|
||||
loaded();
|
||||
}
|
||||
$("body").trigger("vegasload", [ $current.get(0), step - 1 ]);
|
||||
options.load.apply($current.get(0), [ step - 1 ]);
|
||||
if (step) {
|
||||
$("body").trigger("vegaswalk", [ $current.get(0), step - 1 ]);
|
||||
options.walk.apply($current.get(0), [ step - 1 ]);
|
||||
}
|
||||
}).attr("src", options.src);
|
||||
return $.vegas;
|
||||
},
|
||||
destroy: function(what) {
|
||||
if (!what || what == "background") {
|
||||
$(".vegas-background, .vegas-loading").remove();
|
||||
$(window).unbind("*.vegas");
|
||||
$current = $();
|
||||
}
|
||||
if (!what || what == "overlay") {
|
||||
$(".vegas-overlay").remove();
|
||||
}
|
||||
clearInterval(timer);
|
||||
return $.vegas;
|
||||
},
|
||||
overlay: function(settings) {
|
||||
var options = {
|
||||
src: null,
|
||||
opacity: null
|
||||
};
|
||||
$.extend(options, $.vegas.defaults.overlay, settings);
|
||||
$overlay.remove();
|
||||
$overlay.css({
|
||||
margin: "0",
|
||||
padding: "0",
|
||||
position: "fixed",
|
||||
left: "0px",
|
||||
top: "0px",
|
||||
width: "100%",
|
||||
height: "100%"
|
||||
});
|
||||
if (options.src === false) {
|
||||
$overlay.css("backgroundImage", "none");
|
||||
}
|
||||
if (options.src) {
|
||||
$overlay.css("backgroundImage", "url(" + options.src + ")");
|
||||
}
|
||||
if (options.opacity) {
|
||||
$overlay.css("opacity", options.opacity);
|
||||
}
|
||||
$overlay.prependTo("body");
|
||||
return $.vegas;
|
||||
},
|
||||
slideshow: function(settings, keepPause) {
|
||||
var options = {
|
||||
step: step,
|
||||
delay: delay,
|
||||
preload: false,
|
||||
loading: true,
|
||||
backgrounds: backgrounds,
|
||||
walk: walk
|
||||
};
|
||||
$.extend(options, $.vegas.defaults.slideshow, settings);
|
||||
if (options.backgrounds != backgrounds) {
|
||||
if (!settings.step) {
|
||||
options.step = 0;
|
||||
}
|
||||
if (!settings.walk) {
|
||||
options.walk = function() {};
|
||||
}
|
||||
if (options.preload) {
|
||||
$.vegas("preload", options.backgrounds);
|
||||
}
|
||||
}
|
||||
backgrounds = options.backgrounds;
|
||||
delay = options.delay;
|
||||
step = options.step;
|
||||
walk = options.walk;
|
||||
clearInterval(timer);
|
||||
if (!backgrounds.length) {
|
||||
return $.vegas;
|
||||
}
|
||||
var doSlideshow = function() {
|
||||
if (step < 0) {
|
||||
step = backgrounds.length - 1;
|
||||
}
|
||||
if (step >= backgrounds.length || !backgrounds[step - 1]) {
|
||||
step = 0;
|
||||
}
|
||||
var settings = backgrounds[step++];
|
||||
settings.walk = options.walk;
|
||||
settings.loading = options.loading;
|
||||
if (typeof settings.fade == "undefined") {
|
||||
settings.fade = options.fade;
|
||||
}
|
||||
if (settings.fade > options.delay) {
|
||||
settings.fade = options.delay;
|
||||
}
|
||||
$.vegas(settings);
|
||||
};
|
||||
doSlideshow();
|
||||
if (!keepPause) {
|
||||
paused = false;
|
||||
$("body").trigger("vegasstart", [ $current.get(0), step - 1 ]);
|
||||
}
|
||||
if (!paused) {
|
||||
timer = setInterval(doSlideshow, options.delay);
|
||||
}
|
||||
return $.vegas;
|
||||
},
|
||||
next: function() {
|
||||
var from = step;
|
||||
if (step) {
|
||||
$.vegas("slideshow", {
|
||||
step: step
|
||||
}, true);
|
||||
$("body").trigger("vegasnext", [ $current.get(0), step - 1, from - 1 ]);
|
||||
}
|
||||
return $.vegas;
|
||||
},
|
||||
previous: function() {
|
||||
var from = step;
|
||||
if (step) {
|
||||
$.vegas("slideshow", {
|
||||
step: step - 2
|
||||
}, true);
|
||||
$("body").trigger("vegasprevious", [ $current.get(0), step - 1, from - 1 ]);
|
||||
}
|
||||
return $.vegas;
|
||||
},
|
||||
jump: function(s) {
|
||||
var from = step;
|
||||
if (step) {
|
||||
$.vegas("slideshow", {
|
||||
step: s
|
||||
}, true);
|
||||
$("body").trigger("vegasjump", [ $current.get(0), step - 1, from - 1 ]);
|
||||
}
|
||||
return $.vegas;
|
||||
},
|
||||
stop: function() {
|
||||
var from = step;
|
||||
step = 0;
|
||||
paused = null;
|
||||
clearInterval(timer);
|
||||
$("body").trigger("vegasstop", [ $current.get(0), from - 1 ]);
|
||||
return $.vegas;
|
||||
},
|
||||
pause: function() {
|
||||
paused = true;
|
||||
clearInterval(timer);
|
||||
$("body").trigger("vegaspause", [ $current.get(0), step - 1 ]);
|
||||
return $.vegas;
|
||||
},
|
||||
get: function(what) {
|
||||
if (what === null || what == "background") {
|
||||
return $current.get(0);
|
||||
}
|
||||
if (what == "overlay") {
|
||||
return $overlay.get(0);
|
||||
}
|
||||
if (what == "step") {
|
||||
return step - 1;
|
||||
}
|
||||
if (what == "paused") {
|
||||
return paused;
|
||||
}
|
||||
},
|
||||
preload: function(backgrounds) {
|
||||
var cache = [];
|
||||
for (var i in backgrounds) {
|
||||
if (backgrounds[i].src) {
|
||||
var cacheImage = document.createElement("img");
|
||||
cacheImage.src = backgrounds[i].src;
|
||||
cache.push(cacheImage);
|
||||
}
|
||||
}
|
||||
return $.vegas;
|
||||
}
|
||||
};
|
||||
function resize($img, settings) {
|
||||
var options = {
|
||||
align: "center",
|
||||
valign: "center"
|
||||
};
|
||||
$.extend(options, settings);
|
||||
if ($img.height() === 0) {
|
||||
$img.load(function() {
|
||||
resize($(this), settings);
|
||||
});
|
||||
return;
|
||||
}
|
||||
var vp = getViewportSize(), ww = vp.width, wh = vp.height, iw = $img.width(), ih = $img.height(), rw = wh / ww, ri = ih / iw, newWidth, newHeight, newLeft, newTop, properties;
|
||||
if (rw > ri) {
|
||||
newWidth = wh / ri;
|
||||
newHeight = wh;
|
||||
} else {
|
||||
newWidth = ww;
|
||||
newHeight = ww * ri;
|
||||
}
|
||||
properties = {
|
||||
width: newWidth + "px",
|
||||
height: newHeight + "px",
|
||||
top: "auto",
|
||||
bottom: "auto",
|
||||
left: "auto",
|
||||
right: "auto"
|
||||
};
|
||||
if (!isNaN(parseInt(options.valign, 10))) {
|
||||
properties.top = 0 - (newHeight - wh) / 100 * parseInt(options.valign, 10) + "px";
|
||||
} else if (options.valign == "top") {
|
||||
properties.top = 0;
|
||||
} else if (options.valign == "bottom") {
|
||||
properties.bottom = 0;
|
||||
} else {
|
||||
properties.top = (wh - newHeight) / 2;
|
||||
}
|
||||
if (!isNaN(parseInt(options.align, 10))) {
|
||||
properties.left = 0 - (newWidth - ww) / 100 * parseInt(options.align, 10) + "px";
|
||||
} else if (options.align == "left") {
|
||||
properties.left = 0;
|
||||
} else if (options.align == "right") {
|
||||
properties.right = 0;
|
||||
} else {
|
||||
properties.left = (ww - newWidth) / 2;
|
||||
}
|
||||
$img.css(properties);
|
||||
}
|
||||
function loading() {
|
||||
$loading.prependTo("body").fadeIn();
|
||||
}
|
||||
function loaded() {
|
||||
$loading.fadeOut("fast", function() {
|
||||
$(this).remove();
|
||||
});
|
||||
}
|
||||
function getBackground() {
|
||||
if ($("body").css("backgroundImage")) {
|
||||
return $("body").css("backgroundImage").replace(/url\("?(.*?)"?\)/i, "$1");
|
||||
}
|
||||
}
|
||||
function getViewportSize() {
|
||||
var elmt = window, prop = "inner";
|
||||
if (!("innerWidth" in window)) {
|
||||
elmt = document.documentElement || document.body;
|
||||
prop = "client";
|
||||
}
|
||||
return {
|
||||
width: elmt[prop + "Width"],
|
||||
height: elmt[prop + "Height"]
|
||||
};
|
||||
}
|
||||
$.vegas = function(method) {
|
||||
if (methods[method]) {
|
||||
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
|
||||
} else if (typeof method === "object" || !method) {
|
||||
return methods.init.apply(this, arguments);
|
||||
} else {
|
||||
$.error("Method " + method + " does not exist");
|
||||
}
|
||||
};
|
||||
$.vegas.defaults = {
|
||||
background: {},
|
||||
slideshow: {},
|
||||
overlay: {}
|
||||
};
|
||||
})(jQuery);
|
||||
1
_site/bower_components/vegas/dist/jquery.vegas.min.css
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
.vegas-loading{border-radius:10px;background:#000;background:rgba(0,0,0,.7);background:url(images/loading.gif) no-repeat center center;height:32px;left:20px;position:fixed;top:20px;width:32px;z-index:0}.vegas-overlay{background:transparent url(overlays/01.png);opacity:.5;z-index:-1}.vegas-background{-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality;max-width:none!important;z-index:-2}.vegas-overlay,.vegas-background{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
||||
11
_site/bower_components/vegas/dist/jquery.vegas.min.js
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// ----------------------------------------------------------------------------
|
||||
// Vegas - Fullscreen Backgrounds and Slideshows with jQuery.
|
||||
// v1.3.5 - released 2014-10-13 19:56
|
||||
// Licensed under the MIT license.
|
||||
// http://vegas.jaysalvat.com/
|
||||
// ----------------------------------------------------------------------------
|
||||
// Copyright (C) 2010-2014 Jay Salvat
|
||||
// http://jaysalvat.com/
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
(function(e){function t(a,n){var o={align:"center",valign:"center"};if(e.extend(o,n),0===a.height())return a.load(function(){t(e(this),n)}),void 0;var i,s,g,d=r(),l=d.width,u=d.height,c=a.width(),v=a.height(),p=u/l,f=v/c;p>f?(i=u/f,s=u):(i=l,s=l*f),g={width:i+"px",height:s+"px",top:"auto",bottom:"auto",left:"auto",right:"auto"},isNaN(parseInt(o.valign,10))?"top"==o.valign?g.top=0:"bottom"==o.valign?g.bottom=0:g.top=(u-s)/2:g.top=0-(s-u)/100*parseInt(o.valign,10)+"px",isNaN(parseInt(o.align,10))?"left"==o.align?g.left=0:"right"==o.align?g.right=0:g.left=(l-i)/2:g.left=0-(i-l)/100*parseInt(o.align,10)+"px",a.css(g)}function a(){d.prependTo("body").fadeIn()}function n(){d.fadeOut("fast",function(){e(this).remove()})}function o(){return e("body").css("backgroundImage")?e("body").css("backgroundImage").replace(/url\("?(.*?)"?\)/i,"$1"):void 0}function r(){var e=window,t="inner";return"innerWidth"in window||(e=document.documentElement||document.body,t="client"),{width:e[t+"Width"],height:e[t+"Height"]}}var i,s=e("<img />").addClass("vegas-background"),g=e("<div />").addClass("vegas-overlay"),d=e("<div />").addClass("vegas-loading"),l=e(),u=null,c=[],v=0,p=5e3,f=function(){},h={init:function(r){var i={src:o(),align:"center",valign:"center",fade:0,loading:!0,load:function(){},complete:function(){}};e.extend(i,e.vegas.defaults.background,r),i.loading&&a();var g=s.clone();return g.css({position:"fixed",left:"0px",top:"0px"}).bind("load",function(){g!=l&&(e(window).bind("load resize.vegas",function(){t(g,i)}),l.is("img")?(l.stop(),g.hide().insertAfter(l).fadeIn(i.fade,function(){e(".vegas-background").not(this).remove(),e("body").trigger("vegascomplete",[this,v-1]),i.complete.apply(g,[v-1])})):g.hide().prependTo("body").fadeIn(i.fade,function(){e("body").trigger("vegascomplete",[this,v-1]),i.complete.apply(this,[v-1])}),l=g,t(l,i),i.loading&&n(),e("body").trigger("vegasload",[l.get(0),v-1]),i.load.apply(l.get(0),[v-1]),v&&(e("body").trigger("vegaswalk",[l.get(0),v-1]),i.walk.apply(l.get(0),[v-1])))}).attr("src",i.src),e.vegas},destroy:function(t){return t&&"background"!=t||(e(".vegas-background, .vegas-loading").remove(),e(window).unbind("*.vegas"),l=e()),t&&"overlay"!=t||e(".vegas-overlay").remove(),clearInterval(i),e.vegas},overlay:function(t){var a={src:null,opacity:null};return e.extend(a,e.vegas.defaults.overlay,t),g.remove(),g.css({margin:"0",padding:"0",position:"fixed",left:"0px",top:"0px",width:"100%",height:"100%"}),a.src===!1&&g.css("backgroundImage","none"),a.src&&g.css("backgroundImage","url("+a.src+")"),a.opacity&&g.css("opacity",a.opacity),g.prependTo("body"),e.vegas},slideshow:function(t,a){var n={step:v,delay:p,preload:!1,loading:!0,backgrounds:c,walk:f};if(e.extend(n,e.vegas.defaults.slideshow,t),n.backgrounds!=c&&(t.step||(n.step=0),t.walk||(n.walk=function(){}),n.preload&&e.vegas("preload",n.backgrounds)),c=n.backgrounds,p=n.delay,v=n.step,f=n.walk,clearInterval(i),!c.length)return e.vegas;var o=function(){0>v&&(v=c.length-1),(v>=c.length||!c[v-1])&&(v=0);var t=c[v++];t.walk=n.walk,t.loading=n.loading,t.fade===void 0&&(t.fade=n.fade),t.fade>n.delay&&(t.fade=n.delay),e.vegas(t)};return o(),a||(u=!1,e("body").trigger("vegasstart",[l.get(0),v-1])),u||(i=setInterval(o,n.delay)),e.vegas},next:function(){var t=v;return v&&(e.vegas("slideshow",{step:v},!0),e("body").trigger("vegasnext",[l.get(0),v-1,t-1])),e.vegas},previous:function(){var t=v;return v&&(e.vegas("slideshow",{step:v-2},!0),e("body").trigger("vegasprevious",[l.get(0),v-1,t-1])),e.vegas},jump:function(t){var a=v;return v&&(e.vegas("slideshow",{step:t},!0),e("body").trigger("vegasjump",[l.get(0),v-1,a-1])),e.vegas},stop:function(){var t=v;return v=0,u=null,clearInterval(i),e("body").trigger("vegasstop",[l.get(0),t-1]),e.vegas},pause:function(){return u=!0,clearInterval(i),e("body").trigger("vegaspause",[l.get(0),v-1]),e.vegas},get:function(e){return null===e||"background"==e?l.get(0):"overlay"==e?g.get(0):"step"==e?v-1:"paused"==e?u:void 0},preload:function(t){var a=[];for(var n in t)if(t[n].src){var o=document.createElement("img");o.src=t[n].src,a.push(o)}return e.vegas}};e.vegas=function(t){return h[t]?h[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?(e.error("Method "+t+" does not exist"),void 0):h.init.apply(this,arguments)},e.vegas.defaults={background:{},slideshow:{},overlay:{}}})(jQuery);
|
||||
4
_site/bower_components/vegas/dist/metadata.json
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"date": "2014-10-13 19:56:09",
|
||||
"version": "1.3.5"
|
||||
}
|
||||
BIN
_site/bower_components/vegas/dist/overlays/01.png
vendored
Executable file
|
After Width: | Height: | Size: 213 B |
BIN
_site/bower_components/vegas/dist/overlays/02.png
vendored
Executable file
|
After Width: | Height: | Size: 211 B |
BIN
_site/bower_components/vegas/dist/overlays/03.png
vendored
Executable file
|
After Width: | Height: | Size: 209 B |
BIN
_site/bower_components/vegas/dist/overlays/04.png
vendored
Executable file
|
After Width: | Height: | Size: 211 B |
BIN
_site/bower_components/vegas/dist/overlays/05.png
vendored
Executable file
|
After Width: | Height: | Size: 213 B |
BIN
_site/bower_components/vegas/dist/overlays/06.png
vendored
Executable file
|
After Width: | Height: | Size: 211 B |
BIN
_site/bower_components/vegas/dist/overlays/07.png
vendored
Executable file
|
After Width: | Height: | Size: 215 B |
BIN
_site/bower_components/vegas/dist/overlays/08.png
vendored
Executable file
|
After Width: | Height: | Size: 146 B |
BIN
_site/bower_components/vegas/dist/overlays/09.png
vendored
Executable file
|
After Width: | Height: | Size: 208 B |
BIN
_site/bower_components/vegas/dist/overlays/10.png
vendored
Executable file
|
After Width: | Height: | Size: 137 B |
BIN
_site/bower_components/vegas/dist/overlays/11.png
vendored
Executable file
|
After Width: | Height: | Size: 124 B |
BIN
_site/bower_components/vegas/dist/overlays/12.png
vendored
Executable file
|
After Width: | Height: | Size: 130 B |
BIN
_site/bower_components/vegas/dist/overlays/13.png
vendored
Executable file
|
After Width: | Height: | Size: 142 B |
BIN
_site/bower_components/vegas/dist/overlays/14.png
vendored
Executable file
|
After Width: | Height: | Size: 126 B |
BIN
_site/bower_components/vegas/dist/overlays/15.png
vendored
Executable file
|
After Width: | Height: | Size: 137 B |