├── docs ├── img │ └── .gitkeep ├── favicon.ico ├── fonts │ ├── megrim.woff │ └── foundation-icons │ │ ├── .DS_Store │ │ ├── foundation-icons.eot │ │ ├── foundation-icons.ttf │ │ ├── foundation-icons.woff │ │ └── svgs │ │ ├── fi-social-delicious.svg │ │ ├── fi-minus.svg │ │ ├── fi-social-adobe.svg │ │ ├── fi-contrast.svg │ │ ├── fi-braille.svg │ │ ├── fi-social-drive.svg │ │ ├── fi-home.svg │ │ ├── fi-shield.svg │ │ ├── fi-social-windows.svg │ │ ├── fi-comment.svg │ │ ├── fi-folder.svg │ │ ├── fi-page.svg │ │ ├── fi-social-hacker-news.svg │ │ ├── fi-play.svg │ │ ├── fi-social-forrst.svg │ │ ├── fi-record.svg │ │ ├── fi-cloud.svg │ │ ├── fi-die-one.svg │ │ ├── fi-pencil.svg │ │ ├── fi-battery-empty.svg │ │ ├── fi-italic.svg │ │ ├── fi-social-facebook.svg │ │ ├── fi-bookmark.svg │ │ ├── fi-mobile.svg │ │ ├── fi-shopping-bag.svg │ │ ├── fi-stop.svg │ │ ├── fi-heart.svg │ │ ├── fi-arrow-down.svg │ │ ├── fi-arrow-left.svg │ │ ├── fi-arrow-up.svg │ │ ├── fi-music.svg │ │ ├── fi-play-video.svg │ │ ├── fi-arrow-right.svg │ │ ├── fi-check.svg │ │ ├── fi-css3.svg │ │ ├── fi-social-flickr.svg │ │ ├── fi-html5.svg │ │ ├── fi-monitor.svg │ │ ├── fi-battery-full.svg │ │ ├── fi-prohibited.svg │ │ ├── fi-battery-half.svg │ │ ├── fi-social-dropbox.svg │ │ ├── fi-bold.svg │ │ ├── fi-social-path.svg │ │ ├── fi-lock.svg │ │ ├── fi-rewind.svg │ │ ├── fi-credit-card.svg │ │ ├── fi-fast-forward.svg │ │ ├── fi-background-color.svg │ │ ├── fi-info.svg │ │ ├── fi-mountains.svg │ │ ├── fi-page-filled.svg │ │ ├── fi-tablet-landscape.svg │ │ ├── fi-tablet-portrait.svg │ │ ├── fi-star.svg │ │ ├── fi-magnifying-glass.svg │ │ ├── fi-torso.svg │ │ ├── fi-trash.svg │ │ ├── fi-plus.svg │ │ ├── fi-comment-video.svg │ │ ├── fi-marker.svg │ │ ├── fi-social-medium.svg │ │ ├── fi-filter.svg │ │ ├── fi-social-orkut.svg │ │ ├── fi-die-two.svg │ │ ├── fi-minus-circle.svg │ │ ├── fi-page-copy.svg │ │ ├── fi-camera.svg │ │ ├── fi-print.svg │ │ ├── fi-flag.svg │ │ ├── fi-social-linkedin.svg │ │ ├── fi-social-rdio.svg │ │ ├── fi-layout.svg │ │ ├── fi-social-zurb.svg │ │ ├── fi-foot.svg │ │ ├── fi-share.svg │ │ ├── fi-page-multiple.svg │ │ ├── fi-social-bing.svg │ │ ├── fi-safety-cone.svg │ │ ├── fi-comments.svg │ │ ├── fi-projection-screen.svg │ │ ├── fi-comment-minus.svg │ │ ├── fi-eye.svg │ │ ├── fi-social-tumblr.svg │ │ ├── fi-target.svg │ │ ├── fi-annotate.svg │ │ ├── fi-compass.svg │ │ ├── fi-graph-horizontal.svg │ │ ├── fi-crop.svg │ │ ├── fi-play-circle.svg │ │ ├── fi-photo.svg │ │ ├── fi-refresh.svg │ │ ├── fi-die-three.svg │ │ ├── fi-eject.svg │ │ ├── fi-download.svg │ │ ├── fi-laptop.svg │ │ ├── fi-male-symbol.svg │ │ ├── fi-telephone.svg │ │ ├── fi-list-bullet.svg │ │ ├── fi-social-apple.svg │ │ ├── fi-graph-pie.svg │ │ ├── fi-clock.svg │ │ ├── fi-social-twitter.svg │ │ ├── fi-social-xbox.svg │ │ ├── fi-page-remove.svg │ │ ├── fi-pause.svg │ │ ├── fi-previous.svg │ │ ├── fi-align-justify.svg │ │ ├── fi-shopping-cart.svg │ │ ├── fi-next.svg │ │ ├── fi-text-color.svg │ │ ├── fi-folder-lock.svg │ │ ├── fi-paw.svg │ │ ├── fi-price-tag.svg │ │ ├── fi-social-lastfm.svg │ │ ├── fi-address-book.svg │ │ ├── fi-checkbox.svg │ │ ├── fi-torso-female.svg │ │ ├── fi-folder-add.svg │ │ ├── fi-align-center.svg │ │ ├── fi-align-left.svg │ │ ├── fi-list.svg │ │ ├── fi-die-four.svg │ │ ├── fi-graph-bar.svg │ │ ├── fi-align-right.svg │ │ ├── fi-microphone.svg │ │ ├── fi-social-stumbleupon.svg │ │ ├── fi-female-symbol.svg │ │ ├── fi-male.svg │ │ ├── fi-clipboard.svg │ │ ├── fi-graph-trend.svg │ │ ├── fi-key.svg │ │ ├── fi-alert.svg │ │ ├── fi-paint-bucket.svg │ │ ├── fi-social-pinterest.svg │ │ ├── fi-book.svg │ │ ├── fi-page-add.svg │ │ ├── fi-torsos.svg │ │ ├── fi-arrows-expand.svg │ │ ├── fi-page-pdf.svg │ │ ├── fi-social-zerply.svg │ │ ├── fi-arrows-compress.svg │ │ ├── fi-page-export.svg │ │ ├── fi-target-two.svg │ │ ├── fi-page-edit.svg │ │ ├── fi-social-picasa.svg │ │ ├── fi-social-stack-overflow.svg │ │ ├── fi-paperclip.svg │ │ ├── fi-social-github.svg │ │ ├── fi-page-search.svg │ │ ├── fi-social-blogger.svg │ │ ├── fi-dislike.svg │ │ ├── fi-book-bookmark.svg │ │ ├── fi-die-five.svg │ │ ├── fi-save.svg │ │ ├── fi-page-delete.svg │ │ └── fi-social-foursquare.svg └── js │ ├── foundation │ ├── foundation.alert.js │ ├── foundation.offcanvas.js │ ├── foundation.accordion.js │ └── foundation.tab.js │ └── vendor │ └── jquery.cookie.js ├── .gitignore ├── test ├── browser.js └── browser.html ├── lib ├── isFunction.js ├── nil.js ├── global.js ├── readableProxy.js ├── intMap.js └── queue.js ├── .travis.yml ├── bench └── index.html ├── bower.json └── package.json /docs/img/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | /node_modules 3 | /.grunt 4 | test/bundle.js 5 | *.swp 6 | -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clear/highland/master/docs/favicon.ico -------------------------------------------------------------------------------- /docs/fonts/megrim.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clear/highland/master/docs/fonts/megrim.woff -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clear/highland/master/docs/fonts/foundation-icons/.DS_Store -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/foundation-icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clear/highland/master/docs/fonts/foundation-icons/foundation-icons.eot -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/foundation-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clear/highland/master/docs/fonts/foundation-icons/foundation-icons.ttf -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/foundation-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clear/highland/master/docs/fonts/foundation-icons/foundation-icons.woff -------------------------------------------------------------------------------- /test/browser.js: -------------------------------------------------------------------------------- 1 | // Browser reporter expects global nodeunit 2 | global.nodeunit = require('nodeunit'); 3 | var run = require('nodeunit/lib/reporters/browser').run; 4 | 5 | var tests = { 6 | 'highland': require('./test.js') 7 | }; 8 | 9 | run(tests); 10 | -------------------------------------------------------------------------------- /lib/isFunction.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Predicate function takes a value and returns true if it is a function. 3 | * 4 | * @id isFunction 5 | * @name isFunction(x) 6 | * @param {any} x - Any value to test against 7 | * @returns {bool} True if x is a function 8 | */ 9 | 10 | function isFunction (x) { 11 | return typeof x === 'function'; 12 | } 13 | 14 | module.exports = isFunction; 15 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "6" 5 | - "8" 6 | - "9" 7 | - "10" 8 | - "11" 9 | sudo: false 10 | env: 11 | - CXX=g++-4.8 12 | addons: 13 | apt: 14 | sources: 15 | - ubuntu-toolchain-r-test 16 | packages: 17 | - g++-4.8 18 | script: 19 | - | 20 | if [[ "${TRAVIS_NODE_VERSION}" == "0.10" ]]; then 21 | npm run test-0.10 22 | else 23 | npm test 24 | fi 25 | -------------------------------------------------------------------------------- /bench/index.html: -------------------------------------------------------------------------------- 1 | 2 | 22 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "highland", 3 | "homepage": "https://github.com/caolan/highland", 4 | "authors": [ 5 | "Caolan McMahon" 6 | ], 7 | "description": "The high-level streams library.", 8 | "main": "dist/highland.js", 9 | "keywords": [ 10 | "streams", 11 | "async", 12 | "events", 13 | "pipe" 14 | ], 15 | "license": "Apache 2.0", 16 | "ignore": [ 17 | "**/.*", 18 | "Contributing.md", 19 | "Gruntfile.js", 20 | "bench", 21 | "docs", 22 | "node_modules", 23 | "bower_components", 24 | "tasks", 25 | "test.js", 26 | "test" 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /test/browser.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Highland Browser Tests 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 17 | 18 |
19 | 20 | -------------------------------------------------------------------------------- /lib/nil.js: -------------------------------------------------------------------------------- 1 | var _global = require('./global'); 2 | 3 | /* 4 | * Resolve nil value from global namespace if it exists. This may happen when 5 | * there are multiple versions of highland (like npm). 6 | * 7 | * nil is only equal to itself: 8 | * 9 | * nil === {} => false 10 | * nil === nil => true 11 | * 12 | * This property makes it valuable for determining a lack of input from a 13 | * falsey value such as nil or undefined. When a highland stream encounters 14 | * nil it knows for sure the intention is to end the stream. 15 | */ 16 | 17 | if (!_global.nil) { 18 | _global.nil = {}; 19 | } 20 | 21 | module.exports = _global.nil; 22 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-delicious.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /lib/global.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Return a global context upon which to install Highland globals. Takes a 3 | * default namespace to use if both the node global and browser window 4 | * namespace cannot be found. 5 | * 6 | * @returns {object} Global namespace context 7 | */ 8 | 9 | // Use the nodejs global namespace 10 | if (typeof global !== 'undefined') { 11 | module.exports = global; 12 | } 13 | // Use the browser window namespace 14 | else if (typeof window !== 'undefined') { 15 | module.exports = window; 16 | } 17 | // If neither the global namespace or browser namespace is avaiable 18 | // Use this module as the default context 19 | else { 20 | module.exports = this; 21 | } 22 | 23 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-minus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 9 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-adobe.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-contrast.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-braille.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-drive.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-home.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-shield.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-windows.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-comment.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-folder.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-page.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-hacker-news.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-play.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-forrst.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-record.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-cloud.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-die-one.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-pencil.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-battery-empty.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-italic.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-facebook.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-bookmark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-mobile.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-shopping-bag.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-stop.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-heart.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-arrow-down.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-arrow-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-arrow-up.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-music.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-play-video.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-arrow-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-check.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 10 | 11 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-css3.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-flickr.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-html5.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-monitor.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-battery-full.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-prohibited.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-battery-half.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-dropbox.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-bold.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-path.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-lock.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-rewind.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/js/foundation/foundation.alert.js: -------------------------------------------------------------------------------- 1 | ;(function ($, window, document, undefined) { 2 | 'use strict'; 3 | 4 | Foundation.libs.alert = { 5 | name : 'alert', 6 | 7 | version : '5.0.3', 8 | 9 | settings : { 10 | animation: 'fadeOut', 11 | speed: 300, // fade out speed 12 | callback: function (){} 13 | }, 14 | 15 | init : function (scope, method, options) { 16 | this.bindings(method, options); 17 | }, 18 | 19 | events : function () { 20 | $(this.scope).off('.alert').on('click.fndtn.alert', '[data-alert] a.close', function (e) { 21 | var alertBox = $(this).closest("[data-alert]"), 22 | settings = alertBox.data('alert-init') || Foundation.libs.alert.settings; 23 | 24 | e.preventDefault(); 25 | alertBox[settings.animation](settings.speed, function () { 26 | $(this).trigger('closed').remove(); 27 | settings.callback(); 28 | }); 29 | }); 30 | }, 31 | 32 | reflow : function () {} 33 | }; 34 | }(jQuery, this, this.document)); 35 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-credit-card.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-fast-forward.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-background-color.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-info.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-mountains.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-page-filled.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-tablet-landscape.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-tablet-portrait.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-star.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /lib/readableProxy.js: -------------------------------------------------------------------------------- 1 | var inherits = require('util').inherits; 2 | var Readable = require('stream').Readable; 3 | 4 | function ReadableProxy(stream, options, nil) { 5 | Readable.call(this, options); 6 | 7 | this._source = stream; 8 | this._is_reading = false; 9 | this._nil = nil; 10 | } 11 | 12 | inherits(ReadableProxy, Readable); 13 | 14 | ReadableProxy.prototype._readOnce = function () { 15 | if (this._is_reading) { 16 | return; 17 | } 18 | 19 | var self = this; 20 | 21 | self._is_reading = true; 22 | self._source.pull(function (err, x) { 23 | self._is_reading = false; 24 | if (err) { 25 | self.emit('error', err); 26 | self._readOnce(); 27 | } 28 | else if (x === self._nil) { 29 | self.push(null); 30 | } 31 | else { 32 | if (self.push(x)) { 33 | self._readOnce(); 34 | } 35 | } 36 | }); 37 | }; 38 | 39 | ReadableProxy.prototype._read = function (ignore) { 40 | this._readOnce(); 41 | }; 42 | 43 | module.exports = ReadableProxy; 44 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-magnifying-glass.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-torso.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-trash.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-plus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-comment-video.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-marker.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-medium.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-filter.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-orkut.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-die-two.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-minus-circle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 10 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-page-copy.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 11 | 12 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-camera.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-print.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-flag.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-linkedin.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-rdio.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 12 | 13 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-layout.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-zurb.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-foot.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-share.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-page-multiple.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 11 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-bing.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-safety-cone.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-comments.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /lib/intMap.js: -------------------------------------------------------------------------------- 1 | var hasOwn = Object.prototype.hasOwnProperty; 2 | 3 | /** 4 | * A very simple polyfill for Map with limited functionality 5 | * that only works for integer keys. 6 | */ 7 | function IntMap() { 8 | this.map = {}; 9 | this.size = 0; 10 | } 11 | 12 | IntMap.prototype.set = function set(key, value) { 13 | if (this.has(key)) { 14 | this.map[key] = value; 15 | } 16 | else { 17 | this.map[key] = value; 18 | this.size++; 19 | } 20 | return this; 21 | }; 22 | 23 | IntMap.prototype.get = function get(key) { 24 | return this.map[key]; 25 | }; 26 | 27 | IntMap.prototype.delete = function intMapDelete(key) { 28 | var deleted = this.has(key); 29 | if (deleted) { 30 | delete this.map[key]; 31 | this.size--; 32 | } 33 | return deleted; 34 | }; 35 | 36 | IntMap.prototype.has = function has(key) { 37 | return hasOwn.call(this.map, key); 38 | }; 39 | 40 | IntMap.prototype.forEach = function forEach(f, thisArg) { 41 | for (var key in this.map) { 42 | f.call(thisArg, this.map[key], key, this); 43 | } 44 | }; 45 | 46 | if (global.Map === void 0) { 47 | module.exports = IntMap; 48 | } 49 | else { 50 | module.exports = global.Map; 51 | } 52 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-projection-screen.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-comment-minus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 12 | 13 | 14 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-eye.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-tumblr.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-target.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-annotate.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-compass.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-graph-horizontal.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 10 | 11 | 12 | 14 | 15 | 16 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-crop.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-play-circle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-photo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-refresh.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 13 | 14 | -------------------------------------------------------------------------------- /docs/js/foundation/foundation.offcanvas.js: -------------------------------------------------------------------------------- 1 | ;(function ($, window, document, undefined) { 2 | 'use strict'; 3 | 4 | Foundation.libs.offcanvas = { 5 | name : 'offcanvas', 6 | 7 | version : '5.0.3', 8 | 9 | settings : {}, 10 | 11 | init : function (scope, method, options) { 12 | this.events(); 13 | }, 14 | 15 | events : function () { 16 | $(this.scope).off('.offcanvas') 17 | .on('click.fndtn.offcanvas', '.left-off-canvas-toggle', function (e) { 18 | e.preventDefault(); 19 | $(this).closest('.off-canvas-wrap').toggleClass('move-right'); 20 | }) 21 | .on('click.fndtn.offcanvas', '.exit-off-canvas', function (e) { 22 | e.preventDefault(); 23 | $(".off-canvas-wrap").removeClass("move-right"); 24 | }) 25 | .on('click.fndtn.offcanvas', '.right-off-canvas-toggle', function (e) { 26 | e.preventDefault(); 27 | $(this).closest(".off-canvas-wrap").toggleClass("move-left"); 28 | }) 29 | .on('click.fndtn.offcanvas', '.exit-off-canvas', function (e) { 30 | e.preventDefault(); 31 | $(".off-canvas-wrap").removeClass("move-left"); 32 | }); 33 | }, 34 | 35 | reflow : function () {} 36 | }; 37 | }(jQuery, this, this.document)); 38 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-die-three.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-eject.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-download.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-laptop.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-male-symbol.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-telephone.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-list-bullet.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 11 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-apple.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-graph-pie.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 11 | 12 | 13 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-clock.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 11 | 12 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/js/foundation/foundation.accordion.js: -------------------------------------------------------------------------------- 1 | ;(function ($, window, document, undefined) { 2 | 'use strict'; 3 | 4 | Foundation.libs.accordion = { 5 | name : 'accordion', 6 | 7 | version : '5.0.3', 8 | 9 | settings : { 10 | active_class: 'active', 11 | toggleable: true 12 | }, 13 | 14 | init : function (scope, method, options) { 15 | this.bindings(method, options); 16 | }, 17 | 18 | events : function () { 19 | $(this.scope).off('.accordion').on('click.fndtn.accordion', '[data-accordion] > dd > a', function (e) { 20 | var accordion = $(this).parent(), 21 | target = $('#' + this.href.split('#')[1]), 22 | siblings = $('> dd > .content', target.closest('[data-accordion]')), 23 | settings = accordion.parent().data('accordion-init'), 24 | active = $('> dd > .content.' + settings.active_class, accordion.parent()); 25 | 26 | e.preventDefault(); 27 | 28 | if (active[0] == target[0] && settings.toggleable) { 29 | return target.toggleClass(settings.active_class); 30 | } 31 | 32 | siblings.removeClass(settings.active_class); 33 | target.addClass(settings.active_class); 34 | }); 35 | }, 36 | 37 | off : function () {}, 38 | 39 | reflow : function () {} 40 | }; 41 | }(jQuery, this, this.document)); 42 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-twitter.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 14 | 15 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-xbox.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 11 | 13 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-page-remove.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 13 | 14 | 15 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-pause.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-previous.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-align-justify.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 11 | 13 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-shopping-cart.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /lib/queue.js: -------------------------------------------------------------------------------- 1 | function Queue() { 2 | this._in = []; 3 | this._out = []; 4 | this.length = 0; 5 | } 6 | 7 | /* 8 | * Enqueue all elements of a list in order. Equivalent to 9 | * list.forEach(queue.enqueue.bind(queue)); 10 | */ 11 | Queue.prototype.enqueueAll = function enqueueList(list) { 12 | this._in = this._in.concat(list); 13 | this.length += list.length; 14 | }; 15 | 16 | Queue.prototype.enqueue = function enqueue(item) { 17 | this._in.push(item); 18 | this.length++; 19 | }; 20 | 21 | Queue.prototype.dequeue = function dequeue() { 22 | if (this._out.length) { 23 | this.length--; 24 | return this._out.pop(); 25 | } 26 | else if (this._in.length) { 27 | this._out = this._in.reverse(); 28 | this._in = []; 29 | this.length--; 30 | return this._out.pop(); 31 | } 32 | else { 33 | return undefined; 34 | } 35 | }; 36 | 37 | Queue.prototype.clear = function clear() { 38 | this._out = []; 39 | this._in = []; 40 | this.length = 0; 41 | }; 42 | 43 | Queue.prototype.toArray = function toArray() { 44 | var res = []; 45 | res = res.concat(this._out); 46 | res.reverse(); 47 | res = res.concat(this._in); 48 | return res; 49 | }; 50 | 51 | Queue.prototype.toString = function toString() { 52 | return this.toArray().toString(); 53 | }; 54 | 55 | module.exports = Queue; 56 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-next.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-text-color.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/js/vendor/jquery.cookie.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery Cookie Plugin v1.4.0 3 | * https://github.com/carhartl/jquery-cookie 4 | * 5 | * Copyright 2013 Klaus Hartl 6 | * Released under the MIT license 7 | */ 8 | !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{a=decodeURIComponent(a.replace(g," "))}catch(b){return}try{return h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setDate(k.getDate()+j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0!==a.cookie(b)?(a.cookie(b,"",a.extend({},c,{expires:-1})),!0):!1}}); 9 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-folder-lock.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-paw.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 11 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-price-tag.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-lastfm.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-address-book.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 14 | 15 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-checkbox.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 12 | 13 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-torso-female.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-folder-add.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-align-center.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 11 | 13 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-align-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 11 | 13 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-list.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 10 | 13 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-die-four.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-graph-bar.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 10 | 11 | 12 | 14 | 15 | 16 | 18 | 19 | 20 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-align-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 11 | 14 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-microphone.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-stumbleupon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-female-symbol.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-male.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-clipboard.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-graph-trend.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-key.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-alert.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-paint-bucket.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-pinterest.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-book.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-page-add.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 13 | 14 | 15 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-torsos.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-arrows-expand.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 12 | 13 | 14 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-page-pdf.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 11 | 13 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-zerply.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 15 | 16 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-arrows-compress.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 12 | 13 | 14 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-page-export.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-target-two.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/js/foundation/foundation.tab.js: -------------------------------------------------------------------------------- 1 | /*jslint unparam: true, browser: true, indent: 2 */ 2 | ;(function ($, window, document, undefined) { 3 | 'use strict'; 4 | 5 | Foundation.libs.tab = { 6 | name : 'tab', 7 | 8 | version : '5.0.3', 9 | 10 | settings : { 11 | active_class: 'active', 12 | callback : function () {} 13 | }, 14 | 15 | init : function (scope, method, options) { 16 | this.bindings(method, options); 17 | }, 18 | 19 | events : function () { 20 | $(this.scope).off('.tab').on('click.fndtn.tab', '[data-tab] > dd > a', function (e) { 21 | e.preventDefault(); 22 | 23 | var tab = $(this).parent(), 24 | tabs = tab.closest('[data-tab]'), 25 | target = $('#' + this.href.split('#')[1]), 26 | siblings = tab.siblings(), 27 | settings = tabs.data('tab-init'); 28 | 29 | // allow usage of data-tab-content attribute instead of href 30 | if ($(this).data('tab-content')) { 31 | target = $('#' + $(this).data('tab-content').split('#')[1]); 32 | } 33 | 34 | tab.addClass(settings.active_class).trigger('opened'); 35 | siblings.removeClass(settings.active_class); 36 | target.siblings().removeClass(settings.active_class).end().addClass(settings.active_class); 37 | settings.callback(tab); 38 | tabs.trigger('toggled', [tab]); 39 | }); 40 | }, 41 | 42 | off : function () {}, 43 | 44 | reflow : function () {} 45 | }; 46 | }(jQuery, this, this.document)); 47 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-page-edit.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 13 | 14 | 15 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-picasa.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 11 | 13 | 15 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "highland", 3 | "version": "3.0.0-beta.10", 4 | "description": "The high-level streams library", 5 | "main": "lib/index.js", 6 | "files": [ 7 | "dist", 8 | "lib" 9 | ], 10 | "homepage": "https://caolan.github.io/highland/", 11 | "bugs": "https://github.com/caolan/highland/issues", 12 | "repository": { 13 | "type": "git", 14 | "url": "https://github.com/caolan/highland.git" 15 | }, 16 | "license": "Apache-2.0", 17 | "devDependencies": { 18 | "bluebird": "^3.3.5", 19 | "browserify": "^16.2.3", 20 | "browserify-shim": "^3.8.11", 21 | "buffer-from": "^1.1.1", 22 | "concat-stream": "~1.6.0", 23 | "eslint": "^3.19.0", 24 | "fantasy-land": "^3.5.0", 25 | "grunt": "^1.0.4", 26 | "grunt-browserify": "^5.3.0", 27 | "grunt-bump": "0.8.0", 28 | "grunt-contrib-nodeunit": "^2.0.0", 29 | "grunt-contrib-uglify": "^3.0.0", 30 | "grunt-contrib-watch": "^1.1.0", 31 | "grunt-eslint": "^18.0.0", 32 | "grunt-gh-pages": "^3.1.0", 33 | "grunt-npm": "0.0.2", 34 | "handlebars": "^4.1.2", 35 | "nodeunit": "0.11.2", 36 | "orchestrator": "^0.3.7", 37 | "rsvp": "~3.5.0", 38 | "scrawl": "0.0.5", 39 | "showdown": "^1.6.4", 40 | "sinon": "~2.3.0", 41 | "stream-array": "~1.1.2", 42 | "transducers-js": "~0.4.174", 43 | "uglify-js": "^3.0.5" 44 | }, 45 | "scripts": { 46 | "test": "eslint Gruntfile.js lib test/test.js && npm run nodeunit", 47 | "test-0.10": "npm run nodeunit", 48 | "nodeunit": "nodeunit test/test.js" 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-stack-overflow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-paperclip.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-github.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-page-search.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-blogger.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 12 | 14 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-dislike.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 13 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-book-bookmark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-die-five.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-save.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-page-delete.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 13 | 14 | 15 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /docs/fonts/foundation-icons/svgs/fi-social-foursquare.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 16 | 17 | 18 | --------------------------------------------------------------------------------