This file contains 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
module.exports = { | |
paths: { | |
watched: ['resources'] | |
}, | |
files: { | |
javascripts: { joinTo: { | |
'scripts/app.js': /^resources/, | |
'scripts/vendor.js': /^node_modules/ | |
} }, | |
stylesheets: { joinTo: { |
This file contains 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
// Micro utility to execute a function when all globals are present | |
var waitForGlobal = function(params) { | |
var pathExists = function( arr, obj ) { | |
var target = obj[ arr.shift() ]; | |
var exists = target !== undefined; | |
return arr.length == 0 ? exists : exists && pathExists(arr, target); | |
}; | |
var predicate = function() { | |
return params.globals.every(function(path) { |
This file contains 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
/** | |
* Last updated to work with version 0.60 | |
* Library Repo: https://github.com/oframe/ogl | |
* Definitions extracted from https://github.com/nshen/ogl-typescript/ | |
* | |
*/ | |
declare module 'ogl/src/math/functions/ColorFunc' { | |
const NAMES: { | |
black: string; |
OlderNewer