Comparing version 6.4.0 to 6.4.1
@@ -0,0 +0,0 @@ #!/usr/bin/env node |
{ | ||
"name": "glslify", | ||
"version": "6.4.0", | ||
"version": "6.4.1", | ||
"description": "A node.js-style module system for GLSL!", | ||
@@ -11,5 +11,5 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "npm run test-node && npm run test-electron", | ||
"test-node": "node test | tap-spec", | ||
"test-electron": "test/electron.sh" | ||
"test": "npm run test:node", | ||
"test:node": "node test", | ||
"test:electron": "test/electron.sh" | ||
}, | ||
@@ -16,0 +16,0 @@ "authors": [ |
# glslify [![stability][0]][1] | ||
[![npm version][2]][3] [![downloads][4]][5] | ||
[![npm version][2]][3] [![downloads][4]][5] [![travis][6]][7] | ||
@@ -551,1 +551,3 @@ A node.js-style module system for GLSL! | ||
[5]: https://npmjs.org/package/glslify | ||
[6]: http://img.shields.io/travis/glslify/glslify.svg?style=flat-square | ||
[7]: https://travis-ci.org/glslify/glslify |
@@ -36,12 +36,2 @@ var falafel = require('falafel') | ||
;[] | ||
.concat(opts.post || []) | ||
.concat(opts.p || []) | ||
.forEach(function (post) { | ||
post = Array.isArray(post) ? post : [post] | ||
var name = post[0] | ||
var opts = post[1] || {} | ||
posts.push({ name: name, opts: opts }) | ||
}) | ||
function evaluate (expr) { | ||
@@ -62,2 +52,12 @@ return seval(expr, evars) | ||
;[] | ||
.concat(opts.post || []) | ||
.concat(opts.p || []) | ||
.forEach(function (post) { | ||
post = Array.isArray(post) ? post : [post] | ||
var name = post[0] | ||
var opts = post[1] || {} | ||
posts.push({ name: name, opts: opts, base: process.cwd() }) | ||
}) | ||
try { var fout = falafel(src, parseOptions, onnode) } | ||
@@ -64,0 +64,0 @@ catch (err) { return d.emit('error', err) } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37277
553