Get rid of unneeded stuff
61
Gulpfile.js
@@ -1,61 +0,0 @@
|
||||
"use strict"
|
||||
let gulp = require('gulp');
|
||||
let cleanCSS = require('gulp-clean-css');
|
||||
let uglify = require('gulp-uglify');
|
||||
let concat = require('gulp-concat');
|
||||
let gulpCopy = require('gulp-copy');
|
||||
let RevAll = require('gulp-rev-all');
|
||||
|
||||
gulp.task('styles', () => {
|
||||
return gulp.src([
|
||||
'css/bootstrap.min.css',
|
||||
'css/style.css',
|
||||
'css/owl.carousel.css'
|
||||
])
|
||||
.pipe(cleanCSS({compatibility: 'ie8'}))
|
||||
.pipe(concat('all.css'))
|
||||
.pipe(gulp.dest('dist'));
|
||||
});
|
||||
|
||||
gulp.task('scripts', () => {
|
||||
return gulp.src([
|
||||
'js/jquery-1.11.2.min.js',
|
||||
'js/bootstrap.min.js',
|
||||
'js/owl.carousel.min.js',
|
||||
'js/jquery.bcSwipe.min.js',
|
||||
'js/custom.js'
|
||||
])
|
||||
.pipe(uglify())
|
||||
.pipe(concat('all.js'))
|
||||
.pipe(gulp.dest('dist'))
|
||||
})
|
||||
|
||||
gulp.task('copy:images', () => {
|
||||
return gulp.src('img/**/*')
|
||||
.pipe(gulp.dest('dist/img'))
|
||||
})
|
||||
|
||||
gulp.task('copy:fonts', () => {
|
||||
return gulp.src('fonts/**/*')
|
||||
.pipe(gulp.dest('dist/fonts'))
|
||||
})
|
||||
|
||||
gulp.task('copy:html', () => {
|
||||
return gulp.src(['index.html', 'favicon.ico'])
|
||||
.pipe(gulp.dest('dist'))
|
||||
})
|
||||
|
||||
// Experimental
|
||||
gulp.task('cdn', () => {
|
||||
return gulp
|
||||
.src('dist/**')
|
||||
.pipe(RevAll.revision({ dontRenameFile: ['.html', '.png', '.svg', '.jpeg', '.jpg']}))
|
||||
.pipe(gulp.dest('cdn'));
|
||||
})
|
||||
|
||||
gulp.task('copy', ['copy:images', 'copy:html', 'copy:fonts'])
|
||||
gulp.task('build', ['styles', 'scripts', 'copy']);
|
||||
|
||||
gulp.task('watch', function() {
|
||||
gulp.watch(['index.html', 'js/**/*.js', 'css/**/*.css'], ['build']);
|
||||
});
|
||||
15
README.md
@@ -1,15 +0,0 @@
|
||||
# Saburly Website
|
||||
|
||||
## TODO:
|
||||
|
||||
Mobile:
|
||||
|
||||
[X] - Our work slider not working
|
||||
|
||||
[X] - More precise menu button
|
||||
|
||||
[X] - Remove landing animation on mobile
|
||||
|
||||
[X] - Use SVG logos
|
||||
|
||||
[X] - Collapse borders on how we work
|
||||
7
dist/all.css
vendored
5
dist/all.js
vendored
BIN
dist/favicon.ico
vendored
|
Before Width: | Height: | Size: 1.1 KiB |
BIN
dist/fonts/Helvetica-Regular.ttf
vendored
BIN
dist/img/Thumbs.db
vendored
BIN
dist/img/arrow.png
vendored
|
Before Width: | Height: | Size: 171 B |
BIN
dist/img/banner.png
vendored
|
Before Width: | Height: | Size: 36 KiB |
BIN
dist/img/banner2.png
vendored
|
Before Width: | Height: | Size: 65 KiB |
BIN
dist/img/footer.png
vendored
|
Before Width: | Height: | Size: 3.1 KiB |
BIN
dist/img/line.png
vendored
|
Before Width: | Height: | Size: 89 B |
BIN
dist/img/logo.png
vendored
|
Before Width: | Height: | Size: 923 B |
46
dist/img/logo.svg
vendored
@@ -1,46 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="204px" height="34px" viewBox="0 0 204 34" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>logo</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs>
|
||||
<filter x="-3.6%" y="-18.5%" width="107.7%" height="151.9%" filterUnits="objectBoundingBox" id="filter-1">
|
||||
<feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
|
||||
<feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
|
||||
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0" type="matrix" in="shadowBlurOuter1" result="shadowMatrixOuter1"></feColorMatrix>
|
||||
<feMerge>
|
||||
<feMergeNode in="shadowMatrixOuter1"></feMergeNode>
|
||||
<feMergeNode in="SourceGraphic"></feMergeNode>
|
||||
</feMerge>
|
||||
</filter>
|
||||
</defs>
|
||||
<g id="assets" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="logo" fill-rule="nonzero" fill="#FFFFFF">
|
||||
<g transform="translate(4.000000, 1.000000)" id="saburly_final-_1_">
|
||||
<g filter="url(#filter-1)">
|
||||
<g id="g26" transform="translate(98.000000, 13.500000) scale(1, -1) translate(-98.000000, -13.500000) ">
|
||||
<path d="M8.35068713,10.3587376 C8.315517,10.3574522 8.28202163,10.3578807 8.24768889,10.3587376 L8.17902339,10.3591661 C8.15641402,10.3591661 8.13422334,10.36088 8.11203266,10.3630224 C8.07728123,10.3651648 8.04294848,10.3677357 8.00610358,10.3685926 C4.52132973,10.4632861 1.68594724,13.4399176 1.68594724,17.0044199 C1.68594724,20.5684937 4.52132973,23.5451252 8.00777835,23.6398187 C8.04294848,23.6406757 8.07728123,23.6432465 8.11203266,23.6453889 C8.13422334,23.6471028 8.15641402,23.6492452 8.17902339,23.6492452 L8.24768889,23.6496737 C8.26527395,23.6496737 8.28244032,23.6496737 8.30170016,23.6496737 C8.32095999,23.6496737 8.34189459,23.6496737 8.36701612,23.6492452 L21.1635009,23.6492452 L23.8171711,23.6492452 L23.8234515,25.1874786 L8.17902339,25.1874786 C8.13087381,25.1874786 8.08314291,25.1844792 8.03583071,25.1810514 L7.97721383,25.1776236 C3.67934004,25.066648 0.182842814,21.4005966 0.182842814,17.0044199 C0.182842814,12.6082432 3.67934004,8.94133487 7.97805121,8.83078774 L8.03583071,8.82735992 C8.08314291,8.8239321 8.13087381,8.82093276 8.17902339,8.82093276" id="path34"></path>
|
||||
<path d="M8.17910713,8.7138563 C8.1280267,8.7138563 8.07862104,8.71685564 8.02837799,8.72028345 L7.97227326,8.72371127 C3.62080689,8.83597231 0.0782535422,12.5504417 0.0782535422,17.0044628 C0.0782535422,21.4576269 3.6203882,25.1725247 7.97436672,25.2847858 L8.02963407,25.2877851 C8.07862104,25.2912129 8.1280267,25.2946407 8.17910713,25.2946407 L23.9286269,25.2946407 L23.9215091,23.5417403 L8.17952582,23.5417403 C8.1594286,23.5417403 8.14016877,23.5404548 8.12090894,23.5387409 L8.09243788,23.5365985 C8.06522289,23.5348846 8.03800791,23.5331707 8.00995555,23.5323138 C4.58086774,23.4397627 1.79070399,20.5111206 1.79070399,17.0044628 C1.79070399,13.4973764 4.58003035,10.5687343 8.00911816,10.4757548 C8.03758922,10.4748978 8.06564159,10.4731839 8.09327526,10.47147 L8.12090894,10.4697561 C8.14016877,10.4680422 8.1594286,10.4663283 8.17910713,10.4663283 L8.24861001,10.4658998 C8.28294276,10.4646144 8.31476335,10.4650428 8.34742133,10.4658998 L8.35370171,10.2516612 C8.31685681,10.2503757 8.28126799,10.2508042 8.24526047,10.2516612 L8.17868844,10.2520897 C8.15356691,10.2520897 8.1280267,10.254232 8.10332387,10.2563744 C8.05517429,10.2589453 8.03005276,10.2606592 8.00409386,10.2615162 C4.46237789,10.3574951 1.58135797,13.3825445 1.58135797,17.0044628 C1.58135797,20.6259525 4.46279658,23.6505735 8.00451255,23.7465524 C8.03005276,23.7474094 8.05475559,23.7486948 8.07945842,23.7504087 L8.10583602,23.7521226 C8.1280267,23.754265 8.15356691,23.7559789 8.17910713,23.7559789 L8.3017839,23.7568359 L8.37044939,23.7559789 L23.7130005,23.7559789 L23.7184435,25.0804021 L8.17910713,25.0804021 C8.133051,25.0804021 8.08783226,25.0769743 8.04261352,25.073975 L7.98315925,25.0705471 C3.73845935,24.960857 0.287599562,21.342795 0.287599562,17.0044628 C0.287599562,12.665702 3.73887805,9.0472116 7.9806471,8.93752142 L8.04135745,8.93409361 C8.08783226,8.93109426 8.133051,8.92809492 8.17910713,8.92809492 L8.17910713,8.7138563 Z" id="path38"></path>
|
||||
<path d="M15.6557328,15.0799572 C15.6909029,15.0812426 15.7243982,15.0808141 15.758731,15.0799572 L15.8273965,15.0795287 C15.8500059,15.0795287 15.8721965,15.0778148 15.8943872,15.0756724 C15.9291387,15.07353 15.9634714,15.0709591 16.0003163,15.0701022 C19.4850902,14.9754087 22.3204726,11.9987772 22.3204726,8.43427488 C22.3204726,4.87020105 19.4850902,1.89356955 15.9986415,1.79887607 C15.9634714,1.79801912 15.9291387,1.79544825 15.8943872,1.79330587 C15.8721965,1.79159196 15.8500059,1.78944957 15.8273965,1.78944957 L15.758731,1.78902109 C15.7411459,1.78902109 15.7239796,1.78902109 15.7047197,1.78902109 C15.6854599,1.78902109 15.6645253,1.78902109 15.6394038,1.78944957 L2.84291895,1.78944957 L0.189248802,1.78944957 L0.182968421,0.251216216 L15.8273965,0.251216216 C15.8755461,0.251216216 15.923277,0.254215557 15.9705892,0.257643375 L16.0292061,0.261071193 C20.3270798,0.372046803 23.8235771,4.03809822 23.8235771,8.43427488 C23.8235771,12.8304515 20.3270798,16.4973599 16.0283687,16.6079071 L15.9705892,16.6113349 C15.923277,16.6147627 15.8755461,16.617762 15.8273965,16.617762" id="path42"></path>
|
||||
<polygon id="path46" points="49.7113896 0.245260382 38.9438864 21.542294 28.1763833 0.245260382 26.654019 0.998094924 38.9438864 25.3060382 51.2337539 0.998094924"></polygon>
|
||||
<path d="M71.7201461,16.8358141 L71.6640413,16.8388134 C71.6439441,16.8400989 71.6238469,16.8405274 71.6037497,16.8413843 L71.6037497,16.8452406 L71.516243,16.8452406 C71.5154056,16.8452406 71.5145683,16.8452406 71.5133122,16.8452406 L71.5133122,16.8452406 L71.4827477,16.8452406 L71.4827477,15.0867699 L71.6037497,15.0867699 L71.6037497,15.0876269 C71.6297086,15.085913 71.6560862,15.0841991 71.6837198,15.0833421 C75.112389,14.9903626 77.902134,12.0617205 77.902134,8.55506262 C77.902134,5.04797627 75.1119703,2.11933421 71.6824638,2.02635465 C71.6531553,2.02592617 71.6242656,2.02421226 71.5710917,2.02078444 C71.5518319,2.01907053 71.5329907,2.01735662 71.5128935,2.01735662 L57.4385606,2.01735662 L57.4385606,8.72216875 L55.7637924,8.72216875 L55.7637924,0.264884641 L71.5133122,0.264884641 C71.5639739,0.264884641 71.614217,0.267883982 71.6623665,0.2713118 L71.7180526,0.274739618 C76.0720311,0.387000659 79.6141658,4.10147001 79.6141658,8.55506262 C79.6141658,13.0086552 76.0716124,16.7231246 71.7201461,16.8358141" id="path50"></path>
|
||||
<path d="M71.6825056,10.4755834 C71.6531972,10.4747264 71.6243074,10.4730125 71.5707149,10.4695847 C71.5518737,10.4678708 71.5330326,10.4665854 71.5129354,10.4665854 L57.4386024,10.4665854 L57.4386024,23.5355702 L71.6037915,23.5355702 L71.6037915,23.5364272 C71.6297504,23.5347132 71.656128,23.5334278 71.683343,23.5325709 C75.1124308,23.4395913 77.9017572,20.5109492 77.9017572,17.0038629 C77.9017572,13.497205 75.1115934,10.568563 71.6825056,10.4755834 M71.7201879,25.2850428 L71.6640832,25.2876137 C71.643986,25.2893276 71.6234701,25.2893276 71.6037915,25.2906131 L71.6037915,25.2944693 L71.5162849,25.2944693 C71.5154475,25.2944693 71.5146101,25.2944693 71.5133541,25.2944693 L71.5133541,25.2944693 L57.4386024,25.2944693 L55.7814193,25.2944693 L55.7638343,25.2944693 L55.7638343,8.71411338 L57.4386024,8.71411338 L71.5133541,8.71411338 C71.5640158,8.71411338 71.6142588,8.71711272 71.6624084,8.72011206 L71.7180945,8.72353988 C76.072073,8.8362294 79.6142076,12.5506987 79.6142076,17.0038629 C79.6142076,21.457884 76.0716543,25.1723533 71.7201879,25.2850428" id="path54"></path>
|
||||
<g id="Group-7" transform="translate(85.142857, 0.248685)">
|
||||
<path d="M12.0367376,0.0026599196 C5.48378853,0.0026599196 0.152582785,5.55144041 0.152582785,12.3719414 C0.152582785,12.454209 0.147977173,12.5399045 0.143790253,12.6260284 C0.132066875,12.8359823 0.121180882,13.0403659 0.134160336,13.2486059 L0.132485568,25.0775775 L1.82358272,25.0775775 L1.82358272,13.1920469 C1.81437149,13.0180851 1.82316402,12.8869711 1.83070048,12.7575709 C1.83781825,12.6217436 1.84409863,12.4940574 1.84409863,12.3719414 C1.84409863,6.50823012 6.41663439,1.73842129 12.0367376,1.73842129 C17.4558687,1.73842129 21.9463408,6.14830923 22.2599412,11.7785004 L22.2729206,12.1401352 C22.2762702,12.246826 22.2783636,12.3260943 22.2783636,12.4057911 C22.2783636,12.4859163 22.2762702,12.5660416 22.273758,12.6453099 L22.2448683,13.4002868 L23.9430832,13.4581312 L23.9627617,12.7301484 C23.9665299,12.6226006 23.9694608,12.5150528 23.9694608,12.4057911 C23.9694608,12.2969579 23.9665299,12.1894101 23.9627617,12.0814338 L23.9347093,11.4674259 C23.4624247,5.03084054 18.2371481,0.0026599196 12.0367376,0.0026599196" id="path58"></path>
|
||||
<path d="M6.75384896,15.8689585 C6.75384896,16.623507 7.3513225,17.234944 8.08863919,17.234944 C8.82553718,17.234944 9.42301072,16.623507 9.42301072,15.8689585 C9.42301072,15.1144101 8.82553718,14.502973 8.08863919,14.502973 C7.3513225,14.502973 6.75384896,15.1144101 6.75384896,15.8689585" id="path62"></path>
|
||||
<path d="M15.0308463,15.8689585 C15.0308463,16.623507 15.6283198,17.234944 16.3656365,17.234944 C17.1025345,17.234944 17.700008,16.623507 17.700008,15.8689585 C17.700008,15.1144101 17.1025345,14.502973 16.3656365,14.502973 C15.6283198,14.502973 15.0308463,15.1144101 15.0308463,15.8689585" id="path66"></path>
|
||||
</g>
|
||||
<path d="M129.891543,8.72011206 C129.843394,8.71668425 129.793151,8.7136849 129.742489,8.7136849 L127.597948,8.7136849 L135.759512,0.251259064 L138.049758,0.251259064 L129.956022,8.72396836 C129.952672,8.72396836 129.95016,8.72353988 129.947229,8.72353988 L129.891543,8.72011206 Z" id="path70"></path>
|
||||
<polygon id="path74" points="115.683438 23.5356131 115.667528 23.5356131 115.667528 10.4661997 115.675483 10.4661997 115.675483 21.0860086 125.909154 10.4661997 128.277276 10.4661997"></polygon>
|
||||
<polygon id="path78" points="113.992885 8.71381345 113.992885 15.2960811 113.974882 0.251387607 115.670166 0.251387607 115.675609 8.71381345 115.667654 8.71381345"></polygon>
|
||||
<path d="M129.949197,25.2847001 L129.893092,25.2876994 C129.872995,25.2889848 129.852898,25.2894133 129.832801,25.2902703 L129.832801,25.2941266 L129.745294,25.2941266 C129.744457,25.2941266 129.743619,25.2941266 129.742363,25.2941266 L129.742363,25.2941266 L115.667612,25.2941266 L114.010847,25.2941266 L113.992844,25.2941266 L113.992844,15.2960382 L113.992844,8.7137706 L115.667612,8.7137706 L115.675567,8.7137706 L115.675567,10.4662426 L115.667612,10.4662426 L115.667612,23.5356559 L115.683522,23.5356559 L129.832801,23.5356559 L129.832801,23.5365129 C129.85876,23.5347989 129.885556,23.533085 129.912771,23.5322281 C133.34144,23.4392485 136.131185,20.5106065 136.131185,17.0039486 C136.131185,13.4968622 133.341021,10.5682202 129.911515,10.4752406 C129.882206,10.4748121 129.853317,10.4730982 129.800143,10.4696704 C129.780883,10.4679565 129.762042,10.4662426 129.741945,10.4662426 L128.276941,10.4662426 L125.909238,10.4662426 L127.597823,8.7137706 L129.742363,8.7137706 C129.793025,8.7137706 129.843268,8.71676994 129.891418,8.72019776 L129.947104,8.72362558 C129.950035,8.72362558 129.952965,8.72405405 129.955896,8.72405405 C134.305688,8.84145682 137.843217,12.5533553 137.843217,17.0039486 C137.843217,21.4575412 134.300664,25.1720105 129.949197,25.2847001" id="path82"></path>
|
||||
<path d="M146.864607,23.4946935 L156.082949,23.4946935 L156.082949,2.00570204 L146.864607,2.00570204 L146.864607,23.4946935 Z M145.165973,0.25151615 L157.781583,0.25151615 L157.781583,25.2497363 L145.165973,25.2497363 L145.165973,0.25151615 Z" id="path84"></path>
|
||||
<polygon id="path88" points="168.995496 0.251344759 145.166057 0.251344759 145.166057 8.21802241 146.864691 8.21802241 146.864691 2.00595913 167.32952 2.00253131 167.32952 8.21802241 168.995496 8.21802241"></polygon>
|
||||
<polygon id="path92" points="189.294649 0.291707317 189.294649 25.1605274 187.596015 25.1605274 187.596015 2.03389585 177.304984 2.00775873 177.306658 0.291707317"></polygon>
|
||||
<path d="M195.984343,24.4940738 L195.964246,25.2220567 L194.266449,25.1642123 L194.29492,24.4092353 C194.297432,24.329967 194.299945,24.2502703 194.299945,24.1697165 C194.299945,24.0900198 194.297432,24.0107515 194.294083,23.9040606 L194.281104,23.5424258 C193.967922,17.9126632 189.477031,13.5023467 184.058319,13.5023467 C178.437797,13.5023467 173.865261,18.272584 173.865261,24.1362953 C173.865261,24.2579829 173.858981,24.3860976 173.851863,24.5214964 C173.844745,24.6508965 173.835953,24.7820105 173.845164,24.9559723 L173.845164,25.3030389 L172.155741,25.3030389 L172.155741,25.0125313 C172.142343,24.8042914 172.153648,24.5999077 172.164953,24.3899539 C172.169558,24.3038299 172.173745,24.2181345 172.173745,24.1362953 C172.173745,17.3157943 177.504951,11.7665854 184.058319,11.7665854 C190.25831,11.7665854 195.484006,16.794766 195.955872,23.2313514 L195.984343,23.8453593 C195.987692,23.9533355 195.991042,24.0608833 195.991042,24.1697165 C195.991042,24.2789782 195.987692,24.3869545 195.984343,24.4940738" id="path96"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 14 KiB |
34
dist/img/logo@3x.svg
vendored
@@ -1,34 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="392px" height="51px" viewBox="0 0 392 51" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Artboard@3x</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="assets" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="Artboard" fill-rule="nonzero" fill="#FFFFFF">
|
||||
<g id="logo" transform="translate(0.000000, -3.000000)">
|
||||
<g id="g26" transform="translate(196.000000, 27.000000) scale(-1, 1) rotate(-180.000000) translate(-196.000000, -27.000000) ">
|
||||
<path d="M16.7013743,20.7174752 C16.631034,20.7149044 16.5640433,20.7157614 16.4953778,20.7174752 L16.3580468,20.7183322 C16.312828,20.7183322 16.2684467,20.72176 16.2240653,20.7260448 C16.1545625,20.7303296 16.085897,20.7354714 16.0122072,20.7371852 C9.04265946,20.9265722 3.37189448,26.8798352 3.37189448,34.0088398 C3.37189448,41.1369874 9.04265946,47.0902504 16.0155567,47.2796374 C16.085897,47.2813514 16.1545625,47.286493 16.2240653,47.2907778 C16.2684467,47.2942056 16.312828,47.2984904 16.3580468,47.2984904 L16.4953778,47.2993474 C16.5305479,47.2993474 16.5648806,47.2993474 16.6034003,47.2993474 C16.64192,47.2993474 16.6837892,47.2993474 16.7340322,47.2984904 L42.3270018,47.2984904 L47.6343422,47.2984904 L47.646903,50.3749572 L16.3580468,50.3749572 C16.2617476,50.3749572 16.1662858,50.3689584 16.0716614,50.3621028 L15.9544277,50.3552472 C7.35868008,50.133296 0.365685628,42.8011932 0.365685628,34.0088398 C0.365685628,25.2164864 7.35868008,17.8826697 15.9561024,17.6615755 L16.0716614,17.6547198 C16.1662858,17.6478642 16.2617476,17.6418655 16.3580468,17.6418655" id="path34"></path>
|
||||
<path d="M16.3582143,17.4277126 C16.2560534,17.4277126 16.1572421,17.4337113 16.056756,17.4405669 L15.9445465,17.4474225 C7.24161378,17.6719446 0.156507084,25.1008834 0.156507084,34.0089256 C0.156507084,42.9152538 7.2407764,50.3450494 15.9487334,50.5695716 L16.0592681,50.5755702 C16.1572421,50.5824258 16.2560534,50.5892814 16.3582143,50.5892814 L47.8572538,50.5892814 L47.8430182,47.0834806 L16.3590516,47.0834806 C16.3188572,47.0834806 16.2803375,47.0809096 16.2418179,47.0774818 L16.1848758,47.073197 C16.1304458,47.0697692 16.0760158,47.0663414 16.0199111,47.0646276 C9.16173548,46.8795254 3.58140798,41.0222412 3.58140798,34.0089256 C3.58140798,26.9947528 9.1600607,21.1374686 16.0182363,20.9515096 C16.0751784,20.9497956 16.1312832,20.9463678 16.1865505,20.94294 L16.2418179,20.9395122 C16.2803375,20.9360844 16.3188572,20.9326566 16.3582143,20.9326566 L16.49722,20.9317996 C16.5658855,20.9292288 16.6295267,20.9300856 16.6948427,20.9317996 L16.7074034,20.5033224 C16.6337136,20.5007514 16.562536,20.5016084 16.4905209,20.5033224 L16.3573769,20.5041794 C16.3071338,20.5041794 16.2560534,20.508464 16.2066477,20.5127488 C16.1103486,20.5178906 16.0601055,20.5213184 16.0081877,20.5230324 C8.92475578,20.7149902 3.16271594,26.765089 3.16271594,34.0089256 C3.16271594,41.251905 8.92559316,47.301147 16.0090251,47.4931048 C16.0601055,47.4948188 16.1095112,47.4973896 16.1589168,47.5008174 L16.211672,47.5042452 C16.2560534,47.50853 16.3071338,47.5119578 16.3582143,47.5119578 L16.6035678,47.5136718 L16.7408988,47.5119578 L47.426001,47.5119578 L47.436887,50.1608042 L16.3582143,50.1608042 C16.266102,50.1608042 16.1756645,50.1539486 16.085227,50.14795 L15.9663185,50.1410942 C7.4769187,49.921714 0.575199124,42.68559 0.575199124,34.0089256 C0.575199124,25.331404 7.4777561,18.0944232 15.9612942,17.8750428 L16.0827149,17.8681872 C16.1756645,17.8621885 16.266102,17.8561898 16.3582143,17.8561898 L16.3582143,17.4277126 Z" id="path38"></path>
|
||||
<path d="M31.3114656,30.1599144 C31.3818058,30.1624852 31.4487964,30.1616282 31.517462,30.1599144 L31.654793,30.1590574 C31.7000118,30.1590574 31.744393,30.1556296 31.7887744,30.1513448 C31.8582774,30.14706 31.9269428,30.1419182 32.0006326,30.1402044 C38.9701804,29.9508174 44.6409452,23.9975544 44.6409452,16.8685498 C44.6409452,9.7404021 38.9701804,3.7871391 31.997283,3.59775214 C31.9269428,3.59603824 31.8582774,3.5908965 31.7887744,3.58661174 C31.744393,3.58318392 31.7000118,3.57889914 31.654793,3.57889914 L31.517462,3.57804218 C31.4822918,3.57804218 31.4479592,3.57804218 31.4094394,3.57804218 C31.3709198,3.57804218 31.3290506,3.57804218 31.2788076,3.57889914 L5.6858379,3.57889914 L0.378497604,3.57889914 L0.365936842,0.502432432 L31.654793,0.502432432 C31.7510922,0.502432432 31.846554,0.508431114 31.9411784,0.51528675 L32.0584122,0.522142386 C40.6541596,0.744093606 47.6471542,8.07619644 47.6471542,16.8685498 C47.6471542,25.660903 40.6541596,32.9947198 32.0567374,33.2158142 L31.9411784,33.2226698 C31.846554,33.2295254 31.7510922,33.235524 31.654793,33.235524" id="path42"></path>
|
||||
<polygon id="path46" points="99.4227792 0.490520764 77.8877728 43.084588 56.3527666 0.490520764 53.308038 1.99618985 77.8877728 50.6120764 102.467508 1.99618985"></polygon>
|
||||
<path d="M143.440292,33.6716282 L143.328083,33.6776268 C143.287888,33.6801978 143.247694,33.6810548 143.207499,33.6827686 L143.207499,33.6904812 L143.032486,33.6904812 C143.030811,33.6904812 143.029137,33.6904812 143.026624,33.6904812 L143.026624,33.6904812 L142.965495,33.6904812 L142.965495,30.1735398 L143.207499,30.1735398 L143.207499,30.1752538 C143.259417,30.171826 143.312172,30.1683982 143.36744,30.1666842 C150.224778,29.9807252 155.804268,24.123441 155.804268,17.1101252 C155.804268,10.0959525 150.223941,4.23866842 143.364928,4.0527093 C143.306311,4.05185234 143.248531,4.04842452 143.142183,4.04156888 C143.103664,4.03814106 143.065981,4.03471324 143.025787,4.03471324 L114.877121,4.03471324 L114.877121,17.4443375 L111.527585,17.4443375 L111.527585,0.529769282 L143.026624,0.529769282 C143.127948,0.529769282 143.228434,0.535767964 143.324733,0.5426236 L143.436105,0.549479236 C152.144062,0.774001318 159.228332,8.20294002 159.228332,17.1101252 C159.228332,26.0173104 152.143225,33.4462492 143.440292,33.6716282" id="path50"></path>
|
||||
<path d="M143.365011,20.9511668 C143.306394,20.9494528 143.248615,20.946025 143.14143,20.9391694 C143.103747,20.9357416 143.066065,20.9331708 143.025871,20.9331708 L114.877205,20.9331708 L114.877205,47.0711404 L143.207583,47.0711404 L143.207583,47.0728544 C143.259501,47.0694264 143.312256,47.0668556 143.366686,47.0651418 C150.224862,46.8791826 155.803514,41.0218984 155.803514,34.0077258 C155.803514,26.99441 150.223187,21.137126 143.365011,20.9511668 M143.440376,50.5700856 L143.328166,50.5752274 C143.287972,50.5786552 143.24694,50.5786552 143.207583,50.5812262 L143.207583,50.5889386 L143.03257,50.5889386 C143.030895,50.5889386 143.02922,50.5889386 143.026708,50.5889386 L143.026708,50.5889386 L114.877205,50.5889386 L111.562839,50.5889386 L111.527669,50.5889386 L111.527669,17.4282268 L114.877205,17.4282268 L143.026708,17.4282268 C143.128032,17.4282268 143.228518,17.4342254 143.324817,17.4402241 L143.436189,17.4470798 C152.144146,17.6724588 159.228415,25.1013974 159.228415,34.0077258 C159.228415,42.915768 152.143309,50.3447066 143.440376,50.5700856" id="path54"></path>
|
||||
<g id="Group-7" transform="translate(170.285714, 0.497370)">
|
||||
<path d="M24.0734752,0.0053198392 C10.9675771,0.0053198392 0.30516557,11.1028808 0.30516557,24.7438828 C0.30516557,24.908418 0.295954346,25.079809 0.287580506,25.2520568 C0.26413375,25.6719646 0.242361764,26.0807318 0.268320672,26.4972118 L0.264971136,50.155155 L3.64716544,50.155155 L3.64716544,26.3840938 C3.62874298,26.0361702 3.64632804,25.7739422 3.66140096,25.5151418 C3.6756365,25.2434872 3.68819726,24.9881148 3.68819726,24.7438828 C3.68819726,13.0164602 12.8332688,3.47684258 24.0734752,3.47684258 C34.9117374,3.47684258 43.8926816,12.2966185 44.5198824,23.5570008 L44.5458412,24.2802704 C44.5525404,24.493652 44.5567272,24.6521886 44.5567272,24.8115822 C44.5567272,24.9718326 44.5525404,25.1320832 44.547516,25.2906198 L44.4897366,26.8005736 L47.8861664,26.9162624 L47.9255234,25.4602968 C47.9330598,25.2452012 47.9389216,25.0301056 47.9389216,24.8115822 C47.9389216,24.5939158 47.9330598,24.3788202 47.9255234,24.1628676 L47.8694186,22.9348518 C46.9248494,10.0616811 36.4742962,0.0053198392 24.0734752,0.0053198392" id="path58"></path>
|
||||
<path d="M13.5076979,31.737917 C13.5076979,33.247014 14.702645,34.469888 16.1772784,34.469888 C17.6510744,34.469888 18.8460214,33.247014 18.8460214,31.737917 C18.8460214,30.2288202 17.6510744,29.005946 16.1772784,29.005946 C14.702645,29.005946 13.5076979,30.2288202 13.5076979,31.737917" id="path62"></path>
|
||||
<path d="M30.0616926,31.737917 C30.0616926,33.247014 31.2566396,34.469888 32.731273,34.469888 C34.205069,34.469888 35.400016,33.247014 35.400016,31.737917 C35.400016,30.2288202 34.205069,29.005946 32.731273,29.005946 C31.2566396,29.005946 30.0616926,30.2288202 30.0616926,31.737917" id="path66"></path>
|
||||
</g>
|
||||
<path d="M259.783086,17.4402241 C259.686788,17.4333685 259.586302,17.4273698 259.484978,17.4273698 L255.195896,17.4273698 L271.519024,0.502518128 L276.099516,0.502518128 L259.912044,17.4479367 C259.905344,17.4479367 259.90032,17.4470798 259.894458,17.4470798 L259.783086,17.4402241 Z" id="path70"></path>
|
||||
<polygon id="path74" points="231.366876 47.0712262 231.335056 47.0712262 231.335056 20.9323994 231.350966 20.9323994 231.350966 42.1720172 251.818308 20.9323994 256.554552 20.9323994"></polygon>
|
||||
<polygon id="path78" points="227.98577 17.4276269 227.98577 30.5921622 227.949764 0.502775214 231.340332 0.502775214 231.351218 17.4276269 231.335308 17.4276269"></polygon>
|
||||
<path d="M259.898394,50.5694002 L259.786184,50.5753988 C259.74599,50.5779696 259.705796,50.5788266 259.665602,50.5805406 L259.665602,50.5882532 L259.490588,50.5882532 C259.488914,50.5882532 259.487238,50.5882532 259.484726,50.5882532 L259.484726,50.5882532 L231.335224,50.5882532 L228.021694,50.5882532 L227.985688,50.5882532 L227.985688,30.5920764 L227.985688,17.4275412 L231.335224,17.4275412 L231.351134,17.4275412 L231.351134,20.9324852 L231.335224,20.9324852 L231.335224,47.0713118 L231.367044,47.0713118 L259.665602,47.0713118 L259.665602,47.0730258 C259.71752,47.0695978 259.771112,47.06617 259.825542,47.0644562 C266.68288,46.878497 272.26237,41.021213 272.26237,34.0078972 C272.26237,26.9937244 266.682042,21.1364404 259.82303,20.9504812 C259.764412,20.9496242 259.706634,20.9461964 259.600286,20.9393408 C259.561766,20.935913 259.524084,20.9324852 259.48389,20.9324852 L256.553882,20.9324852 L251.818476,20.9324852 L255.195646,17.4275412 L259.484726,17.4275412 C259.58605,17.4275412 259.686536,17.4335399 259.782836,17.4403955 L259.894208,17.4472512 C259.90007,17.4472512 259.90593,17.4481081 259.911792,17.4481081 C268.611376,17.6829136 275.686434,25.1067106 275.686434,34.0078972 C275.686434,42.9150824 268.601328,50.344021 259.898394,50.5694002" id="path82"></path>
|
||||
<path d="M293.729214,46.989387 L312.165898,46.989387 L312.165898,4.01140408 L293.729214,4.01140408 L293.729214,46.989387 Z M290.331946,0.5030323 L315.563166,0.5030323 L315.563166,50.4994726 L290.331946,50.4994726 L290.331946,0.5030323 Z" id="path84"></path>
|
||||
<polygon id="path88" points="337.990992 0.502689518 290.332114 0.502689518 290.332114 16.4360448 293.729382 16.4360448 293.729382 4.01191826 334.65904 4.00506262 334.65904 16.4360448 337.990992 16.4360448"></polygon>
|
||||
<polygon id="path92" points="378.589298 0.583414634 378.589298 50.3210548 375.19203 50.3210548 375.19203 4.0677917 354.609968 4.01551746 354.613316 0.583414634"></polygon>
|
||||
<path d="M391.968686,48.9881476 L391.928492,50.4441134 L388.532898,50.3284246 L388.58984,48.8184706 C388.594864,48.659934 388.59989,48.5005406 388.59989,48.339433 C388.59989,48.1800396 388.594864,48.021503 388.588166,47.8081212 L388.562208,47.0848516 C387.935844,35.8253264 378.954062,27.0046934 368.116638,27.0046934 C356.875594,27.0046934 347.730522,36.545168 347.730522,48.2725906 C347.730522,48.5159658 347.717962,48.7721952 347.703726,49.0429928 C347.68949,49.301793 347.671906,49.564021 347.690328,49.9119446 L347.690328,50.6060778 L344.311482,50.6060778 L344.311482,50.0250626 C344.284686,49.6085828 344.307296,49.1998154 344.329906,48.7799078 C344.339116,48.6076598 344.34749,48.436269 344.34749,48.2725906 C344.34749,34.6315886 355.009902,23.5331708 368.116638,23.5331708 C380.51662,23.5331708 390.968012,33.589532 391.911744,46.4627028 L391.968686,47.6907186 C391.975384,47.906671 391.982084,48.1217666 391.982084,48.339433 C391.982084,48.5579564 391.975384,48.773909 391.968686,48.9881476" id="path96"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 13 KiB |
48
dist/img/logo_2.svg
vendored
@@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="204px" height="34px" viewBox="0 0 204 34" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>logo</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs>
|
||||
<filter x="-3.6%" y="-18.5%" width="107.7%" height="151.9%" filterUnits="objectBoundingBox" id="filter-1">
|
||||
<feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
|
||||
<feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
|
||||
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0" type="matrix" in="shadowBlurOuter1" result="shadowMatrixOuter1"></feColorMatrix>
|
||||
<feMerge>
|
||||
<feMergeNode in="shadowMatrixOuter1"></feMergeNode>
|
||||
<feMergeNode in="SourceGraphic"></feMergeNode>
|
||||
</feMerge>
|
||||
</filter>
|
||||
</defs>
|
||||
<g id="final" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="desktop" transform="translate(-36.000000, -30.000000)" fill-rule="nonzero" fill="#FFFFFF">
|
||||
<g id="Group-29">
|
||||
<g id="logo" transform="translate(40.000000, 31.000000)">
|
||||
<g id="saburly_final-_1_" filter="url(#filter-1)">
|
||||
<g id="g26" transform="translate(98.000000, 13.500000) scale(1, -1) translate(-98.000000, -13.500000) ">
|
||||
<path d="M8.35068713,10.3587376 C8.315517,10.3574522 8.28202163,10.3578807 8.24768889,10.3587376 L8.17902339,10.3591661 C8.15641402,10.3591661 8.13422334,10.36088 8.11203266,10.3630224 C8.07728123,10.3651648 8.04294848,10.3677357 8.00610358,10.3685926 C4.52132973,10.4632861 1.68594724,13.4399176 1.68594724,17.0044199 C1.68594724,20.5684937 4.52132973,23.5451252 8.00777835,23.6398187 C8.04294848,23.6406757 8.07728123,23.6432465 8.11203266,23.6453889 C8.13422334,23.6471028 8.15641402,23.6492452 8.17902339,23.6492452 L8.24768889,23.6496737 C8.26527395,23.6496737 8.28244032,23.6496737 8.30170016,23.6496737 C8.32095999,23.6496737 8.34189459,23.6496737 8.36701612,23.6492452 L21.1635009,23.6492452 L23.8171711,23.6492452 L23.8234515,25.1874786 L8.17902339,25.1874786 C8.13087381,25.1874786 8.08314291,25.1844792 8.03583071,25.1810514 L7.97721383,25.1776236 C3.67934004,25.066648 0.182842814,21.4005966 0.182842814,17.0044199 C0.182842814,12.6082432 3.67934004,8.94133487 7.97805121,8.83078774 L8.03583071,8.82735992 C8.08314291,8.8239321 8.13087381,8.82093276 8.17902339,8.82093276" id="path34"></path>
|
||||
<path d="M8.17910713,8.7138563 C8.1280267,8.7138563 8.07862104,8.71685564 8.02837799,8.72028345 L7.97227326,8.72371127 C3.62080689,8.83597231 0.0782535422,12.5504417 0.0782535422,17.0044628 C0.0782535422,21.4576269 3.6203882,25.1725247 7.97436672,25.2847858 L8.02963407,25.2877851 C8.07862104,25.2912129 8.1280267,25.2946407 8.17910713,25.2946407 L23.9286269,25.2946407 L23.9215091,23.5417403 L8.17952582,23.5417403 C8.1594286,23.5417403 8.14016877,23.5404548 8.12090894,23.5387409 L8.09243788,23.5365985 C8.06522289,23.5348846 8.03800791,23.5331707 8.00995555,23.5323138 C4.58086774,23.4397627 1.79070399,20.5111206 1.79070399,17.0044628 C1.79070399,13.4973764 4.58003035,10.5687343 8.00911816,10.4757548 C8.03758922,10.4748978 8.06564159,10.4731839 8.09327526,10.47147 L8.12090894,10.4697561 C8.14016877,10.4680422 8.1594286,10.4663283 8.17910713,10.4663283 L8.24861001,10.4658998 C8.28294276,10.4646144 8.31476335,10.4650428 8.34742133,10.4658998 L8.35370171,10.2516612 C8.31685681,10.2503757 8.28126799,10.2508042 8.24526047,10.2516612 L8.17868844,10.2520897 C8.15356691,10.2520897 8.1280267,10.254232 8.10332387,10.2563744 C8.05517429,10.2589453 8.03005276,10.2606592 8.00409386,10.2615162 C4.46237789,10.3574951 1.58135797,13.3825445 1.58135797,17.0044628 C1.58135797,20.6259525 4.46279658,23.6505735 8.00451255,23.7465524 C8.03005276,23.7474094 8.05475559,23.7486948 8.07945842,23.7504087 L8.10583602,23.7521226 C8.1280267,23.754265 8.15356691,23.7559789 8.17910713,23.7559789 L8.3017839,23.7568359 L8.37044939,23.7559789 L23.7130005,23.7559789 L23.7184435,25.0804021 L8.17910713,25.0804021 C8.133051,25.0804021 8.08783226,25.0769743 8.04261352,25.073975 L7.98315925,25.0705471 C3.73845935,24.960857 0.287599562,21.342795 0.287599562,17.0044628 C0.287599562,12.665702 3.73887805,9.0472116 7.9806471,8.93752142 L8.04135745,8.93409361 C8.08783226,8.93109426 8.133051,8.92809492 8.17910713,8.92809492 L8.17910713,8.7138563 Z" id="path38"></path>
|
||||
<path d="M15.6557328,15.0799572 C15.6909029,15.0812426 15.7243982,15.0808141 15.758731,15.0799572 L15.8273965,15.0795287 C15.8500059,15.0795287 15.8721965,15.0778148 15.8943872,15.0756724 C15.9291387,15.07353 15.9634714,15.0709591 16.0003163,15.0701022 C19.4850902,14.9754087 22.3204726,11.9987772 22.3204726,8.43427488 C22.3204726,4.87020105 19.4850902,1.89356955 15.9986415,1.79887607 C15.9634714,1.79801912 15.9291387,1.79544825 15.8943872,1.79330587 C15.8721965,1.79159196 15.8500059,1.78944957 15.8273965,1.78944957 L15.758731,1.78902109 C15.7411459,1.78902109 15.7239796,1.78902109 15.7047197,1.78902109 C15.6854599,1.78902109 15.6645253,1.78902109 15.6394038,1.78944957 L2.84291895,1.78944957 L0.189248802,1.78944957 L0.182968421,0.251216216 L15.8273965,0.251216216 C15.8755461,0.251216216 15.923277,0.254215557 15.9705892,0.257643375 L16.0292061,0.261071193 C20.3270798,0.372046803 23.8235771,4.03809822 23.8235771,8.43427488 C23.8235771,12.8304515 20.3270798,16.4973599 16.0283687,16.6079071 L15.9705892,16.6113349 C15.923277,16.6147627 15.8755461,16.617762 15.8273965,16.617762" id="path42"></path>
|
||||
<polygon id="path46" points="49.7113896 0.245260382 38.9438864 21.542294 28.1763833 0.245260382 26.654019 0.998094924 38.9438864 25.3060382 51.2337539 0.998094924"></polygon>
|
||||
<path d="M71.7201461,16.8358141 L71.6640413,16.8388134 C71.6439441,16.8400989 71.6238469,16.8405274 71.6037497,16.8413843 L71.6037497,16.8452406 L71.516243,16.8452406 C71.5154056,16.8452406 71.5145683,16.8452406 71.5133122,16.8452406 L71.5133122,16.8452406 L71.4827477,16.8452406 L71.4827477,15.0867699 L71.6037497,15.0867699 L71.6037497,15.0876269 C71.6297086,15.085913 71.6560862,15.0841991 71.6837198,15.0833421 C75.112389,14.9903626 77.902134,12.0617205 77.902134,8.55506262 C77.902134,5.04797627 75.1119703,2.11933421 71.6824638,2.02635465 C71.6531553,2.02592617 71.6242656,2.02421226 71.5710917,2.02078444 C71.5518319,2.01907053 71.5329907,2.01735662 71.5128935,2.01735662 L57.4385606,2.01735662 L57.4385606,8.72216875 L55.7637924,8.72216875 L55.7637924,0.264884641 L71.5133122,0.264884641 C71.5639739,0.264884641 71.614217,0.267883982 71.6623665,0.2713118 L71.7180526,0.274739618 C76.0720311,0.387000659 79.6141658,4.10147001 79.6141658,8.55506262 C79.6141658,13.0086552 76.0716124,16.7231246 71.7201461,16.8358141" id="path50"></path>
|
||||
<path d="M71.6825056,10.4755834 C71.6531972,10.4747264 71.6243074,10.4730125 71.5707149,10.4695847 C71.5518737,10.4678708 71.5330326,10.4665854 71.5129354,10.4665854 L57.4386024,10.4665854 L57.4386024,23.5355702 L71.6037915,23.5355702 L71.6037915,23.5364272 C71.6297504,23.5347132 71.656128,23.5334278 71.683343,23.5325709 C75.1124308,23.4395913 77.9017572,20.5109492 77.9017572,17.0038629 C77.9017572,13.497205 75.1115934,10.568563 71.6825056,10.4755834 M71.7201879,25.2850428 L71.6640832,25.2876137 C71.643986,25.2893276 71.6234701,25.2893276 71.6037915,25.2906131 L71.6037915,25.2944693 L71.5162849,25.2944693 C71.5154475,25.2944693 71.5146101,25.2944693 71.5133541,25.2944693 L71.5133541,25.2944693 L57.4386024,25.2944693 L55.7814193,25.2944693 L55.7638343,25.2944693 L55.7638343,8.71411338 L57.4386024,8.71411338 L71.5133541,8.71411338 C71.5640158,8.71411338 71.6142588,8.71711272 71.6624084,8.72011206 L71.7180945,8.72353988 C76.072073,8.8362294 79.6142076,12.5506987 79.6142076,17.0038629 C79.6142076,21.457884 76.0716543,25.1723533 71.7201879,25.2850428" id="path54"></path>
|
||||
<g id="Group-7" transform="translate(85.142857, 0.248685)">
|
||||
<path d="M12.0367376,0.0026599196 C5.48378853,0.0026599196 0.152582785,5.55144041 0.152582785,12.3719414 C0.152582785,12.454209 0.147977173,12.5399045 0.143790253,12.6260284 C0.132066875,12.8359823 0.121180882,13.0403659 0.134160336,13.2486059 L0.132485568,25.0775775 L1.82358272,25.0775775 L1.82358272,13.1920469 C1.81437149,13.0180851 1.82316402,12.8869711 1.83070048,12.7575709 C1.83781825,12.6217436 1.84409863,12.4940574 1.84409863,12.3719414 C1.84409863,6.50823012 6.41663439,1.73842129 12.0367376,1.73842129 C17.4558687,1.73842129 21.9463408,6.14830923 22.2599412,11.7785004 L22.2729206,12.1401352 C22.2762702,12.246826 22.2783636,12.3260943 22.2783636,12.4057911 C22.2783636,12.4859163 22.2762702,12.5660416 22.273758,12.6453099 L22.2448683,13.4002868 L23.9430832,13.4581312 L23.9627617,12.7301484 C23.9665299,12.6226006 23.9694608,12.5150528 23.9694608,12.4057911 C23.9694608,12.2969579 23.9665299,12.1894101 23.9627617,12.0814338 L23.9347093,11.4674259 C23.4624247,5.03084054 18.2371481,0.0026599196 12.0367376,0.0026599196" id="path58"></path>
|
||||
<path d="M6.75384896,15.8689585 C6.75384896,16.623507 7.3513225,17.234944 8.08863919,17.234944 C8.82553718,17.234944 9.42301072,16.623507 9.42301072,15.8689585 C9.42301072,15.1144101 8.82553718,14.502973 8.08863919,14.502973 C7.3513225,14.502973 6.75384896,15.1144101 6.75384896,15.8689585" id="path62"></path>
|
||||
<path d="M15.0308463,15.8689585 C15.0308463,16.623507 15.6283198,17.234944 16.3656365,17.234944 C17.1025345,17.234944 17.700008,16.623507 17.700008,15.8689585 C17.700008,15.1144101 17.1025345,14.502973 16.3656365,14.502973 C15.6283198,14.502973 15.0308463,15.1144101 15.0308463,15.8689585" id="path66"></path>
|
||||
</g>
|
||||
<path d="M129.891543,8.72011206 C129.843394,8.71668425 129.793151,8.7136849 129.742489,8.7136849 L127.597948,8.7136849 L135.759512,0.251259064 L138.049758,0.251259064 L129.956022,8.72396836 C129.952672,8.72396836 129.95016,8.72353988 129.947229,8.72353988 L129.891543,8.72011206 Z" id="path70"></path>
|
||||
<polygon id="path74" points="115.683438 23.5356131 115.667528 23.5356131 115.667528 10.4661997 115.675483 10.4661997 115.675483 21.0860086 125.909154 10.4661997 128.277276 10.4661997"></polygon>
|
||||
<polygon id="path78" points="113.992885 8.71381345 113.992885 15.2960811 113.974882 0.251387607 115.670166 0.251387607 115.675609 8.71381345 115.667654 8.71381345"></polygon>
|
||||
<path d="M129.949197,25.2847001 L129.893092,25.2876994 C129.872995,25.2889848 129.852898,25.2894133 129.832801,25.2902703 L129.832801,25.2941266 L129.745294,25.2941266 C129.744457,25.2941266 129.743619,25.2941266 129.742363,25.2941266 L129.742363,25.2941266 L115.667612,25.2941266 L114.010847,25.2941266 L113.992844,25.2941266 L113.992844,15.2960382 L113.992844,8.7137706 L115.667612,8.7137706 L115.675567,8.7137706 L115.675567,10.4662426 L115.667612,10.4662426 L115.667612,23.5356559 L115.683522,23.5356559 L129.832801,23.5356559 L129.832801,23.5365129 C129.85876,23.5347989 129.885556,23.533085 129.912771,23.5322281 C133.34144,23.4392485 136.131185,20.5106065 136.131185,17.0039486 C136.131185,13.4968622 133.341021,10.5682202 129.911515,10.4752406 C129.882206,10.4748121 129.853317,10.4730982 129.800143,10.4696704 C129.780883,10.4679565 129.762042,10.4662426 129.741945,10.4662426 L128.276941,10.4662426 L125.909238,10.4662426 L127.597823,8.7137706 L129.742363,8.7137706 C129.793025,8.7137706 129.843268,8.71676994 129.891418,8.72019776 L129.947104,8.72362558 C129.950035,8.72362558 129.952965,8.72405405 129.955896,8.72405405 C134.305688,8.84145682 137.843217,12.5533553 137.843217,17.0039486 C137.843217,21.4575412 134.300664,25.1720105 129.949197,25.2847001" id="path82"></path>
|
||||
<path d="M146.864607,23.4946935 L156.082949,23.4946935 L156.082949,2.00570204 L146.864607,2.00570204 L146.864607,23.4946935 Z M145.165973,0.25151615 L157.781583,0.25151615 L157.781583,25.2497363 L145.165973,25.2497363 L145.165973,0.25151615 Z" id="path84"></path>
|
||||
<polygon id="path88" points="168.995496 0.251344759 145.166057 0.251344759 145.166057 8.21802241 146.864691 8.21802241 146.864691 2.00595913 167.32952 2.00253131 167.32952 8.21802241 168.995496 8.21802241"></polygon>
|
||||
<polygon id="path92" points="189.294649 0.291707317 189.294649 25.1605274 187.596015 25.1605274 187.596015 2.03389585 177.304984 2.00775873 177.306658 0.291707317"></polygon>
|
||||
<path d="M195.984343,24.4940738 L195.964246,25.2220567 L194.266449,25.1642123 L194.29492,24.4092353 C194.297432,24.329967 194.299945,24.2502703 194.299945,24.1697165 C194.299945,24.0900198 194.297432,24.0107515 194.294083,23.9040606 L194.281104,23.5424258 C193.967922,17.9126632 189.477031,13.5023467 184.058319,13.5023467 C178.437797,13.5023467 173.865261,18.272584 173.865261,24.1362953 C173.865261,24.2579829 173.858981,24.3860976 173.851863,24.5214964 C173.844745,24.6508965 173.835953,24.7820105 173.845164,24.9559723 L173.845164,25.3030389 L172.155741,25.3030389 L172.155741,25.0125313 C172.142343,24.8042914 172.153648,24.5999077 172.164953,24.3899539 C172.169558,24.3038299 172.173745,24.2181345 172.173745,24.1362953 C172.173745,17.3157943 177.504951,11.7665854 184.058319,11.7665854 C190.25831,11.7665854 195.484006,16.794766 195.955872,23.2313514 L195.984343,23.8453593 C195.987692,23.9533355 195.991042,24.0608833 195.991042,24.1697165 C195.991042,24.2789782 195.987692,24.3869545 195.984343,24.4940738" id="path96"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 14 KiB |
21
dist/img/logo_mobile.svg
vendored
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="42px" height="42px" viewBox="0 0 42 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>logo mobile</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="assets" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="logo-mobile" stroke="#FFFFFF">
|
||||
<g id="logo-white" transform="translate(1.000000, 1.000000)">
|
||||
<g id="Group-10">
|
||||
<circle id="Oval" stroke-width="2" cx="20" cy="20" r="20"></circle>
|
||||
<g id="Group-7" transform="translate(20.357143, 21.785714) scale(1, -1) translate(-20.357143, -21.785714) translate(12.857143, 14.285714)" fill-rule="nonzero" fill="#FFFFFF">
|
||||
<path d="M7.13558813,0 C3.20903991,0 0.0145642501,3.31932127 0.0145642501,7.39939509 C0.0145642501,7.44860819 0.0118045522,7.49987184 0.00929573606,7.55139181 C0.00227105071,7.67698775 -0.00425187139,7.79925155 0.00352545881,7.92382222 L0.00252193233,15 L1.01583279,15 L1.01583279,7.88998821 C1.0103134,7.785923 1.01558191,7.70748962 1.02009778,7.63008151 C1.02436277,7.54882863 1.02812599,7.47244579 1.02812599,7.39939509 C1.02812599,3.89167991 3.76800416,1.03834521 7.13558813,1.03834521 C10.3827489,1.03834521 13.0734543,3.67637258 13.2613646,7.04439432 L13.269142,7.26072692 C13.271149,7.32455016 13.2724034,7.37196904 13.2724034,7.41964423 C13.2724034,7.46757574 13.271149,7.51550725 13.2696437,7.56292613 L13.2523329,8.01455888 L14.2699087,8.04916184 L14.2817002,7.61367714 C14.2839581,7.54934126 14.2857143,7.48500538 14.2857143,7.41964423 C14.2857143,7.3545394 14.2839581,7.29020352 14.2817002,7.22561132 L14.2648911,6.85830727 C13.9818966,3.0078946 10.850894,0 7.13558813,0" id="path58"></path>
|
||||
<path d="M4.28571429,9.70982143 C4.28571429,10.3016614 4.6054902,10.78125 5.00011204,10.78125 C5.3945098,10.78125 5.71428571,10.3016614 5.71428571,9.70982143 C5.71428571,9.11798149 5.3945098,8.63839286 5.00011204,8.63839286 C4.6054902,8.63839286 4.28571429,9.11798149 4.28571429,9.70982143" id="path62"></path>
|
||||
<path d="M9.28571429,9.70982143 C9.28571429,10.3016614 9.6054902,10.78125 10.000112,10.78125 C10.3945098,10.78125 10.7142857,10.3016614 10.7142857,9.70982143 C10.7142857,9.11798149 10.3945098,8.63839286 10.000112,8.63839286 C9.6054902,8.63839286 9.28571429,9.11798149 9.28571429,9.70982143" id="path66"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.6 KiB |
BIN
dist/img/mail.png
vendored
|
Before Width: | Height: | Size: 287 B |
BIN
dist/img/mob-logo.png
vendored
|
Before Width: | Height: | Size: 445 B |
BIN
dist/img/suburly.png
vendored
|
Before Width: | Height: | Size: 1.4 KiB |
BIN
dist/img/twitter.png
vendored
|
Before Width: | Height: | Size: 390 B |
592
dist/index.html
vendored
@@ -1,592 +0,0 @@
|
||||
<!doctype html>
|
||||
<html class="no-js" lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<!-- title -->
|
||||
<title>Saburly</title>
|
||||
|
||||
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
||||
|
||||
<!-- <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> -->
|
||||
<link href="all.css" rel="stylesheet">
|
||||
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet" type="text/css">
|
||||
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700" rel="stylesheet">
|
||||
|
||||
<!-- <link rel="stylesheet" type="text/css" href="css/style.css"> -->
|
||||
<!-- <link rel="stylesheet" type="text/css" href="css/owl.carousel.css"> -->
|
||||
<!-- <link href="css/animate.css" rel="stylesheet"> -->
|
||||
|
||||
<!-- <link href="dist/all.css" rel="stylesheet"> -->
|
||||
|
||||
<!-- css for slider -->
|
||||
|
||||
|
||||
<!--[if IE 9]>
|
||||
<link rel="stylesheet" type="text/css" href="css/ie.css" />
|
||||
<![endif]-->
|
||||
<!--[if IE]>
|
||||
<script src="js/html5shiv.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav class="navbar navbar-default navbar-fixed-top" data-spy="affix">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
|
||||
<div id="nav-icon3">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
</button>
|
||||
<a class="navbar-brand 123" href="#"><img src="img/logo.svg" class="img-responsive hidden-xs" alt="logo"><img src="img/logo_mobile.svg" class="img-responsive visible-xs" alt="logo"></a>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<div class="align-navbar">
|
||||
<ul class="nav navbar-nav navbar-right" >
|
||||
<li><a href="#second" class="nav-link">ABOUT</a></li>
|
||||
<li><a href="#work" class="nav-link">WORK</a></li>
|
||||
<li><a href="#team" class="nav-link">TEAM</a></li>
|
||||
<li class="hidden-xs"><a href="#contact" class="nav-link"><i class="material-icons"></i></a></li>
|
||||
<li class="visible-xs"><a href="#contact" class="nav-link">CONTACT</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- Start Banner -->
|
||||
<section class="banner">
|
||||
<div class="banner-caption">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12 header-wrap">
|
||||
<img src="img/logo@3x.svg" class="img-responsive center-block visible-xs" alt="suburly">
|
||||
<h1>WE DESIGN AND BUILD<br> SOFTWARE</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="scroll-tag hidden-xs">
|
||||
<p class=" text-center">Scroll</p>
|
||||
<img src="img/line.png" class="img-responsive center-block" alt="line">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
<!-- End Banner -->
|
||||
|
||||
<!-- Start What we do -->
|
||||
<section class="what-we-do" id="second">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h2 class="med-title text-center">What we do</h2>
|
||||
<p class="tag-line text-center space20">We are a team of creative, open minded, skilled and fun loving<br class="hidden-xs hidden-sm"> engineers that ship success every day. Here are the 3 things we can do<br class="hidden-xs hidden-sm"> for you.</p>
|
||||
<div class="space30 visible-xs"></div>
|
||||
<div class="row space200">
|
||||
<div class="col-md-6 col-sm-6 mob-pad0">
|
||||
<div class="img-container">
|
||||
<!-- <img src="img/ui_webdesign.png" class="img-responsive hidden-xs outline-shadow full-width-img" alt="ui-webdesign"> -->
|
||||
<img src="img/ux_ui_design.svg" class="img-responsive hidden-xs full-width-img" alt="ui-webdesign">
|
||||
<img src="img/brush.png" class="img-responsive brush hidden-xs" alt="brush">
|
||||
<img src="img/brush-shadow.png" class="img-responsive brush-shadow hidden-xs" alt="brush-shadow" >
|
||||
|
||||
<img src="img/what_we_do/ux/main.png" class="img-responsive visible-xs full-width-img" alt="ui-webdesign">
|
||||
|
||||
<img src="img/what_we_do/ux/brush.svg" class="img-responsive brush visible-xs" alt="brush">
|
||||
<img src="img/what_we_do/ux/brush_shadow.svg" class="img-responsive brush-shadow visible-xs" alt="brush-shadow" >
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<div class="number-bg">
|
||||
<div class="space20 visible-xs"></div>
|
||||
<h2 class="med-title">UX & UI Design</h2>
|
||||
<p class="details">We offer prototyping, UI and UX design for web and mobile products. Our approach is simple: we focus on how actual people will use your products. We shape UX through research, data & content analysis.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="space30 visible-xs"></div>
|
||||
<div class="row space200">
|
||||
<div class="col-md-6 col-sm-6 visible-xs mob-pad0">
|
||||
<div class="img-container">
|
||||
<img src="img/what_we_do/web/main.png" class="img-responsive visible-xs full-width-img" alt="software_development">
|
||||
<img src="img/what_we_do/web/code.png" class="img-responsive box-img visible-xs " alt="box">
|
||||
<img src="img/what_we_do/web/code_shadow.png" class="img-responsive box-img-shadow visible-xs" alt="box-shadow" >
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6 ">
|
||||
<div class="numb-two number-bg">
|
||||
<div class="space20 visible-xs"></div>
|
||||
<h2 class="med-title">Web<br class="hidden-xs"> Development</h2>
|
||||
<p class="details">We build web applications using the technologies such as JavaScript, React, Ruby on Rails, Python, Node.js, and Elixir. We write high-quality code that is maintainable and will stand the test of time.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6 hidden-xs">
|
||||
<div class="img-container">
|
||||
<img src="img/software_development.png" class="img-responsive outline-shadow full-width-img hidden-xs" alt="software_development">
|
||||
<img src="img/box.png" class="img-responsive box-img hidden-xs" alt="box">
|
||||
<img src="img/box-shadow.png" class="img-responsive box-img-shadow hidden-xs" alt="box-shadow" >
|
||||
<img src="img/shapes.png" class="img-responsive hidden-xs shapes" alt="shapes">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="space30 visible-xs"></div>
|
||||
<div class="row space200">
|
||||
<div class="col-md-6 col-sm-6 mob-pad0">
|
||||
<div class="img-container">
|
||||
<img src="img/mob-development.png" class="img-responsive outline-shadow full-width-img hidden-xs" alt="mob-development">
|
||||
|
||||
|
||||
<img src="img/hand.png" class="img-responsive hand hidden-xs" alt="hand">
|
||||
<img src="img/hand-shadow.png" class="img-responsive hand-shadow hidden-xs" alt="hand-shadow" >
|
||||
|
||||
<img src="img/what_we_do/mobile/main.png" class="img-responsive visible-xs full-width-img" alt="mob-development">
|
||||
<img src="img/what_we_do/mobile/hand.svg" class="img-responsive hand visible-xs" alt="hand">
|
||||
<img src="img/what_we_do/mobile/hand_shadow.svg" class="img-responsive hand-shadow visible-xs" alt="hand-shadow" >
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<div class="numb-third number-bg">
|
||||
<div class="space20 visible-xs"></div>
|
||||
<h2 class="med-title">Mobile<br class="hidden-xs"> Development</h2>
|
||||
<p class="details">We develop for both iOS and Android. For iOS we use Swift and Objective-C. Android applications are built in Java and Kotlin. We also like React Native technology because it allows writing native apps for both platform at once.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- End What we do -->
|
||||
|
||||
<!-- Start How we work -->
|
||||
<section class="how-we-work">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h2 class="med-title text-center">How we work</h2>
|
||||
<p class="tag-line text-center space20">We collaborate closely with our clients at each step of the development<br class="hidden-xs hidden-sm"> process. From designing the UX to developing the front-end and <br class="hidden-xs hidden-sm">architecting the back-end.</p>
|
||||
|
||||
<div class="row text-center space90">
|
||||
<div class="col-md-6 col-sm-6 border-box " data-animation="slideInLeft" data-animation-delay="0">
|
||||
<img src="img/how_we_work/high_quality_code.svg" class="img-responsive center-block" alt="icon1">
|
||||
<h4 class="heading-tag">High quality code</h4>
|
||||
<p class="details2">We have deep understanding of software engineering & computer science and we know what it takes to write high-quality, performant and maintainable code. Clean, readable, robust code is something we strive for.</p>
|
||||
<a class="readmore visible-xs">Read more</a>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6 border-box space-left" data-animation="slideInRight">
|
||||
<img src="img/how_we_work/continuous_delivery.svg" class="img-responsive center-block" alt="icon2">
|
||||
<h4 class="heading-tag">Continuous delivery</h4>
|
||||
<p class="details2">Deploying new code to production should not take weeks. We know how to build pipelines that allow code changes to be pushed to different cloud environments automatically. Deploying to production is as easy as pressing a button.</p>
|
||||
<a class="readmore visible-xs">Read more</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<div class="col-md-6 col-sm-6 border-box space-top" data-animation="slideInLeft">
|
||||
<img src="img/how_we_work/modern_devops.svg" class="img-responsive center-block" alt="icon3">
|
||||
<h4 class="heading-tag">Modern DevOps</h4>
|
||||
<p class="details2">We like a "release early, release often" philosophy and to achieve this we use modern DevOps tools like Docker. But DevOps is not only about development
|
||||
and operations, it is also about quality. Automated testing is part of our continuous delivery process, deploying code with a high confidence level</p>
|
||||
<a class="readmore visible-xs">Read more</a>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6 pad0 border-box space-top-left" data-animation="slideInRight">
|
||||
<img src="img/how_we_work/code_reviews.svg" class="img-responsive center-block" alt="icon4">
|
||||
<h4 class="heading-tag">Code reviews</h4>
|
||||
<p class="details2">“Two Heads are Better Than One”. Code reviews are integrated part of our process which makes catching bugs early before they event get merged into the code. We make sure each change is reviewed by multiple people before shipping it to the production environment.</p>
|
||||
<a class="readmore visible-xs">Read more</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<div class="col-md-6 col-sm-6 border-box space-top" data-animation="slideInLeft">
|
||||
<img src="img/how_we_work/research.svg" class="img-responsive center-block" alt="icon5">
|
||||
<h4 class="heading-tag">UX testing/research</h4>
|
||||
<p class="details2">We know it takes more than just an user video or a survey to understand your user experience. We improve UX by watching how real customers interact with your interface (websites, mobile devices, prototypes). The research generates actionable findings to redesign your site or application.</p>
|
||||
<a class="readmore visible-xs">Read more</a>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6 border-box space-top-left" data-animation="slideInRight">
|
||||
<img src="img/how_we_work/unit_and_integration_testing.svg" class="img-responsive center-block" alt="icon6">
|
||||
<h4 class="heading-tag">Unit & Integration testing</h4>
|
||||
<p class="details2">Unit and integration testing are vital parts of the testing process. Having automated unit & integration tests is the key prerequisite for writing high-quality code at a fast pace.</p>
|
||||
<a class="readmore visible-xs">Read more</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- End How we work -->
|
||||
|
||||
<!-- Start Our work -->
|
||||
<section class="our-work" id="work">
|
||||
<div class="container-fluid">
|
||||
<div class="row" >
|
||||
<div class="col-md-12" id="myCarousel" data-ride="carousel">
|
||||
<ol class="carousel-indicators visible-xs">
|
||||
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
|
||||
<li data-target="#myCarousel" data-slide-to="1"></li>
|
||||
<li data-target="#myCarousel" data-slide-to="2"></li>
|
||||
<li data-target="#myCarousel" data-slide-to="3"></li>
|
||||
<li data-target="#myCarousel" data-slide-to="4"></li>
|
||||
<li data-target="#myCarousel" data-slide-to="5"></li>
|
||||
</ol>
|
||||
|
||||
<h2 class="med-title text-center text-white">Our work</h2>
|
||||
<div class="row space50 main above_item">
|
||||
<div class="col-md-6 col-sm-6 border-box2 " data-animation="fadeInUp">
|
||||
<img src="img/zooblack.png" class="img-responsive center-block" alt="zooblack">
|
||||
<p class="product">Zoblak</p>
|
||||
<p class="hint product-hint">Agritech IoT Solution</p>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6 border-box2 space-left" data-animation="fadeInUp">
|
||||
<img src="img/kiwi.png" class="img-responsive center-block" alt="kiwi">
|
||||
<p class="product">KIVI</p>
|
||||
<p class="hint product-hint">Kivi.ba - real-estate search website</p>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6 border-box2 space-top" data-animation="fadeInUp">
|
||||
<img src="img/ribica.png" class="img-responsive center-block" alt="ribica">
|
||||
<p class="product">Ribica</p>
|
||||
<p class="hint product-hint">Online shop for baby products</p>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6 border-box2 space-top-left" data-animation="fadeInUp">
|
||||
<img src="img/emis.png" class="img-responsive center-block" alt="emis">
|
||||
<p class="product">EMIS</p>
|
||||
<p class="hint product-hint">Students registry for Ministry of Education</p>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6 border-box2 space-top" data-animation="fadeInUp">
|
||||
<img src="img/vsm.png" class="img-responsive center-block" alt="vsm">
|
||||
<p class="product">VSM</p>
|
||||
<p class="hint product-hint">Social Media Manager</p>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6 border-box2 space-top-left" data-animation="fadeInUp">
|
||||
<img src="img/analytical.png" class="img-responsive center-block" alt="analytical">
|
||||
<p class="product">Simulation Finance</p>
|
||||
<p class="hint product-hint">Financial forecasting SaaS</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Left and right controls -->
|
||||
<a class="left carousel-control" href="#myCarousel" data-slide="prev">
|
||||
<span class="glyphicon glyphicon-chevron-left fa fa-chevron-left"></span>
|
||||
<span class="sr-only">Previous</span>
|
||||
</a>
|
||||
<a class="right carousel-control" href="#myCarousel" data-slide="next">
|
||||
<span class="glyphicon glyphicon-chevron-right fa fa-chevron-right"></span>
|
||||
<span class="sr-only">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- End Our work -->
|
||||
|
||||
|
||||
<!-- Start Technology -->
|
||||
<section class="technology">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h2 class="med-title text-center">Technology</h2>
|
||||
<p class="tag-line text-center space20">We understand that technology is just a tool. The proper technology<br class="hidden-xs hidden-sm"> will help drive the success of your business and support your long-term<br class="hidden-xs hidden-sm"> goals. These are the technologies we work with on a daily basis.</p>
|
||||
<div class="row space80 owl_id">
|
||||
<div class="col-md-3 col-sm-3">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/html_5.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech1">
|
||||
<p class="hint text-center">HTML5</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/react.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech2">
|
||||
<p class="hint text-center">React</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/nodejs.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech3">
|
||||
<p class="hint text-center">Node.js</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/es6.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech4">
|
||||
<p class="hint text-center">ES6</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 space80">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/angular_js.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech5">
|
||||
<p class="hint text-center">Angular.js</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 space80">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/ruby.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech6">
|
||||
<p class="hint text-center">Ruby</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 space80">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/rails.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech7">
|
||||
<p class="hint text-center">RoR</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 space80">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/amazon_webservices.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech8">
|
||||
<p class="hint text-center">Amazon AWS</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 space80">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/python.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech9">
|
||||
<p class="hint text-center">Python</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 space80">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/mongodb.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech10">
|
||||
<p class="hint text-center">MongoDB</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 space80">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/mysql.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech12">
|
||||
<p class="hint text-center">MySQL</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 space80">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/postgresql.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech12">
|
||||
<p class="hint text-center">PostgreSQL</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 space80">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/docker.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech13">
|
||||
<p class="hint text-center">Docker</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 space80">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/elastic.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech14">
|
||||
<p class="hint text-center">Elastic</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 space80">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/redis.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech15">
|
||||
<p class="hint text-center">Redis</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 space80">
|
||||
<div class="bg-color">
|
||||
<img src="img/technology/jenkins.svg" class="img-responsive center-block " data-animation="zoomIn" alt="tech16">
|
||||
<p class="hint text-center">Jenkins</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- End Technology -->
|
||||
|
||||
|
||||
<!-- Start team -->
|
||||
<section class="team" id="team">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h2 class="med-title text-center">The Team</h2>
|
||||
<p class="tag-line text-center space20">We are a small company with a personal touch. We know our stuff. Our<br class="hidden-xs hidden-sm"> people have T-shaped profiles which means that they combine a deep<br class="hidden-xs hidden-sm"> specialism with a broad range of knowledge and skills.</p>
|
||||
<div class="row space80">
|
||||
<div class="col-md-3 col-sm-3 text-center">
|
||||
<img src="img/team/amir.svg" class="img-responsive center-block hidden-xs" alt="team1">
|
||||
<img src="img/team/amir_mobile.svg" class="img-responsive center-block visible-xs" alt="team1">
|
||||
<h4 class="heading-tag">Amir</h4>
|
||||
<p class="hint text-center">Business Develpment</p>
|
||||
<p class="details2">Strategic planning, Customer<br class="hidden-xs hidden-sm"> relations, Sales</p>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 text-center">
|
||||
<img src="img/team/edin.svg" class="img-responsive center-block hidden-xs" alt="team2">
|
||||
<img src="img/team/edin_mobile.svg" class="img-responsive center-block visible-xs" alt="team1">
|
||||
<h4 class="heading-tag">Edin</h4>
|
||||
<p class="hint text-center">Developer, Co-Founder</p>
|
||||
<p class="details2">Javascript, React, Software<br class="hidden-xs hidden-sm"> architecture</p>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 text-center">
|
||||
<img src="img/team/senad.svg" class="img-responsive center-block hidden-xs" alt="team3">
|
||||
<img src="img/team/senad_mobile.svg" class="img-responsive center-block visible-xs" alt="team1">
|
||||
<h4 class="heading-tag">Senad</h4>
|
||||
<p class="hint text-center">Developer, Co-Founder</p>
|
||||
<p class="details2">Javascript, Ruby, IoT, Software<br class="hidden-xs hidden-sm"> architecture, Android, iOS</p>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 text-center">
|
||||
<img src="img/team/mediha.svg" class="img-responsive center-block hidden-xs" alt="team4">
|
||||
<img src="img/team/mediha_mobile.svg" class="img-responsive center-block visible-xs" alt="team1">
|
||||
<h4 class="heading-tag">Mediha</h4>
|
||||
<p class="hint text-center">Developer</p>
|
||||
<p class="details2">Javascript, C#, Android,<br class="hidden-xs hidden-sm"> Math & Algorithms</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row space100">
|
||||
<div class="col-md-3 col-sm-3 text-center">
|
||||
<img src="img/team/mirna.svg" class="img-responsive center-block hidden-xs" alt="team5">
|
||||
<img src="img/team/mirna_mobile.svg" class="img-responsive center-block visible-xs" alt="team1">
|
||||
<h4 class="heading-tag">Mirna</h4>
|
||||
<p class="hint text-center">Developer</p>
|
||||
<p class="details2">Javascript, React/Angular, Data<br class="hidden-xs hidden-sm"> visualization</p>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 text-center">
|
||||
<img src="img/team/neir.svg" class="img-responsive center-block hidden-xs" alt="team6">
|
||||
<img src="img/team/neir_mobile.svg" class="img-responsive center-block visible-xs" alt="team1">
|
||||
<h4 class="heading-tag">Neir</h4>
|
||||
<p class="hint text-center">Developer</p>
|
||||
<p class="details2">Javascript, HTML/CSS, jQuery</p>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 text-center">
|
||||
<img src="img/team/nina.svg" class="img-responsive center-block hidden-xs" alt="team7">
|
||||
<img src="img/team/nina_mobile.svg" class="img-responsive center-block visible-xs" alt="team1">
|
||||
<h4 class="heading-tag">Nina</h4>
|
||||
<p class="hint text-center">Designer</p>
|
||||
<p class="details2">UX research, Idea wire-framing,<br class="hidden-xs hidden-sm"> Prototyping, UI design, Visuals,<br class="hidden-xs hidden-sm"> Interaction</p>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-3 text-center">
|
||||
<img src="img/team/elman.svg" class="img-responsive center-block hidden-xs" alt="team7">
|
||||
<img src="img/team/elman_mobile.svg" class="img-responsive center-block visible-xs" alt="team1">
|
||||
<h4 class="heading-tag">Elman</h4>
|
||||
<p class="hint text-center">Business Development</p>
|
||||
<p class="details2">Strategic planning, Customer<br class="hidden-xs hidden-sm"> relations, Sales</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- End team -->
|
||||
|
||||
|
||||
<!-- Start Form -->
|
||||
<section class="form-section" id="contact">
|
||||
<div class="form-caption">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
|
||||
<!-- NEW FORM -->
|
||||
<form method="POST" id="contact-form">
|
||||
|
||||
</form>
|
||||
|
||||
<!-- END FORM -->
|
||||
<form method="POST" action="https://formspree.io/info@saburly.com" id="contact-form">
|
||||
<input type="hidden" name="_subject" value="Saburly Website contact" />
|
||||
|
||||
<p class="say-hi">Say Hi!</p>
|
||||
<div class="form-group">
|
||||
<!-- <input type="text" name="name" class="name" maxlength="50" pattern="^.+$" required placeholder="Enter your full name" /> -->
|
||||
|
||||
<input type="text" name="name" class="form-control" maxlength="50" pattern="^.+$" required="required"/>
|
||||
<label class="control-label" for="input">Your Full Name</label><i class="bar"></i>
|
||||
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="email" name="email" maxlength="320" pattern="^[a-z0-9!#$%\x26'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%\x26'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" class="form-control" required="required"/>
|
||||
|
||||
<label class="control-label" for="input">Your Email</label><i class="bar"></i>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<textarea required="required" class="form-control" name="message"></textarea>
|
||||
<label class="control-label" for="textarea">Your message to us</label><i class="bar"></i>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-default" value="Send your message">Send your message</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- End Form -->
|
||||
|
||||
<!-- Start footer -->
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<a href="#" class="back-to-top"><i class="material-icons closebtn"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<h6>our office</h6>
|
||||
<P>Milana Preloga 12,<br> Sarajevo, 71000 BIH,<br> Europe</P>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="#">info@saburly.com</a></li>
|
||||
<li><a href="#">www.saburly.com</a></li>
|
||||
</ul>
|
||||
<a href="#" class="tweet"><span class="fa fa-twitter tweet"></span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- End footer -->
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-100791503-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- javascript libraries -->
|
||||
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> -->
|
||||
<!-- <script src="js/jquery-1.11.2.min.js"></script> -->
|
||||
<!-- <script src="js/bootstrap.min.js"></script> -->
|
||||
<!-- <script src="js/owl.carousel.min.js"></script> -->
|
||||
<!-- <script src="js/modernizr-2.5.3.min.js"></script> -->
|
||||
<!-- <script src="js/jquery.appear.js"></script> -->
|
||||
<!-- <script src="js/jquery.easing.min.js"></script> -->
|
||||
<!-- <script src="js/jquery.bcSwipe.min.js"></script> -->
|
||||
<!-- <script src="js/custom.js"></script> -->
|
||||
|
||||
<!-- all bundles -->
|
||||
<script src="all.js"></script>
|
||||
<script>
|
||||
|
||||
var sent = false;
|
||||
window.addEventListener('scroll', function(e) {
|
||||
var scrollTop = $(window).scrollTop();
|
||||
var docHeight = $(document).height();
|
||||
var winHeight = $(window).height();
|
||||
var scrollPercent = (scrollTop) / (docHeight - winHeight);
|
||||
var scrollPercentRounded = Math.round(scrollPercent*100);
|
||||
|
||||
if (scrollPercentRounded > 30 && !sent) {
|
||||
ga('send', 'pageview');
|
||||
sent = true;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
9
js/bootstrap.min.js
vendored
407
js/custom.js
@@ -1,407 +0,0 @@
|
||||
|
||||
$('a.nav-link').click(function(e) {
|
||||
var target = $($(this).attr("href"));
|
||||
var marginTop = parseInt(target.css('paddingTop'), 10);
|
||||
if (target.attr('id') === 'second') {
|
||||
marginTop = 0;
|
||||
}
|
||||
$('html, body').animate({
|
||||
scrollTop: target.offset().top - marginTop
|
||||
}, 1000);
|
||||
e.preventDefault();
|
||||
return false;
|
||||
});
|
||||
|
||||
if ($(window).width() < 767) {
|
||||
$('.navbar-collapse a').click(function(){
|
||||
$(".navbar-collapse").collapse('hide');
|
||||
$('#nav-icon3').toggleClass('open');
|
||||
});
|
||||
|
||||
$('.navbar-nav').removeClass('animated');
|
||||
$('.above_item').addClass('carousel-inner');
|
||||
$('#myCarousel').addClass('carousel slide');
|
||||
$('.border-box2').addClass('item');
|
||||
$('.border-box2:first-child').addClass('active');
|
||||
$('.owl_id').attr('id', 'owl-demo');
|
||||
$('.owl_id .col-sm-3').addClass('item')
|
||||
$('.owl_id .col-sm-3:first-child').addClass('active');
|
||||
|
||||
$('.our-work').find('.border-box2').removeClass('animated');
|
||||
|
||||
$('.how-we-work').find('.border-box').attr('data-animation', 'fadeInUp');
|
||||
|
||||
$('.technology').find('.animated').removeClass('animated');
|
||||
|
||||
$('.navbar-brand').removeClass('animated').attr('data-animation', '');
|
||||
$(".go_there").prependTo($(".come_here"));
|
||||
$('.carousel').bcSwipe({ threshold: 50 });
|
||||
|
||||
|
||||
// $(document).scroll(function() {
|
||||
// TODO: revisit this
|
||||
// if (window.scrollY > 50) {
|
||||
// $(".header-wrap").stop().animate({
|
||||
// zoom: 0.5
|
||||
// });
|
||||
// $(".header-wrap").css("opacity", 1 - $(window).scrollTop() / 250);
|
||||
// } else {
|
||||
// $(".header-wrap").stop().animate({
|
||||
// zoom: 1
|
||||
// });
|
||||
// $(".header-wrap").css("opacity", 1);
|
||||
// }
|
||||
// });
|
||||
|
||||
// var myCarousel = $('#myCarousel');
|
||||
// var itemFirst = myCarousel.find('.carousel-inner > .item:first-child');
|
||||
// var itemLast = myCarousel.find('.carousel-inner > .item:last-child');
|
||||
// var controlLeft = myCarousel.find('a.left.carousel-control');
|
||||
// var controlRight = myCarousel.find('a.right.carousel-control');
|
||||
|
||||
// hideControl();
|
||||
|
||||
// myCarousel.on('slid.bs.carousel', function() {
|
||||
// // hideControl();
|
||||
// });
|
||||
// myCarousel.on('slide.bs.carousel', function() {
|
||||
// // showControl();
|
||||
// });
|
||||
|
||||
// function hideControl() {
|
||||
// if (itemFirst.hasClass('active')) {
|
||||
// controlLeft.css('display', 'none');
|
||||
// }
|
||||
// if (itemLast.hasClass('active')) {
|
||||
// controlRight.css('display', 'none');
|
||||
// myCarousel.carousel('pause'); // stop from cycling through items
|
||||
// }
|
||||
// }
|
||||
|
||||
// function showControl() {
|
||||
// if (itemFirst.hasClass('active')) {
|
||||
// controlLeft.css('display', 'block');
|
||||
// }
|
||||
// if (itemLast.hasClass('active')) {
|
||||
// controlRight.css('display', 'block');
|
||||
// }
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
$('a.back-to-top').click(function() {
|
||||
$('html, body').animate({
|
||||
scrollTop: 0
|
||||
}, 700);
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
//appear animedted...............
|
||||
// $('.animated').appear(function() {
|
||||
// var elem = $(this);
|
||||
// var animation = elem.data('animation');
|
||||
// if (!elem.hasClass('visible')) {
|
||||
// var animationDelay = elem.data('animation-delay');
|
||||
// if (animationDelay) {
|
||||
|
||||
// setTimeout(function() {
|
||||
// elem.addClass(animation + " visible");
|
||||
// }, animationDelay);
|
||||
|
||||
// } else {
|
||||
// elem.addClass(animation + " visible");
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
//end appear animedted...............
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#nav-icon3').click(function() {
|
||||
$(this).toggleClass('open');
|
||||
});
|
||||
|
||||
$('.readmore').click(function() {
|
||||
$(this).siblings('.details2').slideToggle();
|
||||
});
|
||||
$('.readmore').click(function() {
|
||||
if ($(this).text() == 'Read more') {
|
||||
$(this).text('Read less');
|
||||
} else {
|
||||
$(this).text('Read more');
|
||||
}
|
||||
});
|
||||
$('.readmore').click(function() {
|
||||
$(this).toggleClass('arrow-up');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
$(document).ready(function() {
|
||||
$("#owl-demo").owlCarousel({
|
||||
autoPlay: 3000, //Set AutoPlay to 3 seconds
|
||||
items: 1,
|
||||
loop: true,
|
||||
itemsCustom: [
|
||||
[0, 3],
|
||||
[320, 3],
|
||||
[480, 3],
|
||||
[768, 3],
|
||||
[1200, 4],
|
||||
[1400, 5],
|
||||
[1600, 5]
|
||||
],
|
||||
navigation: false, // Show next and prev buttons
|
||||
slideSpeed: 300,
|
||||
paginationSpeed: 400,
|
||||
dots: true,
|
||||
|
||||
|
||||
navigationText: [
|
||||
"<img src='img/left.png'>",
|
||||
"<img src='img/right.png'>"
|
||||
],
|
||||
pagination: true,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
var bodyEl = $("body");
|
||||
$(window).on("scroll", function() {
|
||||
var scrollTop = $(this).scrollTop();
|
||||
|
||||
var el = $("#second"),
|
||||
className = el.attr("id");
|
||||
if (el.offset().top <= scrollTop) {
|
||||
bodyEl.addClass(className);
|
||||
} else {
|
||||
bodyEl.removeClass(className);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// $(document).ready(function() {
|
||||
// var fadeStart = 900;
|
||||
// var fadeUntil = 1300;
|
||||
|
||||
// $(window).scroll(function() {
|
||||
// var offset = $(document).scrollTop();
|
||||
|
||||
|
||||
// if (offset < fadeStart) {
|
||||
// $(".brush").css('left', "25");
|
||||
// $(".brush-shadow").css('left', "25");
|
||||
|
||||
// } else if (offset >= fadeStart && offset <= fadeUntil) {
|
||||
// $(".brush").animate({
|
||||
// left: "75",
|
||||
// }, 3000, function() {});
|
||||
// $(".brush-shadow").animate({
|
||||
// left: "55",
|
||||
// }, 4000, function() {});
|
||||
|
||||
// } else if (offset > fadeUntil) {
|
||||
// $(".brush").css('left', "75");
|
||||
// $(".brush-shadow").css('left', "55");
|
||||
|
||||
// }
|
||||
|
||||
// });
|
||||
// });
|
||||
|
||||
|
||||
|
||||
|
||||
// $(document).ready(function() {
|
||||
// var fadeStart1 = 1400;
|
||||
// var fadeUntil1 = 2000;
|
||||
|
||||
|
||||
|
||||
// $(window).scroll(function() {
|
||||
// var offset1 = $(document).scrollTop();
|
||||
|
||||
|
||||
// if (offset1 < fadeStart1) {
|
||||
// $(".box-img").css('right', "20");
|
||||
// $(".box-img-shadow").css('right', "20");
|
||||
|
||||
// } else if (offset1 >= fadeStart1 && offset1 <= fadeUntil1) {
|
||||
// $(".box-img").animate({
|
||||
// right: "150",
|
||||
// }, 3000, function() {});
|
||||
// $(".box-img-shadow").animate({
|
||||
// right: "130",
|
||||
// }, 3500, function() {});
|
||||
|
||||
// } else if (offset1 > fadeUntil1) {
|
||||
// $(".box-img").css('right', "150");
|
||||
// $(".box-img-shadow").css('right', "130");
|
||||
|
||||
// }
|
||||
|
||||
// });
|
||||
// });
|
||||
|
||||
|
||||
|
||||
|
||||
// $(document).ready(function() {
|
||||
// if ($(window).width() < 767) {
|
||||
// return
|
||||
// }
|
||||
// var fadeStart2 = 2300;
|
||||
// var fadeUntil2 = 2700;
|
||||
|
||||
|
||||
|
||||
// $(window).scroll(function() {
|
||||
// var offset2 = $(document).scrollTop();
|
||||
|
||||
|
||||
// if (offset2 < fadeStart2) {
|
||||
// $(".hand").css({
|
||||
// 'left': '50',
|
||||
// 'top': '130'
|
||||
// });
|
||||
// $(".hand-shadow").css({
|
||||
// 'left': '50',
|
||||
// 'top': '130'
|
||||
// });
|
||||
|
||||
// } else if (offset2 >= fadeStart2 && offset2 <= fadeUntil2) {
|
||||
// $(".hand").animate({
|
||||
// left: "70",
|
||||
// top: "150",
|
||||
// }, 3000, function() {});
|
||||
// $(".hand-shadow").animate({
|
||||
// left: "60",
|
||||
// top: "140",
|
||||
// }, 3500, function() {});
|
||||
|
||||
// } else if (offset2 > fadeUntil2) {
|
||||
// $(".hand").css({
|
||||
// 'left': '70',
|
||||
// 'top': '150'
|
||||
// });
|
||||
// $(".hand-shadow").css({
|
||||
// 'left': '60',
|
||||
// 'top': '140'
|
||||
// });
|
||||
|
||||
// }
|
||||
|
||||
// });
|
||||
// });
|
||||
|
||||
/*======================For Mobile Animation=======================*/
|
||||
// if ($(window).width() < 767) {
|
||||
|
||||
// $(document).ready(function() {
|
||||
// var fadeStart_mob = 400;
|
||||
// var fadeUntil_mob = 1000;
|
||||
|
||||
// $(window).scroll(function() {
|
||||
// var offset_mob = $(document).scrollTop();
|
||||
|
||||
// if (offset_mob < fadeStart_mob) {
|
||||
// $(".brush").css('top', "57");
|
||||
// $(".brush-shadow").css('top', "60");
|
||||
|
||||
// } else if (offset_mob >= fadeStart_mob && offset_mob <= fadeUntil_mob) {
|
||||
// $(".brush").animate({
|
||||
// top: "27",
|
||||
// }, 5000, function() {});
|
||||
// $(".brush-shadow").animate({
|
||||
// top: "37",
|
||||
// }, 6000, function() {});
|
||||
|
||||
// } else if (offset_mob > fadeUntil_mob) {
|
||||
// $(".brush").css('top', "57");
|
||||
// $(".brush-shadow").css('top', "60");
|
||||
|
||||
// }
|
||||
|
||||
// });
|
||||
// });
|
||||
|
||||
// $(document).ready(function() {
|
||||
// var fadeStart_mob1 = 800;
|
||||
// var fadeUntil_mob1 = 1300;
|
||||
// $(window).scroll(function() {
|
||||
// var offset_mob1 = $(document).scrollTop();
|
||||
// if (offset_mob1 < fadeStart_mob1) {
|
||||
// $(".box-img").css('top', "50");
|
||||
// $(".box-img-shadow").css('top', "55");
|
||||
|
||||
// } else if (offset_mob1 >= fadeStart_mob1 && offset_mob1 <= fadeUntil_mob1) {
|
||||
// $(".box-img").animate({
|
||||
// top: "20",
|
||||
// }, 5000, function() {});
|
||||
// $(".box-img-shadow").animate({
|
||||
// top: "30",
|
||||
// }, 6000, function() {});
|
||||
// } else if (offset_mob1 > fadeUntil_mob1) {
|
||||
// $(".box-img").css('top', "50");
|
||||
// $(".box-img-shadow").css('top', "55");
|
||||
// }
|
||||
// });
|
||||
// });
|
||||
|
||||
// $(document).ready(function() {
|
||||
// var fadeStart_mob2 = 1100;
|
||||
// var fadeUntil_mob2 = 1700;
|
||||
// $(window).scroll(function() {
|
||||
// var offset_mob2 = $(document).scrollTop();
|
||||
// if (offset_mob2 < fadeStart_mob2) {
|
||||
// $(".hand").css('top', "60");
|
||||
// $(".hand-shadow").css('top', "65");
|
||||
|
||||
// } else if (offset_mob2 >= fadeStart_mob2 && offset_mob2 <= fadeUntil_mob2) {
|
||||
// $(".hand").animate({
|
||||
// top: "20",
|
||||
// }, 5000, function() {});
|
||||
// $(".hand-shadow").animate({
|
||||
// top: "30",
|
||||
// }, 6000, function() {});
|
||||
// } else if (offset_mob2 > fadeUntil_mob2) {
|
||||
// $(".hand").css('top', "60");
|
||||
// $(".hand-shadow").css('top', "65");
|
||||
// }
|
||||
// });
|
||||
// });
|
||||
|
||||
|
||||
// }
|
||||
|
||||
/*
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$(window).scroll(function(){
|
||||
var offset3 = $(document).scrollTop();
|
||||
|
||||
|
||||
if (offset3 > 50) {
|
||||
$('.go_away').animate({
|
||||
top: '-50px',
|
||||
opacity: '0.5',
|
||||
},500)
|
||||
|
||||
}else if (offset3 < 50) {
|
||||
$('.go_away').animate({
|
||||
top: '0',
|
||||
opacity: '1',
|
||||
},200)
|
||||
}
|
||||
|
||||
});
|
||||
});*/
|
||||
5
js/jquery-1.11.2.min.js
vendored
@@ -1,150 +0,0 @@
|
||||
/*
|
||||
* jQuery.appear
|
||||
* https://github.com/bas2k/jquery.appear/
|
||||
* http://code.google.com/p/jquery-appear/
|
||||
*
|
||||
* Copyright (c) 2009 Michael Hixson
|
||||
* Copyright (c) 2012 Alexander Brovikov
|
||||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
(function($) {
|
||||
$.fn.appear = function(fn, options) {
|
||||
|
||||
var settings = $.extend({
|
||||
|
||||
//arbitrary data to pass to fn
|
||||
data: undefined,
|
||||
|
||||
//call fn only on the first appear?
|
||||
one: true,
|
||||
|
||||
// X & Y accuracy
|
||||
accX: 0,
|
||||
accY: 0
|
||||
|
||||
}, options);
|
||||
|
||||
return this.each(function() {
|
||||
|
||||
var t = $(this);
|
||||
|
||||
//whether the element is currently visible
|
||||
t.appeared = false;
|
||||
|
||||
if (!fn) {
|
||||
|
||||
//trigger the custom event
|
||||
t.trigger('appear', settings.data);
|
||||
return;
|
||||
}
|
||||
|
||||
var w = $(window);
|
||||
|
||||
//fires the appear event when appropriate
|
||||
var check = function() {
|
||||
|
||||
//is the element hidden?
|
||||
if (!t.is(':visible')) {
|
||||
|
||||
//it became hidden
|
||||
t.appeared = false;
|
||||
return;
|
||||
}
|
||||
|
||||
//is the element inside the visible window?
|
||||
var a = w.scrollLeft();
|
||||
var b = w.scrollTop();
|
||||
var o = t.offset();
|
||||
var x = o.left;
|
||||
var y = o.top;
|
||||
|
||||
var ax = settings.accX;
|
||||
var ay = settings.accY;
|
||||
var th = t.height();
|
||||
var wh = w.height();
|
||||
var tw = t.width();
|
||||
var ww = w.width();
|
||||
|
||||
if (y + th + ay >= b &&
|
||||
y <= b + wh + ay &&
|
||||
x + tw + ax >= a &&
|
||||
x <= a + ww + ax) {
|
||||
|
||||
//trigger the custom event
|
||||
if (!t.appeared) t.trigger('appear', settings.data);
|
||||
|
||||
} else {
|
||||
|
||||
//it scrolled out of view
|
||||
t.appeared = false;
|
||||
}
|
||||
};
|
||||
|
||||
//create a modified fn with some additional logic
|
||||
var modifiedFn = function() {
|
||||
|
||||
//mark the element as visible
|
||||
t.appeared = true;
|
||||
|
||||
//is this supposed to happen only once?
|
||||
if (settings.one) {
|
||||
|
||||
//remove the check
|
||||
w.unbind('scroll', check);
|
||||
var i = $.inArray(check, $.fn.appear.checks);
|
||||
if (i >= 0) $.fn.appear.checks.splice(i, 1);
|
||||
}
|
||||
|
||||
//trigger the original fn
|
||||
fn.apply(this, arguments);
|
||||
};
|
||||
|
||||
//bind the modified fn to the element
|
||||
if (settings.one) t.one('appear', settings.data, modifiedFn);
|
||||
else t.bind('appear', settings.data, modifiedFn);
|
||||
|
||||
//check whenever the window scrolls
|
||||
w.scroll(check);
|
||||
|
||||
//check whenever the dom changes
|
||||
$.fn.appear.checks.push(check);
|
||||
|
||||
//check now
|
||||
(check)();
|
||||
});
|
||||
};
|
||||
|
||||
//keep a queue of appearance checks
|
||||
$.extend($.fn.appear, {
|
||||
|
||||
checks: [],
|
||||
timeout: null,
|
||||
|
||||
//process the queue
|
||||
checkAll: function() {
|
||||
var length = $.fn.appear.checks.length;
|
||||
if (length > 0) while (length--) ($.fn.appear.checks[length])();
|
||||
},
|
||||
|
||||
//check the queue asynchronously
|
||||
run: function() {
|
||||
if ($.fn.appear.timeout) clearTimeout($.fn.appear.timeout);
|
||||
$.fn.appear.timeout = setTimeout($.fn.appear.checkAll, 20);
|
||||
}
|
||||
});
|
||||
|
||||
//run checks when these methods are called
|
||||
$.each(['append', 'prepend', 'after', 'before', 'attr',
|
||||
'removeAttr', 'addClass', 'removeClass', 'toggleClass',
|
||||
'remove', 'css', 'show', 'hide'], function(i, n) {
|
||||
var old = $.fn[n];
|
||||
if (old) {
|
||||
$.fn[n] = function() {
|
||||
var r = old.apply(this, arguments);
|
||||
$.fn.appear.run();
|
||||
return r;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
2
js/jquery.bcSwipe.min.js
vendored
@@ -1,2 +0,0 @@
|
||||
/*! Bootstrap Carousel Swipe jQuery plugin v1.1 | https://github.com/maaaaark/bcSwipe | MIT License */
|
||||
!function(t){t.fn.bcSwipe=function(e){var n={threshold:50};return e&&t.extend(n,e),this.each(function(){function e(t){1==t.touches.length&&(u=t.touches[0].pageX,c=!0,this.addEventListener("touchmove",o,!1))}function o(e){if(c){var o=e.touches[0].pageX,i=u-o;Math.abs(i)>=n.threshold&&(h(),t(this).carousel(i>0?"next":"prev"))}}function h(){this.removeEventListener("touchmove",o),u=null,c=!1}var u,c=!1;"ontouchstart"in document.documentElement&&this.addEventListener("touchstart",e,!1)}),this}}(jQuery);
|
||||
44
js/jquery.easing.min.js
vendored
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
|
||||
*
|
||||
* Uses the built in easing capabilities added In jQuery 1.1
|
||||
* to offer multiple easing options
|
||||
*
|
||||
* TERMS OF USE - EASING EQUATIONS
|
||||
*
|
||||
* Open source under the BSD License.
|
||||
*
|
||||
* Copyright © 2001 Robert Penner
|
||||
* All rights reserved.
|
||||
*
|
||||
* TERMS OF USE - jQuery Easing
|
||||
*
|
||||
* Open source under the BSD License.
|
||||
*
|
||||
* Copyright © 2008 George McGinley Smith
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
* are permitted provided that the following conditions are met:
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice, this list of
|
||||
* conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
* of conditions and the following disclaimer in the documentation and/or other materials
|
||||
* provided with the distribution.
|
||||
*
|
||||
* Neither the name of the author nor the names of contributors may be used to endorse
|
||||
* or promote products derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
||||
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});
|
||||
4
js/modernizr-2.5.3.min.js
vendored
47
js/owl.carousel.min.js
vendored
@@ -1,47 +0,0 @@
|
||||
"function"!==typeof Object.create&&(Object.create=function(f){function g(){}g.prototype=f;return new g});
|
||||
(function(f,g,k){var l={init:function(a,b){this.$elem=f(b);this.options=f.extend({},f.fn.owlCarousel.options,this.$elem.data(),a);this.userOptions=a;this.loadContent()},loadContent:function(){function a(a){var d,e="";if("function"===typeof b.options.jsonSuccess)b.options.jsonSuccess.apply(this,[a]);else{for(d in a.owl)a.owl.hasOwnProperty(d)&&(e+=a.owl[d].item);b.$elem.html(e)}b.logIn()}var b=this,e;"function"===typeof b.options.beforeInit&&b.options.beforeInit.apply(this,[b.$elem]);"string"===typeof b.options.jsonPath?
|
||||
(e=b.options.jsonPath,f.getJSON(e,a)):b.logIn()},logIn:function(){this.$elem.data("owl-originalStyles",this.$elem.attr("style"));this.$elem.data("owl-originalClasses",this.$elem.attr("class"));this.$elem.css({opacity:0});this.orignalItems=this.options.items;this.checkBrowser();this.wrapperWidth=0;this.checkVisible=null;this.setVars()},setVars:function(){if(0===this.$elem.children().length)return!1;this.baseClass();this.eventTypes();this.$userItems=this.$elem.children();this.itemsAmount=this.$userItems.length;
|
||||
this.wrapItems();this.$owlItems=this.$elem.find(".owl-item");this.$owlWrapper=this.$elem.find(".owl-wrapper");this.playDirection="next";this.prevItem=0;this.prevArr=[0];this.currentItem=0;this.customEvents();this.onStartup()},onStartup:function(){this.updateItems();this.calculateAll();this.buildControls();this.updateControls();this.response();this.moveEvents();this.stopOnHover();this.owlStatus();!1!==this.options.transitionStyle&&this.transitionTypes(this.options.transitionStyle);!0===this.options.autoPlay&&
|
||||
(this.options.autoPlay=5E3);this.play();this.$elem.find(".owl-wrapper").css("display","block");this.$elem.is(":visible")?this.$elem.css("opacity",1):this.watchVisibility();this.onstartup=!1;this.eachMoveUpdate();"function"===typeof this.options.afterInit&&this.options.afterInit.apply(this,[this.$elem])},eachMoveUpdate:function(){!0===this.options.lazyLoad&&this.lazyLoad();!0===this.options.autoHeight&&this.autoHeight();this.onVisibleItems();"function"===typeof this.options.afterAction&&this.options.afterAction.apply(this,
|
||||
[this.$elem])},updateVars:function(){"function"===typeof this.options.beforeUpdate&&this.options.beforeUpdate.apply(this,[this.$elem]);this.watchVisibility();this.updateItems();this.calculateAll();this.updatePosition();this.updateControls();this.eachMoveUpdate();"function"===typeof this.options.afterUpdate&&this.options.afterUpdate.apply(this,[this.$elem])},reload:function(){var a=this;g.setTimeout(function(){a.updateVars()},0)},watchVisibility:function(){var a=this;if(!1===a.$elem.is(":visible"))a.$elem.css({opacity:0}),
|
||||
g.clearInterval(a.autoPlayInterval),g.clearInterval(a.checkVisible);else return!1;a.checkVisible=g.setInterval(function(){a.$elem.is(":visible")&&(a.reload(),a.$elem.animate({opacity:1},200),g.clearInterval(a.checkVisible))},500)},wrapItems:function(){this.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>');this.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">');this.wrapperOuter=this.$elem.find(".owl-wrapper-outer");this.$elem.css("display","block")},
|
||||
baseClass:function(){var a=this.$elem.hasClass(this.options.baseClass),b=this.$elem.hasClass(this.options.theme);a||this.$elem.addClass(this.options.baseClass);b||this.$elem.addClass(this.options.theme)},updateItems:function(){var a,b;if(!1===this.options.responsive)return!1;if(!0===this.options.singleItem)return this.options.items=this.orignalItems=1,this.options.itemsCustom=!1,this.options.itemsDesktop=!1,this.options.itemsDesktopSmall=!1,this.options.itemsTablet=!1,this.options.itemsTabletSmall=
|
||||
!1,this.options.itemsMobile=!1;a=f(this.options.responsiveBaseWidth).width();a>(this.options.itemsDesktop[0]||this.orignalItems)&&(this.options.items=this.orignalItems);if(!1!==this.options.itemsCustom)for(this.options.itemsCustom.sort(function(a,b){return a[0]-b[0]}),b=0;b<this.options.itemsCustom.length;b+=1)this.options.itemsCustom[b][0]<=a&&(this.options.items=this.options.itemsCustom[b][1]);else a<=this.options.itemsDesktop[0]&&!1!==this.options.itemsDesktop&&(this.options.items=this.options.itemsDesktop[1]),
|
||||
a<=this.options.itemsDesktopSmall[0]&&!1!==this.options.itemsDesktopSmall&&(this.options.items=this.options.itemsDesktopSmall[1]),a<=this.options.itemsTablet[0]&&!1!==this.options.itemsTablet&&(this.options.items=this.options.itemsTablet[1]),a<=this.options.itemsTabletSmall[0]&&!1!==this.options.itemsTabletSmall&&(this.options.items=this.options.itemsTabletSmall[1]),a<=this.options.itemsMobile[0]&&!1!==this.options.itemsMobile&&(this.options.items=this.options.itemsMobile[1]);this.options.items>this.itemsAmount&&
|
||||
!0===this.options.itemsScaleUp&&(this.options.items=this.itemsAmount)},response:function(){var a=this,b,e;if(!0!==a.options.responsive)return!1;e=f(g).width();a.resizer=function(){f(g).width()!==e&&(!1!==a.options.autoPlay&&g.clearInterval(a.autoPlayInterval),g.clearTimeout(b),b=g.setTimeout(function(){e=f(g).width();a.updateVars()},a.options.responsiveRefreshRate))};f(g).resize(a.resizer)},updatePosition:function(){this.jumpTo(this.currentItem);!1!==this.options.autoPlay&&this.checkAp()},appendItemsSizes:function(){var a=
|
||||
this,b=0,e=a.itemsAmount-a.options.items;a.$owlItems.each(function(c){var d=f(this);d.css({width:a.itemWidth}).data("owl-item",Number(c));if(0===c%a.options.items||c===e)c>e||(b+=1);d.data("owl-roundPages",b)})},appendWrapperSizes:function(){this.$owlWrapper.css({width:this.$owlItems.length*this.itemWidth*2,left:0});this.appendItemsSizes()},calculateAll:function(){this.calculateWidth();this.appendWrapperSizes();this.loops();this.max()},calculateWidth:function(){this.itemWidth=Math.round(this.$elem.width()/
|
||||
this.options.items)},max:function(){var a=-1*(this.itemsAmount*this.itemWidth-this.options.items*this.itemWidth);this.options.items>this.itemsAmount?this.maximumPixels=a=this.maximumItem=0:(this.maximumItem=this.itemsAmount-this.options.items,this.maximumPixels=a);return a},min:function(){return 0},loops:function(){var a=0,b=0,e,c;this.positionsInArray=[0];this.pagesInArray=[];for(e=0;e<this.itemsAmount;e+=1)b+=this.itemWidth,this.positionsInArray.push(-b),!0===this.options.scrollPerPage&&(c=f(this.$owlItems[e]),
|
||||
c=c.data("owl-roundPages"),c!==a&&(this.pagesInArray[a]=this.positionsInArray[e],a=c))},buildControls:function(){if(!0===this.options.navigation||!0===this.options.pagination)this.owlControls=f('<div class="owl-controls"/>').toggleClass("clickable",!this.browser.isTouch).appendTo(this.$elem);!0===this.options.pagination&&this.buildPagination();!0===this.options.navigation&&this.buildButtons()},buildButtons:function(){var a=this,b=f('<div class="owl-buttons"/>');a.owlControls.append(b);a.buttonPrev=
|
||||
f("<div/>",{"class":"owl-prev",html:a.options.navigationText[0]||""});a.buttonNext=f("<div/>",{"class":"owl-next",html:a.options.navigationText[1]||""});b.append(a.buttonPrev).append(a.buttonNext);b.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(a){a.preventDefault()});b.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(b){b.preventDefault();f(this).hasClass("owl-next")?a.next():a.prev()})},buildPagination:function(){var a=this;a.paginationWrapper=
|
||||
f('<div class="owl-pagination"/>');a.owlControls.append(a.paginationWrapper);a.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(b){b.preventDefault();Number(f(this).data("owl-page"))!==a.currentItem&&a.goTo(Number(f(this).data("owl-page")),!0)})},updatePagination:function(){var a,b,e,c,d,g;if(!1===this.options.pagination)return!1;this.paginationWrapper.html("");a=0;b=this.itemsAmount-this.itemsAmount%this.options.items;for(c=0;c<this.itemsAmount;c+=1)0===c%this.options.items&&
|
||||
(a+=1,b===c&&(e=this.itemsAmount-this.options.items),d=f("<div/>",{"class":"owl-page"}),g=f("<span></span>",{text:!0===this.options.paginationNumbers?a:"","class":!0===this.options.paginationNumbers?"owl-numbers":""}),d.append(g),d.data("owl-page",b===c?e:c),d.data("owl-roundPages",a),this.paginationWrapper.append(d));this.checkPagination()},checkPagination:function(){var a=this;if(!1===a.options.pagination)return!1;a.paginationWrapper.find(".owl-page").each(function(){f(this).data("owl-roundPages")===
|
||||
f(a.$owlItems[a.currentItem]).data("owl-roundPages")&&(a.paginationWrapper.find(".owl-page").removeClass("active"),f(this).addClass("active"))})},checkNavigation:function(){if(!1===this.options.navigation)return!1;!1===this.options.rewindNav&&(0===this.currentItem&&0===this.maximumItem?(this.buttonPrev.addClass("disabled"),this.buttonNext.addClass("disabled")):0===this.currentItem&&0!==this.maximumItem?(this.buttonPrev.addClass("disabled"),this.buttonNext.removeClass("disabled")):this.currentItem===
|
||||
this.maximumItem?(this.buttonPrev.removeClass("disabled"),this.buttonNext.addClass("disabled")):0!==this.currentItem&&this.currentItem!==this.maximumItem&&(this.buttonPrev.removeClass("disabled"),this.buttonNext.removeClass("disabled")))},updateControls:function(){this.updatePagination();this.checkNavigation();this.owlControls&&(this.options.items>=this.itemsAmount?this.owlControls.hide():this.owlControls.show())},destroyControls:function(){this.owlControls&&this.owlControls.remove()},next:function(a){if(this.isTransition)return!1;
|
||||
this.currentItem+=!0===this.options.scrollPerPage?this.options.items:1;if(this.currentItem>this.maximumItem+(!0===this.options.scrollPerPage?this.options.items-1:0))if(!0===this.options.rewindNav)this.currentItem=0,a="rewind";else return this.currentItem=this.maximumItem,!1;this.goTo(this.currentItem,a)},prev:function(a){if(this.isTransition)return!1;this.currentItem=!0===this.options.scrollPerPage&&0<this.currentItem&&this.currentItem<this.options.items?0:this.currentItem-(!0===this.options.scrollPerPage?
|
||||
this.options.items:1);if(0>this.currentItem)if(!0===this.options.rewindNav)this.currentItem=this.maximumItem,a="rewind";else return this.currentItem=0,!1;this.goTo(this.currentItem,a)},goTo:function(a,b,e){var c=this;if(c.isTransition)return!1;"function"===typeof c.options.beforeMove&&c.options.beforeMove.apply(this,[c.$elem]);a>=c.maximumItem?a=c.maximumItem:0>=a&&(a=0);c.currentItem=c.owl.currentItem=a;if(!1!==c.options.transitionStyle&&"drag"!==e&&1===c.options.items&&!0===c.browser.support3d)return c.swapSpeed(0),
|
||||
!0===c.browser.support3d?c.transition3d(c.positionsInArray[a]):c.css2slide(c.positionsInArray[a],1),c.afterGo(),c.singleItemTransition(),!1;a=c.positionsInArray[a];!0===c.browser.support3d?(c.isCss3Finish=!1,!0===b?(c.swapSpeed("paginationSpeed"),g.setTimeout(function(){c.isCss3Finish=!0},c.options.paginationSpeed)):"rewind"===b?(c.swapSpeed(c.options.rewindSpeed),g.setTimeout(function(){c.isCss3Finish=!0},c.options.rewindSpeed)):(c.swapSpeed("slideSpeed"),g.setTimeout(function(){c.isCss3Finish=!0},
|
||||
c.options.slideSpeed)),c.transition3d(a)):!0===b?c.css2slide(a,c.options.paginationSpeed):"rewind"===b?c.css2slide(a,c.options.rewindSpeed):c.css2slide(a,c.options.slideSpeed);c.afterGo()},jumpTo:function(a){"function"===typeof this.options.beforeMove&&this.options.beforeMove.apply(this,[this.$elem]);a>=this.maximumItem||-1===a?a=this.maximumItem:0>=a&&(a=0);this.swapSpeed(0);!0===this.browser.support3d?this.transition3d(this.positionsInArray[a]):this.css2slide(this.positionsInArray[a],1);this.currentItem=
|
||||
this.owl.currentItem=a;this.afterGo()},afterGo:function(){this.prevArr.push(this.currentItem);this.prevItem=this.owl.prevItem=this.prevArr[this.prevArr.length-2];this.prevArr.shift(0);this.prevItem!==this.currentItem&&(this.checkPagination(),this.checkNavigation(),this.eachMoveUpdate(),!1!==this.options.autoPlay&&this.checkAp());"function"===typeof this.options.afterMove&&this.prevItem!==this.currentItem&&this.options.afterMove.apply(this,[this.$elem])},stop:function(){this.apStatus="stop";g.clearInterval(this.autoPlayInterval)},
|
||||
checkAp:function(){"stop"!==this.apStatus&&this.play()},play:function(){var a=this;a.apStatus="play";if(!1===a.options.autoPlay)return!1;g.clearInterval(a.autoPlayInterval);a.autoPlayInterval=g.setInterval(function(){a.next(!0)},a.options.autoPlay)},swapSpeed:function(a){"slideSpeed"===a?this.$owlWrapper.css(this.addCssSpeed(this.options.slideSpeed)):"paginationSpeed"===a?this.$owlWrapper.css(this.addCssSpeed(this.options.paginationSpeed)):"string"!==typeof a&&this.$owlWrapper.css(this.addCssSpeed(a))},
|
||||
addCssSpeed:function(a){return{"-webkit-transition":"all "+a+"ms ease","-moz-transition":"all "+a+"ms ease","-o-transition":"all "+a+"ms ease",transition:"all "+a+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(a){return{"-webkit-transform":"translate3d("+a+"px, 0px, 0px)","-moz-transform":"translate3d("+a+"px, 0px, 0px)","-o-transform":"translate3d("+a+"px, 0px, 0px)","-ms-transform":"translate3d("+
|
||||
a+"px, 0px, 0px)",transform:"translate3d("+a+"px, 0px,0px)"}},transition3d:function(a){this.$owlWrapper.css(this.doTranslate(a))},css2move:function(a){this.$owlWrapper.css({left:a})},css2slide:function(a,b){var e=this;e.isCssFinish=!1;e.$owlWrapper.stop(!0,!0).animate({left:a},{duration:b||e.options.slideSpeed,complete:function(){e.isCssFinish=!0}})},checkBrowser:function(){var a=k.createElement("div");a.style.cssText=" -moz-transform:translate3d(0px, 0px, 0px); -ms-transform:translate3d(0px, 0px, 0px); -o-transform:translate3d(0px, 0px, 0px); -webkit-transform:translate3d(0px, 0px, 0px); transform:translate3d(0px, 0px, 0px)";
|
||||
a=a.style.cssText.match(/translate3d\(0px, 0px, 0px\)/g);this.browser={support3d:null!==a&&1===a.length,isTouch:"ontouchstart"in g||g.navigator.msMaxTouchPoints}},moveEvents:function(){if(!1!==this.options.mouseDrag||!1!==this.options.touchDrag)this.gestures(),this.disabledEvents()},eventTypes:function(){var a=["s","e","x"];this.ev_types={};!0===this.options.mouseDrag&&!0===this.options.touchDrag?a=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:
|
||||
!1===this.options.mouseDrag&&!0===this.options.touchDrag?a=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:!0===this.options.mouseDrag&&!1===this.options.touchDrag&&(a=["mousedown.owl","mousemove.owl","mouseup.owl"]);this.ev_types.start=a[0];this.ev_types.move=a[1];this.ev_types.end=a[2]},disabledEvents:function(){this.$elem.on("dragstart.owl",function(a){a.preventDefault()});this.$elem.on("mousedown.disableTextSelect",function(a){return f(a.target).is("input, textarea, select, option")})},
|
||||
gestures:function(){function a(a){if(void 0!==a.touches)return{x:a.touches[0].pageX,y:a.touches[0].pageY};if(void 0===a.touches){if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY};if(void 0===a.pageX)return{x:a.clientX,y:a.clientY}}}function b(a){"on"===a?(f(k).on(d.ev_types.move,e),f(k).on(d.ev_types.end,c)):"off"===a&&(f(k).off(d.ev_types.move),f(k).off(d.ev_types.end))}function e(b){b=b.originalEvent||b||g.event;d.newPosX=a(b).x-h.offsetX;d.newPosY=a(b).y-h.offsetY;d.newRelativeX=d.newPosX-h.relativePos;
|
||||
"function"===typeof d.options.startDragging&&!0!==h.dragging&&0!==d.newRelativeX&&(h.dragging=!0,d.options.startDragging.apply(d,[d.$elem]));(8<d.newRelativeX||-8>d.newRelativeX)&&!0===d.browser.isTouch&&(void 0!==b.preventDefault?b.preventDefault():b.returnValue=!1,h.sliding=!0);(10<d.newPosY||-10>d.newPosY)&&!1===h.sliding&&f(k).off("touchmove.owl");d.newPosX=Math.max(Math.min(d.newPosX,d.newRelativeX/5),d.maximumPixels+d.newRelativeX/5);!0===d.browser.support3d?d.transition3d(d.newPosX):d.css2move(d.newPosX)}
|
||||
function c(a){a=a.originalEvent||a||g.event;var c;a.target=a.target||a.srcElement;h.dragging=!1;!0!==d.browser.isTouch&&d.$owlWrapper.removeClass("grabbing");d.dragDirection=0>d.newRelativeX?d.owl.dragDirection="left":d.owl.dragDirection="right";0!==d.newRelativeX&&(c=d.getNewPosition(),d.goTo(c,!1,"drag"),h.targetElement===a.target&&!0!==d.browser.isTouch&&(f(a.target).on("click.disable",function(a){a.stopImmediatePropagation();a.stopPropagation();a.preventDefault();f(a.target).off("click.disable")}),
|
||||
a=f._data(a.target,"events").click,c=a.pop(),a.splice(0,0,c)));b("off")}var d=this,h={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};d.isCssFinish=!0;d.$elem.on(d.ev_types.start,".owl-wrapper",function(c){c=c.originalEvent||c||g.event;var e;if(3===c.which)return!1;if(!(d.itemsAmount<=d.options.items)){if(!1===d.isCssFinish&&!d.options.dragBeforeAnimFinish||!1===d.isCss3Finish&&!d.options.dragBeforeAnimFinish)return!1;
|
||||
!1!==d.options.autoPlay&&g.clearInterval(d.autoPlayInterval);!0===d.browser.isTouch||d.$owlWrapper.hasClass("grabbing")||d.$owlWrapper.addClass("grabbing");d.newPosX=0;d.newRelativeX=0;f(this).css(d.removeTransition());e=f(this).position();h.relativePos=e.left;h.offsetX=a(c).x-e.left;h.offsetY=a(c).y-e.top;b("on");h.sliding=!1;h.targetElement=c.target||c.srcElement}})},getNewPosition:function(){var a=this.closestItem();a>this.maximumItem?a=this.currentItem=this.maximumItem:0<=this.newPosX&&(this.currentItem=
|
||||
a=0);return a},closestItem:function(){var a=this,b=!0===a.options.scrollPerPage?a.pagesInArray:a.positionsInArray,e=a.newPosX,c=null;f.each(b,function(d,g){e-a.itemWidth/20>b[d+1]&&e-a.itemWidth/20<g&&"left"===a.moveDirection()?(c=g,a.currentItem=!0===a.options.scrollPerPage?f.inArray(c,a.positionsInArray):d):e+a.itemWidth/20<g&&e+a.itemWidth/20>(b[d+1]||b[d]-a.itemWidth)&&"right"===a.moveDirection()&&(!0===a.options.scrollPerPage?(c=b[d+1]||b[b.length-1],a.currentItem=f.inArray(c,a.positionsInArray)):
|
||||
(c=b[d+1],a.currentItem=d+1))});return a.currentItem},moveDirection:function(){var a;0>this.newRelativeX?(a="right",this.playDirection="next"):(a="left",this.playDirection="prev");return a},customEvents:function(){var a=this;a.$elem.on("owl.next",function(){a.next()});a.$elem.on("owl.prev",function(){a.prev()});a.$elem.on("owl.play",function(b,e){a.options.autoPlay=e;a.play();a.hoverStatus="play"});a.$elem.on("owl.stop",function(){a.stop();a.hoverStatus="stop"});a.$elem.on("owl.goTo",function(b,e){a.goTo(e)});
|
||||
a.$elem.on("owl.jumpTo",function(b,e){a.jumpTo(e)})},stopOnHover:function(){var a=this;!0===a.options.stopOnHover&&!0!==a.browser.isTouch&&!1!==a.options.autoPlay&&(a.$elem.on("mouseover",function(){a.stop()}),a.$elem.on("mouseout",function(){"stop"!==a.hoverStatus&&a.play()}))},lazyLoad:function(){var a,b,e,c,d;if(!1===this.options.lazyLoad)return!1;for(a=0;a<this.itemsAmount;a+=1)b=f(this.$owlItems[a]),"loaded"!==b.data("owl-loaded")&&(e=b.data("owl-item"),c=b.find(".lazyOwl"),"string"!==typeof c.data("src")?
|
||||
b.data("owl-loaded","loaded"):(void 0===b.data("owl-loaded")&&(c.hide(),b.addClass("loading").data("owl-loaded","checked")),(d=!0===this.options.lazyFollow?e>=this.currentItem:!0)&&e<this.currentItem+this.options.items&&c.length&&this.lazyPreload(b,c)))},lazyPreload:function(a,b){function e(){a.data("owl-loaded","loaded").removeClass("loading");b.removeAttr("data-src");"fade"===d.options.lazyEffect?b.fadeIn(400):b.show();"function"===typeof d.options.afterLazyLoad&&d.options.afterLazyLoad.apply(this,
|
||||
[d.$elem])}function c(){f+=1;d.completeImg(b.get(0))||!0===k?e():100>=f?g.setTimeout(c,100):e()}var d=this,f=0,k;"DIV"===b.prop("tagName")?(b.css("background-image","url("+b.data("src")+")"),k=!0):b[0].src=b.data("src");c()},autoHeight:function(){function a(){var a=f(e.$owlItems[e.currentItem]).height();e.wrapperOuter.css("height",a+"px");e.wrapperOuter.hasClass("autoHeight")||g.setTimeout(function(){e.wrapperOuter.addClass("autoHeight")},0)}function b(){d+=1;e.completeImg(c.get(0))?a():100>=d?g.setTimeout(b,
|
||||
100):e.wrapperOuter.css("height","")}var e=this,c=f(e.$owlItems[e.currentItem]).find("img"),d;void 0!==c.get(0)?(d=0,b()):a()},completeImg:function(a){return!a.complete||"undefined"!==typeof a.naturalWidth&&0===a.naturalWidth?!1:!0},onVisibleItems:function(){var a;!0===this.options.addClassActive&&this.$owlItems.removeClass("active");this.visibleItems=[];for(a=this.currentItem;a<this.currentItem+this.options.items;a+=1)this.visibleItems.push(a),!0===this.options.addClassActive&&f(this.$owlItems[a]).addClass("active");
|
||||
this.owl.visibleItems=this.visibleItems},transitionTypes:function(a){this.outClass="owl-"+a+"-out";this.inClass="owl-"+a+"-in"},singleItemTransition:function(){var a=this,b=a.outClass,e=a.inClass,c=a.$owlItems.eq(a.currentItem),d=a.$owlItems.eq(a.prevItem),f=Math.abs(a.positionsInArray[a.currentItem])+a.positionsInArray[a.prevItem],g=Math.abs(a.positionsInArray[a.currentItem])+a.itemWidth/2;a.isTransition=!0;a.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":g+"px","-moz-perspective-origin":g+
|
||||
"px","perspective-origin":g+"px"});d.css({position:"relative",left:f+"px"}).addClass(b).on("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend",function(){a.endPrev=!0;d.off("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend");a.clearTransStyle(d,b)});c.addClass(e).on("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend",function(){a.endCurrent=!0;c.off("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend");a.clearTransStyle(c,e)})},clearTransStyle:function(a,
|
||||
b){a.css({position:"",left:""}).removeClass(b);this.endPrev&&this.endCurrent&&(this.$owlWrapper.removeClass("owl-origin"),this.isTransition=this.endCurrent=this.endPrev=!1)},owlStatus:function(){this.owl={userOptions:this.userOptions,baseElement:this.$elem,userItems:this.$userItems,owlItems:this.$owlItems,currentItem:this.currentItem,prevItem:this.prevItem,visibleItems:this.visibleItems,isTouch:this.browser.isTouch,browser:this.browser,dragDirection:this.dragDirection}},clearEvents:function(){this.$elem.off(".owl owl mousedown.disableTextSelect");
|
||||
f(k).off(".owl owl");f(g).off("resize",this.resizer)},unWrap:function(){0!==this.$elem.children().length&&(this.$owlWrapper.unwrap(),this.$userItems.unwrap().unwrap(),this.owlControls&&this.owlControls.remove());this.clearEvents();this.$elem.attr("style",this.$elem.data("owl-originalStyles")||"").attr("class",this.$elem.data("owl-originalClasses"))},destroy:function(){this.stop();g.clearInterval(this.checkVisible);this.unWrap();this.$elem.removeData()},reinit:function(a){a=f.extend({},this.userOptions,
|
||||
a);this.unWrap();this.init(a,this.$elem)},addItem:function(a,b){var e;if(!a)return!1;if(0===this.$elem.children().length)return this.$elem.append(a),this.setVars(),!1;this.unWrap();e=void 0===b||-1===b?-1:b;e>=this.$userItems.length||-1===e?this.$userItems.eq(-1).after(a):this.$userItems.eq(e).before(a);this.setVars()},removeItem:function(a){if(0===this.$elem.children().length)return!1;a=void 0===a||-1===a?-1:a;this.unWrap();this.$userItems.eq(a).remove();this.setVars()}};f.fn.owlCarousel=function(a){return this.each(function(){if(!0===
|
||||
f(this).data("owl-init"))return!1;f(this).data("owl-init",!0);var b=Object.create(l);b.init(a,this);f.data(this,"owlCarousel",b)})};f.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1E3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,
|
||||
responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:g,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}})(jQuery,window,document);
|
||||
1
node_modules/.bin/gulp
generated
vendored
@@ -1 +0,0 @@
|
||||
../gulp/bin/gulp.js
|
||||
1
node_modules/.bin/mkdirp
generated
vendored
@@ -1 +0,0 @@
|
||||
../mkdirp/bin/cmd.js
|
||||
1
node_modules/.bin/semver
generated
vendored
@@ -1 +0,0 @@
|
||||
../semver/bin/semver
|
||||
1
node_modules/.bin/strip-bom
generated
vendored
@@ -1 +0,0 @@
|
||||
../strip-bom/cli.js
|
||||
1
node_modules/.bin/strip-indent
generated
vendored
@@ -1 +0,0 @@
|
||||
../strip-indent/cli.js
|
||||
1
node_modules/.bin/uglifyjs
generated
vendored
@@ -1 +0,0 @@
|
||||
../uglify-js/bin/uglifyjs
|
||||
1
node_modules/.bin/user-home
generated
vendored
@@ -1 +0,0 @@
|
||||
../user-home/cli.js
|
||||
1
node_modules/.bin/which
generated
vendored
@@ -1 +0,0 @@
|
||||
../which/bin/which
|
||||
4
node_modules/ansi-regex/index.js
generated
vendored
@@ -1,4 +0,0 @@
|
||||
'use strict';
|
||||
module.exports = function () {
|
||||
return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g;
|
||||
};
|
||||
21
node_modules/ansi-regex/license
generated
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
|
||||
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.
|
||||
109
node_modules/ansi-regex/package.json
generated
vendored
@@ -1,109 +0,0 @@
|
||||
{
|
||||
"_from": "ansi-regex@^2.0.0",
|
||||
"_id": "ansi-regex@2.1.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
|
||||
"_location": "/ansi-regex",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "ansi-regex@^2.0.0",
|
||||
"name": "ansi-regex",
|
||||
"escapedName": "ansi-regex",
|
||||
"rawSpec": "^2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/has-ansi",
|
||||
"/strip-ansi"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
|
||||
"_shasum": "c3b33ab5ee360d86e0e628f0468ae7ef27d654df",
|
||||
"_spec": "ansi-regex@^2.0.0",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/has-ansi",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/chalk/ansi-regex/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Regular expression for matching ANSI escape codes",
|
||||
"devDependencies": {
|
||||
"ava": "0.17.0",
|
||||
"xo": "0.16.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/chalk/ansi-regex#readme",
|
||||
"keywords": [
|
||||
"ansi",
|
||||
"styles",
|
||||
"color",
|
||||
"colour",
|
||||
"colors",
|
||||
"terminal",
|
||||
"console",
|
||||
"cli",
|
||||
"string",
|
||||
"tty",
|
||||
"escape",
|
||||
"formatting",
|
||||
"rgb",
|
||||
"256",
|
||||
"shell",
|
||||
"xterm",
|
||||
"command-line",
|
||||
"text",
|
||||
"regex",
|
||||
"regexp",
|
||||
"re",
|
||||
"match",
|
||||
"test",
|
||||
"find",
|
||||
"pattern"
|
||||
],
|
||||
"license": "MIT",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
{
|
||||
"name": "Joshua Appelman",
|
||||
"email": "jappelman@xebia.com",
|
||||
"url": "jbnicolai.com"
|
||||
},
|
||||
{
|
||||
"name": "JD Ballard",
|
||||
"email": "i.am.qix@gmail.com",
|
||||
"url": "github.com/qix-"
|
||||
}
|
||||
],
|
||||
"name": "ansi-regex",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/chalk/ansi-regex.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava --verbose",
|
||||
"view-supported": "node fixtures/view-codes.js"
|
||||
},
|
||||
"version": "2.1.1",
|
||||
"xo": {
|
||||
"rules": {
|
||||
"guard-for-in": 0,
|
||||
"no-loop-func": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
39
node_modules/ansi-regex/readme.md
generated
vendored
@@ -1,39 +0,0 @@
|
||||
# ansi-regex [](https://travis-ci.org/chalk/ansi-regex)
|
||||
|
||||
> Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save ansi-regex
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const ansiRegex = require('ansi-regex');
|
||||
|
||||
ansiRegex().test('\u001b[4mcake\u001b[0m');
|
||||
//=> true
|
||||
|
||||
ansiRegex().test('cake');
|
||||
//=> false
|
||||
|
||||
'\u001b[4mcake\u001b[0m'.match(ansiRegex());
|
||||
//=> ['\u001b[4m', '\u001b[0m']
|
||||
```
|
||||
|
||||
## FAQ
|
||||
|
||||
### Why do you test for codes not in the ECMA 48 standard?
|
||||
|
||||
Some of the codes we run as a test are codes that we acquired finding various lists of non-standard or manufacturer specific codes. If I recall correctly, we test for both standard and non-standard codes, as most of them follow the same or similar format and can be safely matched in strings without the risk of removing actual string content. There are a few non-standard control codes that do not follow the traditional format (i.e. they end in numbers) thus forcing us to exclude them from the test because we cannot reliably match them.
|
||||
|
||||
On the historical side, those ECMA standards were established in the early 90's whereas the VT100, for example, was designed in the mid/late 70's. At that point in time, control codes were still pretty ungoverned and engineers used them for a multitude of things, namely to activate hardware ports that may have been proprietary. Somewhere else you see a similar 'anarchy' of codes is in the x86 architecture for processors; there are a ton of "interrupts" that can mean different things on certain brands of processors, most of which have been phased out.
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
||||
65
node_modules/ansi-styles/index.js
generated
vendored
@@ -1,65 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
function assembleStyles () {
|
||||
var styles = {
|
||||
modifiers: {
|
||||
reset: [0, 0],
|
||||
bold: [1, 22], // 21 isn't widely supported and 22 does the same thing
|
||||
dim: [2, 22],
|
||||
italic: [3, 23],
|
||||
underline: [4, 24],
|
||||
inverse: [7, 27],
|
||||
hidden: [8, 28],
|
||||
strikethrough: [9, 29]
|
||||
},
|
||||
colors: {
|
||||
black: [30, 39],
|
||||
red: [31, 39],
|
||||
green: [32, 39],
|
||||
yellow: [33, 39],
|
||||
blue: [34, 39],
|
||||
magenta: [35, 39],
|
||||
cyan: [36, 39],
|
||||
white: [37, 39],
|
||||
gray: [90, 39]
|
||||
},
|
||||
bgColors: {
|
||||
bgBlack: [40, 49],
|
||||
bgRed: [41, 49],
|
||||
bgGreen: [42, 49],
|
||||
bgYellow: [43, 49],
|
||||
bgBlue: [44, 49],
|
||||
bgMagenta: [45, 49],
|
||||
bgCyan: [46, 49],
|
||||
bgWhite: [47, 49]
|
||||
}
|
||||
};
|
||||
|
||||
// fix humans
|
||||
styles.colors.grey = styles.colors.gray;
|
||||
|
||||
Object.keys(styles).forEach(function (groupName) {
|
||||
var group = styles[groupName];
|
||||
|
||||
Object.keys(group).forEach(function (styleName) {
|
||||
var style = group[styleName];
|
||||
|
||||
styles[styleName] = group[styleName] = {
|
||||
open: '\u001b[' + style[0] + 'm',
|
||||
close: '\u001b[' + style[1] + 'm'
|
||||
};
|
||||
});
|
||||
|
||||
Object.defineProperty(styles, groupName, {
|
||||
value: group,
|
||||
enumerable: false
|
||||
});
|
||||
});
|
||||
|
||||
return styles;
|
||||
}
|
||||
|
||||
Object.defineProperty(module, 'exports', {
|
||||
enumerable: true,
|
||||
get: assembleStyles
|
||||
});
|
||||
21
node_modules/ansi-styles/license
generated
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
|
||||
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.
|
||||
90
node_modules/ansi-styles/package.json
generated
vendored
@@ -1,90 +0,0 @@
|
||||
{
|
||||
"_from": "ansi-styles@^2.2.1",
|
||||
"_id": "ansi-styles@2.2.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
|
||||
"_location": "/ansi-styles",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "ansi-styles@^2.2.1",
|
||||
"name": "ansi-styles",
|
||||
"escapedName": "ansi-styles",
|
||||
"rawSpec": "^2.2.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.2.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/chalk"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
|
||||
"_shasum": "b432dd3358b634cf75e1e4664368240533c1ddbe",
|
||||
"_spec": "ansi-styles@^2.2.1",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/chalk",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/chalk/ansi-styles/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "ANSI escape codes for styling strings in the terminal",
|
||||
"devDependencies": {
|
||||
"mocha": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/chalk/ansi-styles#readme",
|
||||
"keywords": [
|
||||
"ansi",
|
||||
"styles",
|
||||
"color",
|
||||
"colour",
|
||||
"colors",
|
||||
"terminal",
|
||||
"console",
|
||||
"cli",
|
||||
"string",
|
||||
"tty",
|
||||
"escape",
|
||||
"formatting",
|
||||
"rgb",
|
||||
"256",
|
||||
"shell",
|
||||
"xterm",
|
||||
"log",
|
||||
"logging",
|
||||
"command-line",
|
||||
"text"
|
||||
],
|
||||
"license": "MIT",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
{
|
||||
"name": "Joshua Appelman",
|
||||
"email": "jappelman@xebia.com",
|
||||
"url": "jbnicolai.com"
|
||||
}
|
||||
],
|
||||
"name": "ansi-styles",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/chalk/ansi-styles.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "2.2.1"
|
||||
}
|
||||
86
node_modules/ansi-styles/readme.md
generated
vendored
@@ -1,86 +0,0 @@
|
||||
# ansi-styles [](https://travis-ci.org/chalk/ansi-styles)
|
||||
|
||||
> [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal
|
||||
|
||||
You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.
|
||||
|
||||

|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save ansi-styles
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var ansi = require('ansi-styles');
|
||||
|
||||
console.log(ansi.green.open + 'Hello world!' + ansi.green.close);
|
||||
```
|
||||
|
||||
|
||||
## API
|
||||
|
||||
Each style has an `open` and `close` property.
|
||||
|
||||
|
||||
## Styles
|
||||
|
||||
### Modifiers
|
||||
|
||||
- `reset`
|
||||
- `bold`
|
||||
- `dim`
|
||||
- `italic` *(not widely supported)*
|
||||
- `underline`
|
||||
- `inverse`
|
||||
- `hidden`
|
||||
- `strikethrough` *(not widely supported)*
|
||||
|
||||
### Colors
|
||||
|
||||
- `black`
|
||||
- `red`
|
||||
- `green`
|
||||
- `yellow`
|
||||
- `blue`
|
||||
- `magenta`
|
||||
- `cyan`
|
||||
- `white`
|
||||
- `gray`
|
||||
|
||||
### Background colors
|
||||
|
||||
- `bgBlack`
|
||||
- `bgRed`
|
||||
- `bgGreen`
|
||||
- `bgYellow`
|
||||
- `bgBlue`
|
||||
- `bgMagenta`
|
||||
- `bgCyan`
|
||||
- `bgWhite`
|
||||
|
||||
|
||||
## Advanced usage
|
||||
|
||||
By default you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module.
|
||||
|
||||
- `ansi.modifiers`
|
||||
- `ansi.colors`
|
||||
- `ansi.bgColors`
|
||||
|
||||
|
||||
###### Example
|
||||
|
||||
```js
|
||||
console.log(ansi.colors.green.open);
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
||||
4
node_modules/archy/.travis.yml
generated
vendored
@@ -1,4 +0,0 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- 0.6
|
||||
- 0.8
|
||||
18
node_modules/archy/LICENSE
generated
vendored
@@ -1,18 +0,0 @@
|
||||
This software is released under the MIT license:
|
||||
|
||||
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.
|
||||
24
node_modules/archy/examples/beep.js
generated
vendored
@@ -1,24 +0,0 @@
|
||||
var archy = require('../');
|
||||
var s = archy({
|
||||
label : 'beep',
|
||||
nodes : [
|
||||
'ity',
|
||||
{
|
||||
label : 'boop',
|
||||
nodes : [
|
||||
{
|
||||
label : 'o_O',
|
||||
nodes : [
|
||||
{
|
||||
label : 'oh',
|
||||
nodes : [ 'hello', 'puny' ]
|
||||
},
|
||||
'human'
|
||||
]
|
||||
},
|
||||
'party\ntime!'
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
console.log(s);
|
||||
25
node_modules/archy/examples/multi_line.js
generated
vendored
@@ -1,25 +0,0 @@
|
||||
var archy = require('../');
|
||||
|
||||
var s = archy({
|
||||
label : 'beep\none\ntwo',
|
||||
nodes : [
|
||||
'ity',
|
||||
{
|
||||
label : 'boop',
|
||||
nodes : [
|
||||
{
|
||||
label : 'o_O\nwheee',
|
||||
nodes : [
|
||||
{
|
||||
label : 'oh',
|
||||
nodes : [ 'hello', 'puny\nmeat' ]
|
||||
},
|
||||
'creature'
|
||||
]
|
||||
},
|
||||
'party\ntime!'
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
console.log(s);
|
||||
35
node_modules/archy/index.js
generated
vendored
@@ -1,35 +0,0 @@
|
||||
module.exports = function archy (obj, prefix, opts) {
|
||||
if (prefix === undefined) prefix = '';
|
||||
if (!opts) opts = {};
|
||||
var chr = function (s) {
|
||||
var chars = {
|
||||
'│' : '|',
|
||||
'└' : '`',
|
||||
'├' : '+',
|
||||
'─' : '-',
|
||||
'┬' : '-'
|
||||
};
|
||||
return opts.unicode === false ? chars[s] : s;
|
||||
};
|
||||
|
||||
if (typeof obj === 'string') obj = { label : obj };
|
||||
|
||||
var nodes = obj.nodes || [];
|
||||
var lines = (obj.label || '').split('\n');
|
||||
var splitter = '\n' + prefix + (nodes.length ? chr('│') : ' ') + ' ';
|
||||
|
||||
return prefix
|
||||
+ lines.join(splitter) + '\n'
|
||||
+ nodes.map(function (node, ix) {
|
||||
var last = ix === nodes.length - 1;
|
||||
var more = node.nodes && node.nodes.length;
|
||||
var prefix_ = prefix + (last ? ' ' : chr('│')) + ' ';
|
||||
|
||||
return prefix
|
||||
+ (last ? chr('└') : chr('├')) + chr('─')
|
||||
+ (more ? chr('┬') : chr('─')) + ' '
|
||||
+ archy(node, prefix_, opts).slice(prefix.length + 2)
|
||||
;
|
||||
}).join('')
|
||||
;
|
||||
};
|
||||
83
node_modules/archy/package.json
generated
vendored
@@ -1,83 +0,0 @@
|
||||
{
|
||||
"_from": "archy@^1.0.0",
|
||||
"_id": "archy@1.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=",
|
||||
"_location": "/archy",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "archy@^1.0.0",
|
||||
"name": "archy",
|
||||
"escapedName": "archy",
|
||||
"rawSpec": "^1.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gulp"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz",
|
||||
"_shasum": "f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40",
|
||||
"_spec": "archy@^1.0.0",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/gulp",
|
||||
"author": {
|
||||
"name": "James Halliday",
|
||||
"email": "mail@substack.net",
|
||||
"url": "http://substack.net"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/substack/node-archy/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "render nested hierarchies `npm ls` style with unicode pipes",
|
||||
"devDependencies": {
|
||||
"tap": "~0.3.3",
|
||||
"tape": "~0.1.1"
|
||||
},
|
||||
"homepage": "https://github.com/substack/node-archy#readme",
|
||||
"keywords": [
|
||||
"hierarchy",
|
||||
"npm ls",
|
||||
"unicode",
|
||||
"pretty",
|
||||
"print"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "archy",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@github.com/substack/node-archy.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "tap test"
|
||||
},
|
||||
"testling": {
|
||||
"files": "test/*.js",
|
||||
"browsers": {
|
||||
"iexplore": [
|
||||
"6.0",
|
||||
"7.0",
|
||||
"8.0",
|
||||
"9.0"
|
||||
],
|
||||
"chrome": [
|
||||
"20.0"
|
||||
],
|
||||
"firefox": [
|
||||
"10.0",
|
||||
"15.0"
|
||||
],
|
||||
"safari": [
|
||||
"5.1"
|
||||
],
|
||||
"opera": [
|
||||
"12.0"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "1.0.0"
|
||||
}
|
||||
88
node_modules/archy/readme.markdown
generated
vendored
@@ -1,88 +0,0 @@
|
||||
# archy
|
||||
|
||||
Render nested hierarchies `npm ls` style with unicode pipes.
|
||||
|
||||
[](http://ci.testling.com/substack/node-archy)
|
||||
|
||||
[](http://travis-ci.org/substack/node-archy)
|
||||
|
||||
# example
|
||||
|
||||
``` js
|
||||
var archy = require('archy');
|
||||
var s = archy({
|
||||
label : 'beep',
|
||||
nodes : [
|
||||
'ity',
|
||||
{
|
||||
label : 'boop',
|
||||
nodes : [
|
||||
{
|
||||
label : 'o_O',
|
||||
nodes : [
|
||||
{
|
||||
label : 'oh',
|
||||
nodes : [ 'hello', 'puny' ]
|
||||
},
|
||||
'human'
|
||||
]
|
||||
},
|
||||
'party\ntime!'
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
console.log(s);
|
||||
```
|
||||
|
||||
output
|
||||
|
||||
```
|
||||
beep
|
||||
├── ity
|
||||
└─┬ boop
|
||||
├─┬ o_O
|
||||
│ ├─┬ oh
|
||||
│ │ ├── hello
|
||||
│ │ └── puny
|
||||
│ └── human
|
||||
└── party
|
||||
time!
|
||||
```
|
||||
|
||||
# methods
|
||||
|
||||
var archy = require('archy')
|
||||
|
||||
## archy(obj, prefix='', opts={})
|
||||
|
||||
Return a string representation of `obj` with unicode pipe characters like how
|
||||
`npm ls` looks.
|
||||
|
||||
`obj` should be a tree of nested objects with `'label'` and `'nodes'` fields.
|
||||
`'label'` is a string of text to display at a node level and `'nodes'` is an
|
||||
array of the descendents of the current node.
|
||||
|
||||
If a node is a string, that string will be used as the `'label'` and an empty
|
||||
array of `'nodes'` will be used.
|
||||
|
||||
`prefix` gets prepended to all the lines and is used by the algorithm to
|
||||
recursively update.
|
||||
|
||||
If `'label'` has newlines they will be indented at the present indentation level
|
||||
with the current prefix.
|
||||
|
||||
To disable unicode results in favor of all-ansi output set `opts.unicode` to
|
||||
`false`.
|
||||
|
||||
# install
|
||||
|
||||
With [npm](http://npmjs.org) do:
|
||||
|
||||
```
|
||||
npm install archy
|
||||
```
|
||||
|
||||
# license
|
||||
|
||||
MIT
|
||||
40
node_modules/archy/test/beep.js
generated
vendored
@@ -1,40 +0,0 @@
|
||||
var test = require('tape');
|
||||
var archy = require('../');
|
||||
|
||||
test('beep', function (t) {
|
||||
var s = archy({
|
||||
label : 'beep',
|
||||
nodes : [
|
||||
'ity',
|
||||
{
|
||||
label : 'boop',
|
||||
nodes : [
|
||||
{
|
||||
label : 'o_O',
|
||||
nodes : [
|
||||
{
|
||||
label : 'oh',
|
||||
nodes : [ 'hello', 'puny' ]
|
||||
},
|
||||
'human'
|
||||
]
|
||||
},
|
||||
'party!'
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
t.equal(s, [
|
||||
'beep',
|
||||
'├── ity',
|
||||
'└─┬ boop',
|
||||
' ├─┬ o_O',
|
||||
' │ ├─┬ oh',
|
||||
' │ │ ├── hello',
|
||||
' │ │ └── puny',
|
||||
' │ └── human',
|
||||
' └── party!',
|
||||
''
|
||||
].join('\n'));
|
||||
t.end();
|
||||
});
|
||||
45
node_modules/archy/test/multi_line.js
generated
vendored
@@ -1,45 +0,0 @@
|
||||
var test = require('tape');
|
||||
var archy = require('../');
|
||||
|
||||
test('multi-line', function (t) {
|
||||
var s = archy({
|
||||
label : 'beep\none\ntwo',
|
||||
nodes : [
|
||||
'ity',
|
||||
{
|
||||
label : 'boop',
|
||||
nodes : [
|
||||
{
|
||||
label : 'o_O\nwheee',
|
||||
nodes : [
|
||||
{
|
||||
label : 'oh',
|
||||
nodes : [ 'hello', 'puny\nmeat' ]
|
||||
},
|
||||
'creature'
|
||||
]
|
||||
},
|
||||
'party\ntime!'
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
t.equal(s, [
|
||||
'beep',
|
||||
'│ one',
|
||||
'│ two',
|
||||
'├── ity',
|
||||
'└─┬ boop',
|
||||
' ├─┬ o_O',
|
||||
' │ │ wheee',
|
||||
' │ ├─┬ oh',
|
||||
' │ │ ├── hello',
|
||||
' │ │ └── puny',
|
||||
' │ │ meat',
|
||||
' │ └── creature',
|
||||
' └── party',
|
||||
' time!',
|
||||
''
|
||||
].join('\n'));
|
||||
t.end();
|
||||
});
|
||||
40
node_modules/archy/test/non_unicode.js
generated
vendored
@@ -1,40 +0,0 @@
|
||||
var test = require('tape');
|
||||
var archy = require('../');
|
||||
|
||||
test('beep', function (t) {
|
||||
var s = archy({
|
||||
label : 'beep',
|
||||
nodes : [
|
||||
'ity',
|
||||
{
|
||||
label : 'boop',
|
||||
nodes : [
|
||||
{
|
||||
label : 'o_O',
|
||||
nodes : [
|
||||
{
|
||||
label : 'oh',
|
||||
nodes : [ 'hello', 'puny' ]
|
||||
},
|
||||
'human'
|
||||
]
|
||||
},
|
||||
'party!'
|
||||
]
|
||||
}
|
||||
]
|
||||
}, '', { unicode : false });
|
||||
t.equal(s, [
|
||||
'beep',
|
||||
'+-- ity',
|
||||
'`-- boop',
|
||||
' +-- o_O',
|
||||
' | +-- oh',
|
||||
' | | +-- hello',
|
||||
' | | `-- puny',
|
||||
' | `-- human',
|
||||
' `-- party!',
|
||||
''
|
||||
].join('\n'));
|
||||
t.end();
|
||||
});
|
||||
21
node_modules/arr-diff/LICENSE
generated
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
|
||||
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.
|
||||
74
node_modules/arr-diff/README.md
generated
vendored
@@ -1,74 +0,0 @@
|
||||
# arr-diff [](https://www.npmjs.com/package/arr-diff) [](https://travis-ci.org/jonschlinkert/base)
|
||||
|
||||
> Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/)
|
||||
|
||||
```sh
|
||||
$ npm i arr-diff --save
|
||||
```
|
||||
Install with [bower](http://bower.io/)
|
||||
|
||||
```sh
|
||||
$ bower install arr-diff --save
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### [diff](index.js#L33)
|
||||
|
||||
Return the difference between the first array and additional arrays.
|
||||
|
||||
**Params**
|
||||
|
||||
* `a` **{Array}**
|
||||
* `b` **{Array}**
|
||||
* `returns` **{Array}**
|
||||
|
||||
**Example**
|
||||
|
||||
```js
|
||||
var diff = require('arr-diff');
|
||||
|
||||
var a = ['a', 'b', 'c', 'd'];
|
||||
var b = ['b', 'c'];
|
||||
|
||||
console.log(diff(a, b))
|
||||
//=> ['a', 'd']
|
||||
```
|
||||
|
||||
## Related projects
|
||||
|
||||
* [arr-flatten](https://www.npmjs.com/package/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | [homepage](https://github.com/jonschlinkert/arr-flatten)
|
||||
* [array-filter](https://www.npmjs.com/package/array-filter): Array#filter for older browsers. | [homepage](https://github.com/juliangruber/array-filter)
|
||||
* [array-intersection](https://www.npmjs.com/package/array-intersection): Return an array with the unique values present in _all_ given arrays using strict equality… [more](https://www.npmjs.com/package/array-intersection) | [homepage](https://github.com/jonschlinkert/array-intersection)
|
||||
|
||||
## Running tests
|
||||
|
||||
Install dev dependencies:
|
||||
|
||||
```sh
|
||||
$ npm i -d && npm test
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/arr-diff/issues/new).
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
|
||||
Copyright © 2015 [Jon Schlinkert](https://github.com/jonschlinkert)
|
||||
Released under the MIT license.
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb](https://github.com/verbose/verb) on Sat Dec 05 2015 23:24:53 GMT-0500 (EST)._
|
||||
58
node_modules/arr-diff/index.js
generated
vendored
@@ -1,58 +0,0 @@
|
||||
/*!
|
||||
* arr-diff <https://github.com/jonschlinkert/arr-diff>
|
||||
*
|
||||
* Copyright (c) 2014 Jon Schlinkert, contributors.
|
||||
* Licensed under the MIT License
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var flatten = require('arr-flatten');
|
||||
var slice = [].slice;
|
||||
|
||||
/**
|
||||
* Return the difference between the first array and
|
||||
* additional arrays.
|
||||
*
|
||||
* ```js
|
||||
* var diff = require('{%= name %}');
|
||||
*
|
||||
* var a = ['a', 'b', 'c', 'd'];
|
||||
* var b = ['b', 'c'];
|
||||
*
|
||||
* console.log(diff(a, b))
|
||||
* //=> ['a', 'd']
|
||||
* ```
|
||||
*
|
||||
* @param {Array} `a`
|
||||
* @param {Array} `b`
|
||||
* @return {Array}
|
||||
* @api public
|
||||
*/
|
||||
|
||||
function diff(arr, arrays) {
|
||||
var argsLen = arguments.length;
|
||||
var len = arr.length, i = -1;
|
||||
var res = [], arrays;
|
||||
|
||||
if (argsLen === 1) {
|
||||
return arr;
|
||||
}
|
||||
|
||||
if (argsLen > 2) {
|
||||
arrays = flatten(slice.call(arguments, 1));
|
||||
}
|
||||
|
||||
while (++i < len) {
|
||||
if (!~arrays.indexOf(arr[i])) {
|
||||
res.push(arr[i]);
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
/**
|
||||
* Expose `diff`
|
||||
*/
|
||||
|
||||
module.exports = diff;
|
||||
80
node_modules/arr-diff/package.json
generated
vendored
@@ -1,80 +0,0 @@
|
||||
{
|
||||
"_from": "arr-diff@^2.0.0",
|
||||
"_id": "arr-diff@2.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=",
|
||||
"_location": "/arr-diff",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "arr-diff@^2.0.0",
|
||||
"name": "arr-diff",
|
||||
"escapedName": "arr-diff",
|
||||
"rawSpec": "^2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/micromatch"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz",
|
||||
"_shasum": "8f3b827f955a8bd669697e4a4256ac3ceae356cf",
|
||||
"_spec": "arr-diff@^2.0.0",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/micromatch",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/arr-diff/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"arr-flatten": "^1.0.1"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.",
|
||||
"devDependencies": {
|
||||
"array-differ": "^1.0.0",
|
||||
"array-slice": "^0.2.3",
|
||||
"benchmarked": "^0.1.4",
|
||||
"chalk": "^1.1.1",
|
||||
"mocha": "*",
|
||||
"should": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/arr-diff",
|
||||
"keywords": [
|
||||
"arr",
|
||||
"array",
|
||||
"diff",
|
||||
"differ",
|
||||
"difference"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "arr-diff",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jonschlinkert/arr-diff.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"verb": {
|
||||
"related": {
|
||||
"list": [
|
||||
"arr-flatten",
|
||||
"array-filter",
|
||||
"array-intersection"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "2.0.0"
|
||||
}
|
||||
21
node_modules/arr-flatten/LICENSE
generated
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
|
||||
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.
|
||||
86
node_modules/arr-flatten/README.md
generated
vendored
@@ -1,86 +0,0 @@
|
||||
# arr-flatten [](https://www.npmjs.com/package/arr-flatten) [](https://npmjs.org/package/arr-flatten) [](https://npmjs.org/package/arr-flatten) [](https://travis-ci.org/jonschlinkert/arr-flatten) [](https://ci.appveyor.com/project/jonschlinkert/arr-flatten)
|
||||
|
||||
> Recursively flatten an array or arrays.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/):
|
||||
|
||||
```sh
|
||||
$ npm install --save arr-flatten
|
||||
```
|
||||
|
||||
## Install
|
||||
|
||||
Install with [bower](https://bower.io/)
|
||||
|
||||
```sh
|
||||
$ bower install arr-flatten --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var flatten = require('arr-flatten');
|
||||
|
||||
flatten(['a', ['b', ['c']], 'd', ['e']]);
|
||||
//=> ['a', 'b', 'c', 'd', 'e']
|
||||
```
|
||||
|
||||
## Why another flatten utility?
|
||||
|
||||
I wanted the fastest implementation I could find, with implementation choices that should work for 95% of use cases, but no cruft to cover the other 5%.
|
||||
|
||||
## About
|
||||
|
||||
### Related projects
|
||||
|
||||
* [arr-filter](https://www.npmjs.com/package/arr-filter): Faster alternative to javascript's native filter method. | [homepage](https://github.com/jonschlinkert/arr-filter "Faster alternative to javascript's native filter method.")
|
||||
* [arr-union](https://www.npmjs.com/package/arr-union): Combines a list of arrays, returning a single array with unique values, using strict equality… [more](https://github.com/jonschlinkert/arr-union) | [homepage](https://github.com/jonschlinkert/arr-union "Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.")
|
||||
* [array-each](https://www.npmjs.com/package/array-each): Loop over each item in an array and call the given function on every element. | [homepage](https://github.com/jonschlinkert/array-each "Loop over each item in an array and call the given function on every element.")
|
||||
* [array-unique](https://www.npmjs.com/package/array-unique): Remove duplicate values from an array. Fastest ES5 implementation. | [homepage](https://github.com/jonschlinkert/array-unique "Remove duplicate values from an array. Fastest ES5 implementation.")
|
||||
|
||||
### Contributing
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
|
||||
|
||||
### Contributors
|
||||
|
||||
| **Commits** | **Contributor** |
|
||||
| --- | --- |
|
||||
| 20 | [jonschlinkert](https://github.com/jonschlinkert) |
|
||||
| 1 | [lukeed](https://github.com/lukeed) |
|
||||
|
||||
### Building docs
|
||||
|
||||
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
|
||||
|
||||
To generate the readme, run the following command:
|
||||
|
||||
```sh
|
||||
$ npm install -g verbose/verb#dev verb-generate-readme && verb
|
||||
```
|
||||
|
||||
### Running tests
|
||||
|
||||
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
|
||||
|
||||
```sh
|
||||
$ npm install && npm test
|
||||
```
|
||||
|
||||
### Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
* [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
|
||||
|
||||
### License
|
||||
|
||||
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
|
||||
Released under the [MIT License](LICENSE).
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on July 05, 2017._
|
||||
22
node_modules/arr-flatten/index.js
generated
vendored
@@ -1,22 +0,0 @@
|
||||
/*!
|
||||
* arr-flatten <https://github.com/jonschlinkert/arr-flatten>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function (arr) {
|
||||
return flat(arr, []);
|
||||
};
|
||||
|
||||
function flat(arr, res) {
|
||||
var i = 0, cur;
|
||||
var len = arr.length;
|
||||
for (; i < len; i++) {
|
||||
cur = arr[i];
|
||||
Array.isArray(cur) ? flat(cur, res) : res.push(cur);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
113
node_modules/arr-flatten/package.json
generated
vendored
@@ -1,113 +0,0 @@
|
||||
{
|
||||
"_from": "arr-flatten@^1.0.1",
|
||||
"_id": "arr-flatten@1.1.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",
|
||||
"_location": "/arr-flatten",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "arr-flatten@^1.0.1",
|
||||
"name": "arr-flatten",
|
||||
"escapedName": "arr-flatten",
|
||||
"rawSpec": "^1.0.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/arr-diff"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
|
||||
"_shasum": "36048bbff4e7b47e136644316c99669ea5ae91f1",
|
||||
"_spec": "arr-flatten@^1.0.1",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/arr-diff",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/arr-flatten/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "http://twitter.com/jonschlinkert"
|
||||
},
|
||||
{
|
||||
"name": "Luke Edwards",
|
||||
"url": "https://lukeed.com"
|
||||
}
|
||||
],
|
||||
"deprecated": false,
|
||||
"description": "Recursively flatten an array or arrays.",
|
||||
"devDependencies": {
|
||||
"ansi-bold": "^0.1.1",
|
||||
"array-flatten": "^2.1.1",
|
||||
"array-slice": "^1.0.0",
|
||||
"benchmarked": "^1.0.0",
|
||||
"compute-flatten": "^1.0.0",
|
||||
"flatit": "^1.1.1",
|
||||
"flatten": "^1.0.2",
|
||||
"flatten-array": "^1.0.0",
|
||||
"glob": "^7.1.1",
|
||||
"gulp-format-md": "^0.1.12",
|
||||
"just-flatten-it": "^1.1.23",
|
||||
"lodash.flattendeep": "^4.4.0",
|
||||
"m_flattened": "^1.0.1",
|
||||
"mocha": "^3.2.0",
|
||||
"utils-flatten": "^1.0.0",
|
||||
"write": "^0.3.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/arr-flatten",
|
||||
"keywords": [
|
||||
"arr",
|
||||
"array",
|
||||
"elements",
|
||||
"flat",
|
||||
"flatten",
|
||||
"nested",
|
||||
"recurse",
|
||||
"recursive",
|
||||
"recursively"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "arr-flatten",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jonschlinkert/arr-flatten.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"verb": {
|
||||
"toc": false,
|
||||
"layout": "default",
|
||||
"tasks": [
|
||||
"readme"
|
||||
],
|
||||
"plugins": [
|
||||
"gulp-format-md"
|
||||
],
|
||||
"related": {
|
||||
"list": [
|
||||
"arr-filter",
|
||||
"arr-union",
|
||||
"array-each",
|
||||
"array-unique"
|
||||
]
|
||||
},
|
||||
"lint": {
|
||||
"reflinks": true
|
||||
}
|
||||
},
|
||||
"version": "1.1.0"
|
||||
}
|
||||
7
node_modules/array-differ/index.js
generated
vendored
@@ -1,7 +0,0 @@
|
||||
'use strict';
|
||||
module.exports = function (arr) {
|
||||
var rest = [].concat.apply([], [].slice.call(arguments, 1));
|
||||
return arr.filter(function (el) {
|
||||
return rest.indexOf(el) === -1;
|
||||
});
|
||||
};
|
||||
64
node_modules/array-differ/package.json
generated
vendored
@@ -1,64 +0,0 @@
|
||||
{
|
||||
"_from": "array-differ@^1.0.0",
|
||||
"_id": "array-differ@1.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-7/UuN1gknTO+QCuLuOVkuytdQDE=",
|
||||
"_location": "/array-differ",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "array-differ@^1.0.0",
|
||||
"name": "array-differ",
|
||||
"escapedName": "array-differ",
|
||||
"rawSpec": "^1.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gulp-util"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz",
|
||||
"_shasum": "eff52e3758249d33be402b8bb8e564bb2b5d4031",
|
||||
"_spec": "array-differ@^1.0.0",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/gulp-util",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "http://sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/array-differ/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Create an array with values that are present in the first input array but not additional ones",
|
||||
"devDependencies": {
|
||||
"mocha": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/sindresorhus/array-differ#readme",
|
||||
"keywords": [
|
||||
"array",
|
||||
"difference",
|
||||
"diff",
|
||||
"differ",
|
||||
"filter",
|
||||
"exclude"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "array-differ",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/array-differ.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "1.0.0"
|
||||
}
|
||||
41
node_modules/array-differ/readme.md
generated
vendored
@@ -1,41 +0,0 @@
|
||||
# array-differ [](https://travis-ci.org/sindresorhus/array-differ)
|
||||
|
||||
> Create an array with values that are present in the first input array but not additional ones
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
$ npm install --save array-differ
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var arrayDiffer = require('array-differ');
|
||||
|
||||
arrayDiffer([2, 3, 4], [3, 50]);
|
||||
//=> [2, 4]
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### arrayDiffer(input, values, [values, ...])
|
||||
|
||||
Returns the new array.
|
||||
|
||||
#### input
|
||||
|
||||
Type: `array`
|
||||
|
||||
#### values
|
||||
|
||||
Type: `array`
|
||||
|
||||
Arrays of values to exclude.
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
||||
21
node_modules/array-each/LICENSE
generated
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015, 2017, Jon Schlinkert
|
||||
|
||||
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.
|
||||
84
node_modules/array-each/README.md
generated
vendored
@@ -1,84 +0,0 @@
|
||||
# array-each [](https://www.npmjs.com/package/array-each) [](https://npmjs.org/package/array-each) [](https://npmjs.org/package/array-each) [](https://travis-ci.org/jonschlinkert/array-each)
|
||||
|
||||
> Loop over each item in an array and call the given function on every element.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/):
|
||||
|
||||
```sh
|
||||
$ npm install --save array-each
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### [each](index.js#L34)
|
||||
|
||||
Loop over each item in an array and call the given function on every element.
|
||||
|
||||
**Params**
|
||||
|
||||
* `array` **{Array}**
|
||||
* `fn` **{Function}**
|
||||
* `thisArg` **{Object}**: (optional) pass a `thisArg` to be used as the context in which to call the function.
|
||||
* `returns` **{undefined}**
|
||||
|
||||
**Example**
|
||||
|
||||
```js
|
||||
each(['a', 'b', 'c'], function(ele) {
|
||||
return ele + ele;
|
||||
});
|
||||
//=> ['aa', 'bb', 'cc']
|
||||
|
||||
each(['a', 'b', 'c'], function(ele, i) {
|
||||
return i + ele;
|
||||
});
|
||||
//=> ['0a', '1b', '2c']
|
||||
```
|
||||
|
||||
## About
|
||||
|
||||
### Related projects
|
||||
|
||||
* [arr-filter](https://www.npmjs.com/package/arr-filter): Faster alternative to javascript's native filter method. | [homepage](https://github.com/jonschlinkert/arr-filter "Faster alternative to javascript's native filter method.")
|
||||
* [arr-map](https://www.npmjs.com/package/arr-map): Faster, node.js focused alternative to JavaScript's native array map. | [homepage](https://github.com/jonschlinkert/arr-map "Faster, node.js focused alternative to JavaScript's native array map.")
|
||||
* [collection-map](https://www.npmjs.com/package/collection-map): Returns an array of mapped values from an array or object. | [homepage](https://github.com/jonschlinkert/collection-map "Returns an array of mapped values from an array or object.")
|
||||
|
||||
### Contributing
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
|
||||
|
||||
### Building docs
|
||||
|
||||
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
|
||||
|
||||
To generate the readme, run the following command:
|
||||
|
||||
```sh
|
||||
$ npm install -g verbose/verb#dev verb-generate-readme && verb
|
||||
```
|
||||
|
||||
### Running tests
|
||||
|
||||
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
|
||||
|
||||
```sh
|
||||
$ npm install && npm test
|
||||
```
|
||||
|
||||
### Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
* [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
|
||||
|
||||
### License
|
||||
|
||||
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
|
||||
Released under the [MIT License](LICENSE).
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on February 26, 2017._
|
||||
46
node_modules/array-each/index.js
generated
vendored
@@ -1,46 +0,0 @@
|
||||
/*!
|
||||
* array-each <https://github.com/jonschlinkert/array-each>
|
||||
*
|
||||
* Copyright (c) 2015, 2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Loop over each item in an array and call the given function on every element.
|
||||
*
|
||||
* ```js
|
||||
* each(['a', 'b', 'c'], function(ele) {
|
||||
* return ele + ele;
|
||||
* });
|
||||
* //=> ['aa', 'bb', 'cc']
|
||||
*
|
||||
* each(['a', 'b', 'c'], function(ele, i) {
|
||||
* return i + ele;
|
||||
* });
|
||||
* //=> ['0a', '1b', '2c']
|
||||
* ```
|
||||
*
|
||||
* @name each
|
||||
* @alias forEach
|
||||
* @param {Array} `array`
|
||||
* @param {Function} `fn`
|
||||
* @param {Object} `thisArg` (optional) pass a `thisArg` to be used as the context in which to call the function.
|
||||
* @return {undefined}
|
||||
* @api public
|
||||
*/
|
||||
|
||||
module.exports = function each(arr, cb, thisArg) {
|
||||
if (arr == null) return;
|
||||
|
||||
var len = arr.length;
|
||||
var idx = -1;
|
||||
|
||||
while (++idx < len) {
|
||||
var ele = arr[idx];
|
||||
if (cb.call(thisArg, ele, idx, arr) === false) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
81
node_modules/array-each/package.json
generated
vendored
@@ -1,81 +0,0 @@
|
||||
{
|
||||
"_from": "array-each@^1.0.1",
|
||||
"_id": "array-each@1.0.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-p5SvDAWrF1KEbudTofIRoFugxE8=",
|
||||
"_location": "/array-each",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "array-each@^1.0.1",
|
||||
"name": "array-each",
|
||||
"escapedName": "array-each",
|
||||
"rawSpec": "^1.0.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/object.defaults"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz",
|
||||
"_shasum": "a794af0c05ab1752846ee753a1f211a05ba0c44f",
|
||||
"_spec": "array-each@^1.0.1",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/object.defaults",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/array-each/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Loop over each item in an array and call the given function on every element.",
|
||||
"devDependencies": {
|
||||
"gulp-format-md": "^0.1.11",
|
||||
"mocha": "^3.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/array-each",
|
||||
"keywords": [
|
||||
"array",
|
||||
"each"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "array-each",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jonschlinkert/array-each.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"verb": {
|
||||
"toc": false,
|
||||
"layout": "default",
|
||||
"tasks": [
|
||||
"readme"
|
||||
],
|
||||
"plugins": [
|
||||
"gulp-format-md"
|
||||
],
|
||||
"related": {
|
||||
"list": [
|
||||
"collection-map",
|
||||
"arr-filter",
|
||||
"arr-map"
|
||||
]
|
||||
},
|
||||
"lint": {
|
||||
"reflinks": true
|
||||
}
|
||||
},
|
||||
"version": "1.0.1"
|
||||
}
|
||||
25
node_modules/array-find-index/index.js
generated
vendored
@@ -1,25 +0,0 @@
|
||||
'use strict';
|
||||
module.exports = function (arr, predicate, ctx) {
|
||||
if (typeof Array.prototype.findIndex === 'function') {
|
||||
return arr.findIndex(predicate, ctx);
|
||||
}
|
||||
|
||||
if (typeof predicate !== 'function') {
|
||||
throw new TypeError('predicate must be a function');
|
||||
}
|
||||
|
||||
var list = Object(arr);
|
||||
var len = list.length;
|
||||
|
||||
if (len === 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
for (var i = 0; i < len; i++) {
|
||||
if (predicate.call(ctx, list[i], i, list)) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
|
||||
return -1;
|
||||
};
|
||||
21
node_modules/array-find-index/license
generated
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
|
||||
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.
|
||||
67
node_modules/array-find-index/package.json
generated
vendored
@@ -1,67 +0,0 @@
|
||||
{
|
||||
"_from": "array-find-index@^1.0.1",
|
||||
"_id": "array-find-index@1.0.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=",
|
||||
"_location": "/array-find-index",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "array-find-index@^1.0.1",
|
||||
"name": "array-find-index",
|
||||
"escapedName": "array-find-index",
|
||||
"rawSpec": "^1.0.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/currently-unhandled"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",
|
||||
"_shasum": "df010aa1287e164bbda6f9723b0a96a1ec4187a1",
|
||||
"_spec": "array-find-index@^1.0.1",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/currently-unhandled",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/array-find-index/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "ES2015 `Array#findIndex()` ponyfill",
|
||||
"devDependencies": {
|
||||
"ava": "*",
|
||||
"xo": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/sindresorhus/array-find-index#readme",
|
||||
"keywords": [
|
||||
"es2015",
|
||||
"ponyfill",
|
||||
"polyfill",
|
||||
"shim",
|
||||
"find",
|
||||
"index",
|
||||
"findindex",
|
||||
"array"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "array-find-index",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/array-find-index.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava"
|
||||
},
|
||||
"version": "1.0.2"
|
||||
}
|
||||
30
node_modules/array-find-index/readme.md
generated
vendored
@@ -1,30 +0,0 @@
|
||||
# array-find-index [](https://travis-ci.org/sindresorhus/array-find-index)
|
||||
|
||||
> ES2015 [`Array#findIndex()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex) [ponyfill](https://ponyfill.com)
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save array-find-index
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const arrayFindIndex = require('array-find-index');
|
||||
|
||||
arrayFindIndex(['rainbow', 'unicorn', 'pony'], x => x === 'unicorn');
|
||||
//=> 1
|
||||
```
|
||||
|
||||
|
||||
## API
|
||||
|
||||
Same as `Array#findIndex()`, but with the input array as the first argument.
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
||||
21
node_modules/array-slice/LICENSE
generated
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015, 2017, Jon Schlinkert
|
||||
|
||||
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.
|
||||
69
node_modules/array-slice/README.md
generated
vendored
@@ -1,69 +0,0 @@
|
||||
# array-slice [](https://www.npmjs.com/package/array-slice) [](https://npmjs.org/package/array-slice) [](https://npmjs.org/package/array-slice) [](https://travis-ci.org/jonschlinkert/array-slice)
|
||||
|
||||
> Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/):
|
||||
|
||||
```sh
|
||||
$ npm install --save array-slice
|
||||
```
|
||||
|
||||
This function is used instead of `Array#slice` to support node lists in IE < 9 and to ensure dense arrays are returned. This is also faster than native slice in some cases.
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var slice = require('array-slice');
|
||||
var arr = ['a', 'b', 'd', 'e', 'f', 'g', 'h', 'i', 'j'];
|
||||
|
||||
slice(arr, 3, 6);
|
||||
//=> ['e', 'f', 'g']
|
||||
```
|
||||
|
||||
## About
|
||||
|
||||
### Related projects
|
||||
|
||||
* [arr-flatten](https://www.npmjs.com/package/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | [homepage](https://github.com/jonschlinkert/arr-flatten "Recursively flatten an array or arrays. This is the fastest implementation of array flatten.")
|
||||
* [array-unique](https://www.npmjs.com/package/array-unique): Remove duplicate values from an array. Fastest ES5 implementation. | [homepage](https://github.com/jonschlinkert/array-unique "Remove duplicate values from an array. Fastest ES5 implementation.")
|
||||
* [array-xor](https://www.npmjs.com/package/array-xor): Returns the symmetric difference (exclusive-or) of an array of elements (elements that are present in… [more](https://github.com/jonschlinkert/array-xor) | [homepage](https://github.com/jonschlinkert/array-xor "Returns the symmetric difference (exclusive-or) of an array of elements (elements that are present in all given arrays and not in their intersections).")
|
||||
|
||||
### Contributing
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
|
||||
|
||||
### Building docs
|
||||
|
||||
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
|
||||
|
||||
To generate the readme, run the following command:
|
||||
|
||||
```sh
|
||||
$ npm install -g verbose/verb#dev verb-generate-readme && verb
|
||||
```
|
||||
|
||||
### Running tests
|
||||
|
||||
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
|
||||
|
||||
```sh
|
||||
$ npm install && npm test
|
||||
```
|
||||
|
||||
### Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
* [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
|
||||
|
||||
### License
|
||||
|
||||
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
|
||||
Released under the [MIT License](LICENSE).
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.3, on March 02, 2017._
|
||||
35
node_modules/array-slice/index.js
generated
vendored
@@ -1,35 +0,0 @@
|
||||
/*!
|
||||
* array-slice <https://github.com/jonschlinkert/array-slice>
|
||||
*
|
||||
* Copyright (c) 2014-2015, 2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function slice(arr, start, end) {
|
||||
var len = arr.length;
|
||||
var range = [];
|
||||
|
||||
start = idx(arr, start);
|
||||
end = idx(arr, end, len);
|
||||
|
||||
while (start < end) {
|
||||
range.push(arr[start++]);
|
||||
}
|
||||
return range;
|
||||
};
|
||||
|
||||
function idx(arr, pos, end) {
|
||||
var len = arr.length;
|
||||
|
||||
if (pos == null) {
|
||||
pos = end || 0;
|
||||
} else if (pos < 0) {
|
||||
pos = Math.max(len + pos, 0);
|
||||
} else {
|
||||
pos = Math.min(pos, len);
|
||||
}
|
||||
|
||||
return pos;
|
||||
}
|
||||
85
node_modules/array-slice/package.json
generated
vendored
@@ -1,85 +0,0 @@
|
||||
{
|
||||
"_from": "array-slice@^1.0.0",
|
||||
"_id": "array-slice@1.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-5zA08A3MH0CHYAj9IP6ud71LfC8=",
|
||||
"_location": "/array-slice",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "array-slice@^1.0.0",
|
||||
"name": "array-slice",
|
||||
"escapedName": "array-slice",
|
||||
"rawSpec": "^1.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/object.defaults"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.0.0.tgz",
|
||||
"_shasum": "e73034f00dcc1f40876008fd20feae77bd4b7c2f",
|
||||
"_spec": "array-slice@^1.0.0",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/object.defaults",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/array-slice/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.",
|
||||
"devDependencies": {
|
||||
"gulp-format-md": "^0.1.11",
|
||||
"mocha": "^3.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/array-slice",
|
||||
"keywords": [
|
||||
"array",
|
||||
"javascript",
|
||||
"js",
|
||||
"slice",
|
||||
"util",
|
||||
"utils"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "array-slice",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jonschlinkert/array-slice.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"verb": {
|
||||
"toc": false,
|
||||
"layout": "default",
|
||||
"tasks": [
|
||||
"readme"
|
||||
],
|
||||
"plugins": [
|
||||
"gulp-format-md"
|
||||
],
|
||||
"related": {
|
||||
"list": [
|
||||
"arr-flatten",
|
||||
"array-unique",
|
||||
"array-xor"
|
||||
]
|
||||
},
|
||||
"lint": {
|
||||
"reflinks": true
|
||||
}
|
||||
},
|
||||
"version": "1.0.0"
|
||||
}
|
||||
62
node_modules/array-uniq/index.js
generated
vendored
@@ -1,62 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
// there's 3 implementations written in increasing order of efficiency
|
||||
|
||||
// 1 - no Set type is defined
|
||||
function uniqNoSet(arr) {
|
||||
var ret = [];
|
||||
|
||||
for (var i = 0; i < arr.length; i++) {
|
||||
if (ret.indexOf(arr[i]) === -1) {
|
||||
ret.push(arr[i]);
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
// 2 - a simple Set type is defined
|
||||
function uniqSet(arr) {
|
||||
var seen = new Set();
|
||||
return arr.filter(function (el) {
|
||||
if (!seen.has(el)) {
|
||||
seen.add(el);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
// 3 - a standard Set type is defined and it has a forEach method
|
||||
function uniqSetWithForEach(arr) {
|
||||
var ret = [];
|
||||
|
||||
(new Set(arr)).forEach(function (el) {
|
||||
ret.push(el);
|
||||
});
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
// V8 currently has a broken implementation
|
||||
// https://github.com/joyent/node/issues/8449
|
||||
function doesForEachActuallyWork() {
|
||||
var ret = false;
|
||||
|
||||
(new Set([true])).forEach(function (el) {
|
||||
ret = el;
|
||||
});
|
||||
|
||||
return ret === true;
|
||||
}
|
||||
|
||||
if ('Set' in global) {
|
||||
if (typeof Set.prototype.forEach === 'function' && doesForEachActuallyWork()) {
|
||||
module.exports = uniqSetWithForEach;
|
||||
} else {
|
||||
module.exports = uniqSet;
|
||||
}
|
||||
} else {
|
||||
module.exports = uniqNoSet;
|
||||
}
|
||||
21
node_modules/array-uniq/license
generated
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
|
||||
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.
|
||||
69
node_modules/array-uniq/package.json
generated
vendored
@@ -1,69 +0,0 @@
|
||||
{
|
||||
"_from": "array-uniq@^1.0.2",
|
||||
"_id": "array-uniq@1.0.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=",
|
||||
"_location": "/array-uniq",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "array-uniq@^1.0.2",
|
||||
"name": "array-uniq",
|
||||
"escapedName": "array-uniq",
|
||||
"rawSpec": "^1.0.2",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.2"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gulp-util"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz",
|
||||
"_shasum": "af6ac877a25cc7f74e058894753858dfdb24fdb6",
|
||||
"_spec": "array-uniq@^1.0.2",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/gulp-util",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/array-uniq/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Create an array without duplicates",
|
||||
"devDependencies": {
|
||||
"ava": "*",
|
||||
"es6-set": "^0.1.0",
|
||||
"require-uncached": "^1.0.2",
|
||||
"xo": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/sindresorhus/array-uniq#readme",
|
||||
"keywords": [
|
||||
"array",
|
||||
"arr",
|
||||
"set",
|
||||
"uniq",
|
||||
"unique",
|
||||
"es6",
|
||||
"duplicate",
|
||||
"remove"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "array-uniq",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/array-uniq.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava"
|
||||
},
|
||||
"version": "1.0.3"
|
||||
}
|
||||
30
node_modules/array-uniq/readme.md
generated
vendored
@@ -1,30 +0,0 @@
|
||||
# array-uniq [](https://travis-ci.org/sindresorhus/array-uniq)
|
||||
|
||||
> Create an array without duplicates
|
||||
|
||||
It's already pretty fast, but will be much faster when [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) becomes available in V8 (especially with large arrays).
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save array-uniq
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const arrayUniq = require('array-uniq');
|
||||
|
||||
arrayUniq([1, 1, 2, 3, 3]);
|
||||
//=> [1, 2, 3]
|
||||
|
||||
arrayUniq(['foo', 'foo', 'bar', 'foo']);
|
||||
//=> ['foo', 'bar']
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
||||
21
node_modules/array-unique/LICENSE
generated
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
|
||||
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.
|
||||
51
node_modules/array-unique/README.md
generated
vendored
@@ -1,51 +0,0 @@
|
||||
# array-unique [](http://badge.fury.io/js/array-unique) [](https://travis-ci.org/jonschlinkert/array-unique)
|
||||
|
||||
> Return an array free of duplicate values. Fastest ES5 implementation.
|
||||
|
||||
## Install with [npm](npmjs.org)
|
||||
|
||||
```bash
|
||||
npm i array-unique --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var unique = require('array-unique');
|
||||
|
||||
unique(['a', 'b', 'c', 'c']);
|
||||
//=> ['a', 'b', 'c']
|
||||
```
|
||||
|
||||
## Related
|
||||
* [arr-diff](https://github.com/jonschlinkert/arr-diff): Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
|
||||
* [arr-union](https://github.com/jonschlinkert/arr-union): Returns an array of unique values using strict equality for comparisons.
|
||||
* [arr-flatten](https://github.com/jonschlinkert/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten.
|
||||
* [arr-reduce](https://github.com/jonschlinkert/arr-reduce): Fast array reduce that also loops over sparse elements.
|
||||
* [arr-map](https://github.com/jonschlinkert/arr-map): Faster, node.js focused alternative to JavaScript's native array map.
|
||||
* [arr-pluck](https://github.com/jonschlinkert/arr-pluck): Retrieves the value of a specified property from all elements in the collection.
|
||||
|
||||
## Run tests
|
||||
Install dev dependencies.
|
||||
|
||||
```bash
|
||||
npm i -d && npm test
|
||||
```
|
||||
|
||||
## Contributing
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/array-unique/issues)
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
Copyright (c) 2015 Jon Schlinkert
|
||||
Released under the MIT license
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 24, 2015._
|
||||
28
node_modules/array-unique/index.js
generated
vendored
@@ -1,28 +0,0 @@
|
||||
/*!
|
||||
* array-unique <https://github.com/jonschlinkert/array-unique>
|
||||
*
|
||||
* Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function unique(arr) {
|
||||
if (!Array.isArray(arr)) {
|
||||
throw new TypeError('array-unique expects an array.');
|
||||
}
|
||||
|
||||
var len = arr.length;
|
||||
var i = -1;
|
||||
|
||||
while (i++ < len) {
|
||||
var j = i + 1;
|
||||
|
||||
for (; j < arr.length; ++j) {
|
||||
if (arr[i] === arr[j]) {
|
||||
arr.splice(j--, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
return arr;
|
||||
};
|
||||
62
node_modules/array-unique/package.json
generated
vendored
@@ -1,62 +0,0 @@
|
||||
{
|
||||
"_from": "array-unique@^0.2.1",
|
||||
"_id": "array-unique@0.2.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=",
|
||||
"_location": "/array-unique",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "array-unique@^0.2.1",
|
||||
"name": "array-unique",
|
||||
"escapedName": "array-unique",
|
||||
"rawSpec": "^0.2.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^0.2.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/micromatch"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz",
|
||||
"_shasum": "a1d97ccafcbc2625cc70fadceb36a50c58b01a53",
|
||||
"_spec": "array-unique@^0.2.1",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/micromatch",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/array-unique/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Return an array free of duplicate values. Fastest ES5 implementation.",
|
||||
"devDependencies": {
|
||||
"array-uniq": "^1.0.2",
|
||||
"benchmarked": "^0.1.3",
|
||||
"mocha": "*",
|
||||
"should": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/array-unique",
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/jonschlinkert/array-unique/blob/master/LICENSE"
|
||||
},
|
||||
"main": "index.js",
|
||||
"name": "array-unique",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jonschlinkert/array-unique.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "0.2.1"
|
||||
}
|
||||
5
node_modules/balanced-match/.npmignore
generated
vendored
@@ -1,5 +0,0 @@
|
||||
test
|
||||
.gitignore
|
||||
.travis.yml
|
||||
Makefile
|
||||
example.js
|
||||
21
node_modules/balanced-match/LICENSE.md
generated
vendored
@@ -1,21 +0,0 @@
|
||||
(MIT)
|
||||
|
||||
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
|
||||
|
||||
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.
|
||||
91
node_modules/balanced-match/README.md
generated
vendored
@@ -1,91 +0,0 @@
|
||||
# balanced-match
|
||||
|
||||
Match balanced string pairs, like `{` and `}` or `<b>` and `</b>`. Supports regular expressions as well!
|
||||
|
||||
[](http://travis-ci.org/juliangruber/balanced-match)
|
||||
[](https://www.npmjs.org/package/balanced-match)
|
||||
|
||||
[](https://ci.testling.com/juliangruber/balanced-match)
|
||||
|
||||
## Example
|
||||
|
||||
Get the first matching pair of braces:
|
||||
|
||||
```js
|
||||
var balanced = require('balanced-match');
|
||||
|
||||
console.log(balanced('{', '}', 'pre{in{nested}}post'));
|
||||
console.log(balanced('{', '}', 'pre{first}between{second}post'));
|
||||
console.log(balanced(/\s+\{\s+/, /\s+\}\s+/, 'pre { in{nest} } post'));
|
||||
```
|
||||
|
||||
The matches are:
|
||||
|
||||
```bash
|
||||
$ node example.js
|
||||
{ start: 3, end: 14, pre: 'pre', body: 'in{nested}', post: 'post' }
|
||||
{ start: 3,
|
||||
end: 9,
|
||||
pre: 'pre',
|
||||
body: 'first',
|
||||
post: 'between{second}post' }
|
||||
{ start: 3, end: 17, pre: 'pre', body: 'in{nest}', post: 'post' }
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### var m = balanced(a, b, str)
|
||||
|
||||
For the first non-nested matching pair of `a` and `b` in `str`, return an
|
||||
object with those keys:
|
||||
|
||||
* **start** the index of the first match of `a`
|
||||
* **end** the index of the matching `b`
|
||||
* **pre** the preamble, `a` and `b` not included
|
||||
* **body** the match, `a` and `b` not included
|
||||
* **post** the postscript, `a` and `b` not included
|
||||
|
||||
If there's no match, `undefined` will be returned.
|
||||
|
||||
If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `['{', 'a', '']` and `{a}}` will match `['', 'a', '}']`.
|
||||
|
||||
### var r = balanced.range(a, b, str)
|
||||
|
||||
For the first non-nested matching pair of `a` and `b` in `str`, return an
|
||||
array with indexes: `[ <a index>, <b index> ]`.
|
||||
|
||||
If there's no match, `undefined` will be returned.
|
||||
|
||||
If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `[ 1, 3 ]` and `{a}}` will match `[0, 2]`.
|
||||
|
||||
## Installation
|
||||
|
||||
With [npm](https://npmjs.org) do:
|
||||
|
||||
```bash
|
||||
npm install balanced-match
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
(MIT)
|
||||
|
||||
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
|
||||
|
||||
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.
|
||||
59
node_modules/balanced-match/index.js
generated
vendored
@@ -1,59 +0,0 @@
|
||||
'use strict';
|
||||
module.exports = balanced;
|
||||
function balanced(a, b, str) {
|
||||
if (a instanceof RegExp) a = maybeMatch(a, str);
|
||||
if (b instanceof RegExp) b = maybeMatch(b, str);
|
||||
|
||||
var r = range(a, b, str);
|
||||
|
||||
return r && {
|
||||
start: r[0],
|
||||
end: r[1],
|
||||
pre: str.slice(0, r[0]),
|
||||
body: str.slice(r[0] + a.length, r[1]),
|
||||
post: str.slice(r[1] + b.length)
|
||||
};
|
||||
}
|
||||
|
||||
function maybeMatch(reg, str) {
|
||||
var m = str.match(reg);
|
||||
return m ? m[0] : null;
|
||||
}
|
||||
|
||||
balanced.range = range;
|
||||
function range(a, b, str) {
|
||||
var begs, beg, left, right, result;
|
||||
var ai = str.indexOf(a);
|
||||
var bi = str.indexOf(b, ai + 1);
|
||||
var i = ai;
|
||||
|
||||
if (ai >= 0 && bi > 0) {
|
||||
begs = [];
|
||||
left = str.length;
|
||||
|
||||
while (i >= 0 && !result) {
|
||||
if (i == ai) {
|
||||
begs.push(i);
|
||||
ai = str.indexOf(a, i + 1);
|
||||
} else if (begs.length == 1) {
|
||||
result = [ begs.pop(), bi ];
|
||||
} else {
|
||||
beg = begs.pop();
|
||||
if (beg < left) {
|
||||
left = beg;
|
||||
right = bi;
|
||||
}
|
||||
|
||||
bi = str.indexOf(b, i + 1);
|
||||
}
|
||||
|
||||
i = ai < bi && ai >= 0 ? ai : bi;
|
||||
}
|
||||
|
||||
if (begs.length) {
|
||||
result = [ left, right ];
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
77
node_modules/balanced-match/package.json
generated
vendored
@@ -1,77 +0,0 @@
|
||||
{
|
||||
"_from": "balanced-match@^1.0.0",
|
||||
"_id": "balanced-match@1.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
|
||||
"_location": "/balanced-match",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "balanced-match@^1.0.0",
|
||||
"name": "balanced-match",
|
||||
"escapedName": "balanced-match",
|
||||
"rawSpec": "^1.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/brace-expansion"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
|
||||
"_shasum": "89b4d199ab2bee49de164ea02b89ce462d71b767",
|
||||
"_spec": "balanced-match@^1.0.0",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/brace-expansion",
|
||||
"author": {
|
||||
"name": "Julian Gruber",
|
||||
"email": "mail@juliangruber.com",
|
||||
"url": "http://juliangruber.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/juliangruber/balanced-match/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {},
|
||||
"deprecated": false,
|
||||
"description": "Match balanced character pairs, like \"{\" and \"}\"",
|
||||
"devDependencies": {
|
||||
"matcha": "^0.7.0",
|
||||
"tape": "^4.6.0"
|
||||
},
|
||||
"homepage": "https://github.com/juliangruber/balanced-match",
|
||||
"keywords": [
|
||||
"match",
|
||||
"regexp",
|
||||
"test",
|
||||
"balanced",
|
||||
"parse"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "balanced-match",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/juliangruber/balanced-match.git"
|
||||
},
|
||||
"scripts": {
|
||||
"bench": "make bench",
|
||||
"test": "make test"
|
||||
},
|
||||
"testling": {
|
||||
"files": "test/*.js",
|
||||
"browsers": [
|
||||
"ie/8..latest",
|
||||
"firefox/20..latest",
|
||||
"firefox/nightly",
|
||||
"chrome/25..latest",
|
||||
"chrome/canary",
|
||||
"opera/12..latest",
|
||||
"opera/next",
|
||||
"safari/5.1..latest",
|
||||
"ipad/6.0..latest",
|
||||
"iphone/6.0..latest",
|
||||
"android-browser/4.2..latest"
|
||||
]
|
||||
},
|
||||
"version": "1.0.0"
|
||||
}
|
||||
60
node_modules/beeper/index.js
generated
vendored
@@ -1,60 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
var BEEP_DELAY = 500;
|
||||
|
||||
function beep() {
|
||||
process.stdout.write('\u0007');
|
||||
}
|
||||
|
||||
function melodicalBeep(val, cb) {
|
||||
if (val.length === 0) {
|
||||
cb();
|
||||
return;
|
||||
}
|
||||
|
||||
setTimeout(function () {
|
||||
if (val.shift() === '*') {
|
||||
beep();
|
||||
}
|
||||
|
||||
melodicalBeep(val, cb);
|
||||
}, BEEP_DELAY);
|
||||
}
|
||||
|
||||
module.exports = function (val, cb) {
|
||||
if (!process.stdout.isTTY ||
|
||||
process.argv.indexOf('--no-beep') !== -1 ||
|
||||
process.argv.indexOf('--beep=false') !== -1) {
|
||||
return;
|
||||
}
|
||||
|
||||
cb = cb || function () {};
|
||||
|
||||
if (val === parseInt(val)) {
|
||||
if (val < 0) {
|
||||
throw new TypeError('Negative numbers are not accepted');
|
||||
}
|
||||
|
||||
if (val === 0) {
|
||||
cb();
|
||||
return;
|
||||
}
|
||||
|
||||
for (var i = 0; i < val; i++) {
|
||||
setTimeout(function (i) {
|
||||
beep();
|
||||
|
||||
if (i === val - 1) {
|
||||
cb();
|
||||
}
|
||||
}, BEEP_DELAY * i, i);
|
||||
}
|
||||
} else if (!val) {
|
||||
beep();
|
||||
cb();
|
||||
} else if (typeof val === 'string') {
|
||||
melodicalBeep(val.split(''), cb);
|
||||
} else {
|
||||
throw new TypeError('Not an accepted type');
|
||||
}
|
||||
};
|
||||
21
node_modules/beeper/license
generated
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
|
||||
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.
|
||||
70
node_modules/beeper/package.json
generated
vendored
@@ -1,70 +0,0 @@
|
||||
{
|
||||
"_from": "beeper@^1.0.0",
|
||||
"_id": "beeper@1.1.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-5tXqjF2tABMEpwsiY4RH9pyy+Ak=",
|
||||
"_location": "/beeper",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "beeper@^1.0.0",
|
||||
"name": "beeper",
|
||||
"escapedName": "beeper",
|
||||
"rawSpec": "^1.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gulp-util"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/beeper/-/beeper-1.1.1.tgz",
|
||||
"_shasum": "e6d5ea8c5dad001304a70b22638447f69cb2f809",
|
||||
"_spec": "beeper@^1.0.0",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/gulp-util",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/beeper/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Make your terminal beep",
|
||||
"devDependencies": {
|
||||
"hooker": "^0.2.3",
|
||||
"tape": "^4.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/sindresorhus/beeper#readme",
|
||||
"keywords": [
|
||||
"beep",
|
||||
"beeper",
|
||||
"boop",
|
||||
"terminal",
|
||||
"term",
|
||||
"cli",
|
||||
"console",
|
||||
"ding",
|
||||
"ping",
|
||||
"alert",
|
||||
"gulpfriendly"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "beeper",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/beeper.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test.js"
|
||||
},
|
||||
"version": "1.1.1"
|
||||
}
|
||||
55
node_modules/beeper/readme.md
generated
vendored
@@ -1,55 +0,0 @@
|
||||
# beeper [](https://travis-ci.org/sindresorhus/beeper)
|
||||
|
||||
> Make your terminal beep
|
||||
|
||||

|
||||
|
||||
Useful as an attention grabber e.g. when an error happens.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save beeper
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var beeper = require('beeper');
|
||||
|
||||
beeper();
|
||||
// beep one time
|
||||
|
||||
beeper(3);
|
||||
// beep three times
|
||||
|
||||
beeper('****-*-*');
|
||||
// beep, beep, beep, beep, pause, beep, pause, beep
|
||||
```
|
||||
|
||||
|
||||
## API
|
||||
|
||||
It will not beep if stdout is not TTY or if the user supplies the `--no-beep` flag.
|
||||
|
||||
### beeper([count|melody], [callback])
|
||||
|
||||
#### count
|
||||
|
||||
Type: `number`
|
||||
Default: `1`
|
||||
|
||||
How many times you want it to beep.
|
||||
|
||||
#### melody
|
||||
|
||||
Type: `string`
|
||||
|
||||
Construct your own melody by supplying a string of `*` for beep `-` for pause.
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
||||
123
node_modules/brace-expansion/README.md
generated
vendored
@@ -1,123 +0,0 @@
|
||||
# brace-expansion
|
||||
|
||||
[Brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html),
|
||||
as known from sh/bash, in JavaScript.
|
||||
|
||||
[](http://travis-ci.org/juliangruber/brace-expansion)
|
||||
[](https://www.npmjs.org/package/brace-expansion)
|
||||
[](https://greenkeeper.io/)
|
||||
|
||||
[](https://ci.testling.com/juliangruber/brace-expansion)
|
||||
|
||||
## Example
|
||||
|
||||
```js
|
||||
var expand = require('brace-expansion');
|
||||
|
||||
expand('file-{a,b,c}.jpg')
|
||||
// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']
|
||||
|
||||
expand('-v{,,}')
|
||||
// => ['-v', '-v', '-v']
|
||||
|
||||
expand('file{0..2}.jpg')
|
||||
// => ['file0.jpg', 'file1.jpg', 'file2.jpg']
|
||||
|
||||
expand('file-{a..c}.jpg')
|
||||
// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']
|
||||
|
||||
expand('file{2..0}.jpg')
|
||||
// => ['file2.jpg', 'file1.jpg', 'file0.jpg']
|
||||
|
||||
expand('file{0..4..2}.jpg')
|
||||
// => ['file0.jpg', 'file2.jpg', 'file4.jpg']
|
||||
|
||||
expand('file-{a..e..2}.jpg')
|
||||
// => ['file-a.jpg', 'file-c.jpg', 'file-e.jpg']
|
||||
|
||||
expand('file{00..10..5}.jpg')
|
||||
// => ['file00.jpg', 'file05.jpg', 'file10.jpg']
|
||||
|
||||
expand('{{A..C},{a..c}}')
|
||||
// => ['A', 'B', 'C', 'a', 'b', 'c']
|
||||
|
||||
expand('ppp{,config,oe{,conf}}')
|
||||
// => ['ppp', 'pppconfig', 'pppoe', 'pppoeconf']
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
```js
|
||||
var expand = require('brace-expansion');
|
||||
```
|
||||
|
||||
### var expanded = expand(str)
|
||||
|
||||
Return an array of all possible and valid expansions of `str`. If none are
|
||||
found, `[str]` is returned.
|
||||
|
||||
Valid expansions are:
|
||||
|
||||
```js
|
||||
/^(.*,)+(.+)?$/
|
||||
// {a,b,...}
|
||||
```
|
||||
|
||||
A comma seperated list of options, like `{a,b}` or `{a,{b,c}}` or `{,a,}`.
|
||||
|
||||
```js
|
||||
/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/
|
||||
// {x..y[..incr]}
|
||||
```
|
||||
|
||||
A numeric sequence from `x` to `y` inclusive, with optional increment.
|
||||
If `x` or `y` start with a leading `0`, all the numbers will be padded
|
||||
to have equal length. Negative numbers and backwards iteration work too.
|
||||
|
||||
```js
|
||||
/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/
|
||||
// {x..y[..incr]}
|
||||
```
|
||||
|
||||
An alphabetic sequence from `x` to `y` inclusive, with optional increment.
|
||||
`x` and `y` must be exactly one character, and if given, `incr` must be a
|
||||
number.
|
||||
|
||||
For compatibility reasons, the string `${` is not eligible for brace expansion.
|
||||
|
||||
## Installation
|
||||
|
||||
With [npm](https://npmjs.org) do:
|
||||
|
||||
```bash
|
||||
npm install brace-expansion
|
||||
```
|
||||
|
||||
## Contributors
|
||||
|
||||
- [Julian Gruber](https://github.com/juliangruber)
|
||||
- [Isaac Z. Schlueter](https://github.com/isaacs)
|
||||
|
||||
## License
|
||||
|
||||
(MIT)
|
||||
|
||||
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
|
||||
|
||||
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.
|
||||
201
node_modules/brace-expansion/index.js
generated
vendored
@@ -1,201 +0,0 @@
|
||||
var concatMap = require('concat-map');
|
||||
var balanced = require('balanced-match');
|
||||
|
||||
module.exports = expandTop;
|
||||
|
||||
var escSlash = '\0SLASH'+Math.random()+'\0';
|
||||
var escOpen = '\0OPEN'+Math.random()+'\0';
|
||||
var escClose = '\0CLOSE'+Math.random()+'\0';
|
||||
var escComma = '\0COMMA'+Math.random()+'\0';
|
||||
var escPeriod = '\0PERIOD'+Math.random()+'\0';
|
||||
|
||||
function numeric(str) {
|
||||
return parseInt(str, 10) == str
|
||||
? parseInt(str, 10)
|
||||
: str.charCodeAt(0);
|
||||
}
|
||||
|
||||
function escapeBraces(str) {
|
||||
return str.split('\\\\').join(escSlash)
|
||||
.split('\\{').join(escOpen)
|
||||
.split('\\}').join(escClose)
|
||||
.split('\\,').join(escComma)
|
||||
.split('\\.').join(escPeriod);
|
||||
}
|
||||
|
||||
function unescapeBraces(str) {
|
||||
return str.split(escSlash).join('\\')
|
||||
.split(escOpen).join('{')
|
||||
.split(escClose).join('}')
|
||||
.split(escComma).join(',')
|
||||
.split(escPeriod).join('.');
|
||||
}
|
||||
|
||||
|
||||
// Basically just str.split(","), but handling cases
|
||||
// where we have nested braced sections, which should be
|
||||
// treated as individual members, like {a,{b,c},d}
|
||||
function parseCommaParts(str) {
|
||||
if (!str)
|
||||
return [''];
|
||||
|
||||
var parts = [];
|
||||
var m = balanced('{', '}', str);
|
||||
|
||||
if (!m)
|
||||
return str.split(',');
|
||||
|
||||
var pre = m.pre;
|
||||
var body = m.body;
|
||||
var post = m.post;
|
||||
var p = pre.split(',');
|
||||
|
||||
p[p.length-1] += '{' + body + '}';
|
||||
var postParts = parseCommaParts(post);
|
||||
if (post.length) {
|
||||
p[p.length-1] += postParts.shift();
|
||||
p.push.apply(p, postParts);
|
||||
}
|
||||
|
||||
parts.push.apply(parts, p);
|
||||
|
||||
return parts;
|
||||
}
|
||||
|
||||
function expandTop(str) {
|
||||
if (!str)
|
||||
return [];
|
||||
|
||||
// I don't know why Bash 4.3 does this, but it does.
|
||||
// Anything starting with {} will have the first two bytes preserved
|
||||
// but *only* at the top level, so {},a}b will not expand to anything,
|
||||
// but a{},b}c will be expanded to [a}c,abc].
|
||||
// One could argue that this is a bug in Bash, but since the goal of
|
||||
// this module is to match Bash's rules, we escape a leading {}
|
||||
if (str.substr(0, 2) === '{}') {
|
||||
str = '\\{\\}' + str.substr(2);
|
||||
}
|
||||
|
||||
return expand(escapeBraces(str), true).map(unescapeBraces);
|
||||
}
|
||||
|
||||
function identity(e) {
|
||||
return e;
|
||||
}
|
||||
|
||||
function embrace(str) {
|
||||
return '{' + str + '}';
|
||||
}
|
||||
function isPadded(el) {
|
||||
return /^-?0\d/.test(el);
|
||||
}
|
||||
|
||||
function lte(i, y) {
|
||||
return i <= y;
|
||||
}
|
||||
function gte(i, y) {
|
||||
return i >= y;
|
||||
}
|
||||
|
||||
function expand(str, isTop) {
|
||||
var expansions = [];
|
||||
|
||||
var m = balanced('{', '}', str);
|
||||
if (!m || /\$$/.test(m.pre)) return [str];
|
||||
|
||||
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
||||
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
||||
var isSequence = isNumericSequence || isAlphaSequence;
|
||||
var isOptions = m.body.indexOf(',') >= 0;
|
||||
if (!isSequence && !isOptions) {
|
||||
// {a},b}
|
||||
if (m.post.match(/,.*\}/)) {
|
||||
str = m.pre + '{' + m.body + escClose + m.post;
|
||||
return expand(str);
|
||||
}
|
||||
return [str];
|
||||
}
|
||||
|
||||
var n;
|
||||
if (isSequence) {
|
||||
n = m.body.split(/\.\./);
|
||||
} else {
|
||||
n = parseCommaParts(m.body);
|
||||
if (n.length === 1) {
|
||||
// x{{a,b}}y ==> x{a}y x{b}y
|
||||
n = expand(n[0], false).map(embrace);
|
||||
if (n.length === 1) {
|
||||
var post = m.post.length
|
||||
? expand(m.post, false)
|
||||
: [''];
|
||||
return post.map(function(p) {
|
||||
return m.pre + n[0] + p;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// at this point, n is the parts, and we know it's not a comma set
|
||||
// with a single entry.
|
||||
|
||||
// no need to expand pre, since it is guaranteed to be free of brace-sets
|
||||
var pre = m.pre;
|
||||
var post = m.post.length
|
||||
? expand(m.post, false)
|
||||
: [''];
|
||||
|
||||
var N;
|
||||
|
||||
if (isSequence) {
|
||||
var x = numeric(n[0]);
|
||||
var y = numeric(n[1]);
|
||||
var width = Math.max(n[0].length, n[1].length)
|
||||
var incr = n.length == 3
|
||||
? Math.abs(numeric(n[2]))
|
||||
: 1;
|
||||
var test = lte;
|
||||
var reverse = y < x;
|
||||
if (reverse) {
|
||||
incr *= -1;
|
||||
test = gte;
|
||||
}
|
||||
var pad = n.some(isPadded);
|
||||
|
||||
N = [];
|
||||
|
||||
for (var i = x; test(i, y); i += incr) {
|
||||
var c;
|
||||
if (isAlphaSequence) {
|
||||
c = String.fromCharCode(i);
|
||||
if (c === '\\')
|
||||
c = '';
|
||||
} else {
|
||||
c = String(i);
|
||||
if (pad) {
|
||||
var need = width - c.length;
|
||||
if (need > 0) {
|
||||
var z = new Array(need + 1).join('0');
|
||||
if (i < 0)
|
||||
c = '-' + z + c.slice(1);
|
||||
else
|
||||
c = z + c;
|
||||
}
|
||||
}
|
||||
}
|
||||
N.push(c);
|
||||
}
|
||||
} else {
|
||||
N = concatMap(n, function(el) { return expand(el, false) });
|
||||
}
|
||||
|
||||
for (var j = 0; j < N.length; j++) {
|
||||
for (var k = 0; k < post.length; k++) {
|
||||
var expansion = pre + N[j] + post[k];
|
||||
if (!isTop || isSequence || expansion)
|
||||
expansions.push(expansion);
|
||||
}
|
||||
}
|
||||
|
||||
return expansions;
|
||||
}
|
||||
|
||||
75
node_modules/brace-expansion/package.json
generated
vendored
@@ -1,75 +0,0 @@
|
||||
{
|
||||
"_from": "brace-expansion@^1.0.0",
|
||||
"_id": "brace-expansion@1.1.8",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=",
|
||||
"_location": "/brace-expansion",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "brace-expansion@^1.0.0",
|
||||
"name": "brace-expansion",
|
||||
"escapedName": "brace-expansion",
|
||||
"rawSpec": "^1.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/minimatch"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz",
|
||||
"_shasum": "c07b211c7c952ec1f8efd51a77ef0d1d3990a292",
|
||||
"_spec": "brace-expansion@^1.0.0",
|
||||
"_where": "/Users/nina/Documents/Projects/saburly-website2/node_modules/minimatch",
|
||||
"author": {
|
||||
"name": "Julian Gruber",
|
||||
"email": "mail@juliangruber.com",
|
||||
"url": "http://juliangruber.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/juliangruber/brace-expansion/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"balanced-match": "^1.0.0",
|
||||
"concat-map": "0.0.1"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Brace expansion as known from sh/bash",
|
||||
"devDependencies": {
|
||||
"matcha": "^0.7.0",
|
||||
"tape": "^4.6.0"
|
||||
},
|
||||
"homepage": "https://github.com/juliangruber/brace-expansion",
|
||||
"keywords": [],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "brace-expansion",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/juliangruber/brace-expansion.git"
|
||||
},
|
||||
"scripts": {
|
||||
"bench": "matcha test/perf/bench.js",
|
||||
"gentest": "bash test/generate.sh",
|
||||
"test": "tape test/*.js"
|
||||
},
|
||||
"testling": {
|
||||
"files": "test/*.js",
|
||||
"browsers": [
|
||||
"ie/8..latest",
|
||||
"firefox/20..latest",
|
||||
"firefox/nightly",
|
||||
"chrome/25..latest",
|
||||
"chrome/canary",
|
||||
"opera/12..latest",
|
||||
"opera/next",
|
||||
"safari/5.1..latest",
|
||||
"ipad/6.0..latest",
|
||||
"iphone/6.0..latest",
|
||||
"android-browser/4.2..latest"
|
||||
]
|
||||
},
|
||||
"version": "1.1.8"
|
||||
}
|
||||