This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| audiolib.js | |
| Jussi Kalliokoski | |
| https://github.com/jussi-kalliokoski/audiolib.js | |
| MIT license | |
| */ | |
| /* | |
| wrapper-start.js | |
| Please note that the file is not of valid syntax when standalone. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| function CustomEvent ( event, params ) { | |
| params = params || { bubbles: false, cancelable: false, detail: undefined }; | |
| var evt = document.createEvent( 'CustomEvent' ); | |
| evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail ); | |
| return evt; | |
| }; | |
| CustomEvent.prototype = window.Event.prototype; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (!Array.prototype.forEach) | |
| { | |
| Array.prototype.forEach = function(fun /*, thisArg */) | |
| { | |
| "use strict"; | |
| if (this === void 0 || this === null) | |
| throw new TypeError(); | |
| var t = Object(this); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT p.ID, | |
| p.post_title, | |
| p.post_date, | |
| p.post_excerpt, | |
| p.post_content, | |
| MAX(CASE WHEN pm.meta_key = '_aioseop_description' then pm.meta_value ELSE NULL END) as meta_description, | |
| MAX(CASE WHEN pm.meta_key = '_aioseop_title' then pm.meta_value ELSE NULL END) as meta_title | |
| FROM wp_posts p LEFT JOIN wp_postmeta pm ON ( pm.post_id = p.ID) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * DS Pad | |
| * ------ | |
| */ | |
| function Synth() { | |
| var _this = this; | |
| this.$stage = $('#pad'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Mixing Desk | |
| * ----------- | |
| */ | |
| function Desk(band) { | |
| var _this = this; | |
| this.band = arguments; | |
| this.path = 'audio/'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var // slides are direct descendants of $featured | |
| $featured = $('.holder'), | |
| featuredExists = !!$featured, | |
| featuredTimer = null, | |
| // animation options | |
| featuredOpts = { | |
| delay: 1000, // initial delay before first slide fades in | |
| interval: 4000, // time between slide animation | |
| fade: 500 // fade duration fadeing out and in | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require(["jquery"], function($) { | |
| // grab and instantiate page modules | |
| if($('body').attr('data-js')) { | |
| var htmlData = $('body').attr('data-js').split(" "), deps = [], params = [], i; | |
| for(i = 0; i < htmlData.length; i++) { | |
| // remove prefix |